139k views
4 votes
A simple random sample of 28 wait times while pumping gas at a gas station has a standard deviation of 20 seconds. The test statistic for the random sample is 22.314 when found to test a claim that the standard deviation for all wait times while pumping gas at a gas station is less than 22 seconds. Using a 0.05 significance level, find the critical value and state the initial conclusion.

User Jannell
by
6.1k points

1 Answer

2 votes

Answer:


\chi^2 =(28-1)/(22^2) 20^2=22.314

In order to calculate the p value we need to have in count the degrees of freedom , on this case 27. And since is a left tailed test the p value would be given by:


p_v =P(\chi^2 <22.314)=0.279

In order to find the p value we can use the following code in excel:

"=CHISQ.DIST(22.314,27,TRUE)"

The critical value can be founded with the following code:

=CHISQ.INV(0.05,27)

And we got :
\chi^2_(crit)= 16.151

If we compare the p value and the significance level provided we see that
p_v >\alpha so on this case we have enough evidence in order to FAIL reject the null hypothesis at the significance level provided. And we can conclude that the true deviation is not lower than 22 at 5% of significance.

Explanation:

Notation and previous concepts

A chi-square test is "used to test if the variance of a population is equal to a specified value. This test can be either a two-sided test or a one-sided test. The two-sided version tests against the alternative that the true variance is either less than or greater than the specified value"


n=28 represent the sample size


\alpha=0.05 represent the confidence level


s =20 represent the sample deviation obtained


\sigma_0 =22 represent the value that we want to test

Null and alternative hypothesis

On this case we want to check if the population deviation specification is lower than 22, so the system of hypothesis would be:

Null Hypothesis:
\sigma^2 \geq 484

Alternative hypothesis:
\sigma^2 <484

Calculate the statistic

For this test we can use the following statistic:


\chi^2 =(n-1)/(\sigma^2_0) s^2

And this statistic is distributed chi square with n-1 degrees of freedom. We have eveything to replace.


\chi^2 =(28-1)/(22^2) 20^2=22.314

Calculate the p value

In order to calculate the p value we need to have in count the degrees of freedom , on this case 27. And since is a left tailed test the p value would be given by:


p_v =P(\chi^2 <22.314)=0.279

In order to find the p value we can use the following code in excel:

"=CHISQ.DIST(22.314,27,TRUE)"

The critical value can be founded with the following code:

=CHISQ.INV(0.05,27)

And we got :
\chi^2_(crit)= 16.151

Conclusion

If we compare the p value and the significance level provided we see that
p_v >\alpha so on this case we have enough evidence in order to FAIL reject the null hypothesis at the significance level provided. And we can conclude that the true deviation is not lower than 22 at 5% of significance.

User Abu Ul Hassan
by
5.5k points