Respuesta :
Answer:
There is enough evidence to support the claim of the manufacturers that non-hybrid sedan cars have a lower mean miles-per-gallon (mpg) than hybrid ones.
Step-by-step explanation:
This is a hypothesis test for the difference between populations means.
The claim is that non-hybrid sedan cars have a lower mean miles-per-gallon (mpg) than hybrid ones.
Then, the null and alternative hypothesis are:
[tex]H_0: \mu_1-\mu_2=0\\\\H_a:\mu_1-\mu_2> 0[/tex]
The significance level is 0.05.
The sample 1 (hybrid), of size n1=21 has a mean of 32 and a standard deviation of 6.
The sample 2 (non-hybrid), of size n2=31 has a mean of 21 and a standard deviation of 3.
The difference between sample means is Md=11.
[tex]M_d=M_1-M_2=32-21=11[/tex]
The estimated standard error of the difference between means is computed using the formula:
[tex]s_{M_d}=\sqrt{\dfrac{\sigma_1^2}{n_1}+\dfrac{\sigma_2^2}{n_2}}=\sqrt{\dfrac{6^2}{21}+\dfrac{3^2}{31}}\\\\\\s_{M_d}=\sqrt{1.714+0.29}=\sqrt{2.005}=1.4158[/tex]
Then, we can calculate the t-statistic as:
[tex]t=\dfrac{M_d-(\mu_1-\mu_2)}{s_{M_d}}=\dfrac{11-0}{1.4158}=\dfrac{11}{1.4158}=7.77[/tex]
The degrees of freedom for this test are:
[tex]df=n_1+n_2-2=21+31-2=50[/tex]
This test is a right-tailed test, with 50 degrees of freedom and t=7.77, so the P-value for this test is calculated as (using a t-table):
[tex]\text{P-value}=P(t>7.77)=0.0000000002[/tex]
As the P-value is smaller than the significance level (0.05), the effect is significant.
The null hypothesis is rejected.
There is enough evidence to support the claim that non-hybrid sedan cars have a lower mean miles-per-gallon (mpg) than hybrid ones.
