A car company claims that their Super Spiffy Sedan averages 31 mpg. You randomly select 8 Super Spiffies from local car dealerships and test their gas mileage under similar conditions. You get the following MPG scores: MPG: 30 28 32 26 33 25 28 30 Does the actual gas mileage for these cars deviate significantly from 31 (alpha = .05)?

Respuesta :

Answer:

[tex]t=\frac{29-31}{\frac{2.777}{\sqrt{8}}}=-2.037[/tex]    

[tex]p_v =2*P(t_{(7)}<-2.037)=0.081[/tex]  

If we compare the p value and the significance level given [tex]\alpha=0.05[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to fail reject the null hypothesis, so we can't conclude that the true mean is not significantly different from 31 at 1% of signficance

Step-by-step explanation:

Data given and notation  

Data: 30 28 32 26 33 25 28 30

We can calculate the mean and deviation with these formulas:

[tex]\bar X= \frac{\sum_{i=1}^n X_i}{n} [/tex]

[tex] s = \sqrt{\frac{\sum_{i=1}^n (X_i -\bar X)^2}{n-1}}[/tex]

[tex]\bar X=29[/tex] represent the mean height for the sample  

[tex]s=2.777[/tex] represent the sample standard deviation

[tex]n=8[/tex] sample size  

[tex]\mu_o =31[/tex] represent the value that we want to test

[tex]\alpha=0.05[/tex] represent the significance level for the hypothesis test.  

t would represent the statistic (variable of interest)  

[tex]p_v[/tex] represent the p value for the test (variable of interest)  

State the null and alternative hypotheses.  

We need to conduct a hypothesis in order to check if the true mean is 31, the system of hypothesis would be:  

Null hypothesis:[tex]\mu = 31[/tex]  

Alternative hypothesis:[tex]\mu \neq 31[/tex]  

If we analyze the size for the sample is < 30 and we don't know the population deviation so is better apply a t test to compare the actual mean to the reference value, and the statistic is given by:  

[tex]t=\frac{\bar X-\mu_o}{\frac{s}{\sqrt{n}}}[/tex]  (1)  

t-test: "Is used to compare group means. Is one of the most common tests and is used to determine if the mean is (higher, less or not equal) to an specified value".  

Calculate the statistic

We can replace in formula (1) the info given like this:  

[tex]t=\frac{29-31}{\frac{2.777}{\sqrt{8}}}=-2.037[/tex]    

P-value

The first step is calculate the degrees of freedom, on this case:  

[tex]df=n-1=8-1=7[/tex]  

Since is a two sided test the p value would be:  

[tex]p_v =2*P(t_{(7)}<-2.037)=0.081[/tex]  

Conclusion  

If we compare the p value and the significance level given [tex]\alpha=0.05[/tex] we see that [tex]p_v>\alpha[/tex] so we can conclude that we have enough evidence to fail reject the null hypothesis, so we can't conclude that the true mean is not significantly different from 31 at 1% of signficance

ACCESS MORE