Test of a Single Variance
The chi-square test for a single variance lets you determine whether the spread of data in a population matches a hypothesized value. Instead of testing a mean, you're testing how variable the data is. This matters in fields like manufacturing, where too much or too little variation in a product can signal a problem.
Test Statistic for Single Variance
The test statistic compares your observed sample variance to the variance you'd expect under the null hypothesis. The formula is:
- = sample size (number of observations)
- = sample variance (calculated from your data)
- = hypothesized population variance (the value stated in )
The result follows a chi-square distribution with degrees of freedom. That distribution is what you'll use to find your p-value.
How to calculate it, step by step:
- Identify your sample size from the problem (e.g., )
- Calculate or find the sample variance from the data (e.g., )
- Identify the hypothesized population variance from the null hypothesis (e.g., )
- Plug into the formula:
A large value suggests the sample variance is much bigger than the hypothesized variance. A small value suggests it's much smaller. Whether that difference is statistically significant depends on the tail direction and your significance level.

Hypotheses for Variance Testing
The null hypothesis always claims the population variance equals a specific value:
The alternative hypothesis depends on what the research question is asking. There are three options:
- Right-tailed: (you suspect variance is greater than the hypothesized value)
- Left-tailed: (you suspect variance is less than the hypothesized value)
- Two-tailed: (you suspect variance is different in either direction)
Setting up your hypotheses:
- Read the problem carefully. Look for keywords like "exceeds," "less than," or "different from" to determine the direction.
- Write using the specific value given (e.g., ).
- Write with the appropriate inequality (e.g., if the question asks whether variance has decreased, use ).

Tail Direction in Variance Tests
The tail direction controls where you look on the chi-square distribution to find your p-value.
- Right-tailed test: You reject if your statistic falls in the upper tail. This tests whether the true variance is larger than claimed. For example, a quality inspector might test whether the variance in bottle fill amounts exceeds the acceptable standard.
- Left-tailed test: You reject if your statistic falls in the lower tail. This tests whether the true variance is smaller than claimed. For example, you might test whether a new training program reduced variability in employee performance scores.
- Two-tailed test: You reject if your statistic falls in either tail. This tests whether the variance is simply different from the hypothesized value, regardless of direction. You split your significance level between both tails ( in each).
Statistical Inference and Decision Making
After computing your statistic, you compare it to a critical value from the chi-square table (using degrees of freedom and your chosen ), or you find the p-value directly.
- The significance level () is the threshold you set before testing, typically 0.05. It represents the probability of rejecting when it's actually true (a Type I error).
- If your p-value , you reject . If your p-value , you fail to reject .
One thing to watch: the chi-square distribution is not symmetric, so critical values for left-tailed and right-tailed tests are not mirror images of each other. Always use the correct tail when looking up values in a chi-square table.