182k views
0 votes
A simple random sample of 30 filtered​ 100-mm cigarettes is obtained from a normally distributed​ population, and the tar content of each cigarette is measured. The sample has a standard deviation of 0.18 mg. Use a 0.05 significance level to test the claim that the tar content of filtered​ 100-mm cigarettes has a standard deviation different from 0.25 ​mg, which is the standard deviation for unfiltered​ king-size cigarettes.

User Dodie
by
4.6k points

1 Answer

3 votes

Answer:


\chi^2 =(30-1)/(0.0324) 0.0625 =55.94


p_v =2*P(\chi^2 >55.94)=0.0038

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

"=2*(1-CHISQ.DIST(55.94,29,TRUE)")

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 reject the null hypothesis at the significance level provided. And that means that the population deviation is significantly different than 0.25

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=30 represent the sample size


\alpha=0.05 represent the confidence level


s^2 =0.18^2 = 0.0324 represent the sample variance obtained


\sigma^2_0 =0.25^2 = 0.0625 represent the value that we want to test

Null and alternative hypothesis

On this case we want to check if the population variance specification is violated, so the system of hypothesis would be:

Null Hypothesis:
\sigma^2 = 0.0625

Alternative hypothesis:
\sigma^2 \\eq 0.0625

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. c

Calculate the p value

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


p_v =2*P(\chi^2 >55.94)=0.0038

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

"=2*(1-CHISQ.DIST(55.94,29,TRUE)")

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 reject the null hypothesis at the significance level provided. And that means that the population deviation is significantly different than 0.25

User Krsteeve
by
4.3k points