Theorem · Hypothesis tests
Chi-square test for a variance
Theorem from the chapter Hypothesis tests, power and chi-square of Statistics and probability, with the exercises in which it is used.
Chi-square test for a variance
A manufacturer claims that the volume dispensed by a machine has variance , and for bottles the unbiased sample variance is . The theorem gives the reference distribution for deciding whether the ratio of the two variances can be explained by sampling variability alone.
Let be the unbiased sample variance of independent observations from a normal population. Under , with , the statistic has distribution , because it is the quantity of Chapter 8 evaluated at the null value. Let denote the quantile of order for degrees of freedom. For the equal-tailed two-sided test, reject if or if . Use only the right tail, with threshold , for an upper-tailed alternative, and only the left tail, with threshold , for a lower-tailed alternative.
Since the chi-square distribution is asymmetric, the cutoffs for two tails of equal probability lie at different distances from the center. For example, with and , the endpoints of the central interval are approximately and , while the mean of the distribution is . For the bottles , which lies between the two thresholds, so the two-sided test at level does not reject .
The p-value of the equal-tailed two-sided test is twice the smaller of the probabilities to the left and to the right of the observed value. For with degrees of freedom the probability to the right is about and that to the left about , so the p-value is about , greater than .
Read it in the chapter Hypothesis tests, power and chi-square →
Exercises where this theorem is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →