Suppose we know the sampled variance s2, we want to check if the population variance σ2 is as claimed.
The main test statistic is
χ2=σ02(n−1)s2
where n is the sample size, s is the sampled standard deviation, σ0 is the proposed population stdev. This χ2 should follow χn−12 distribution under H0, i.e., the degree of freedom is n−1.
| H0 |
H1 |
p-value |
Decision Rule |
| σ2=σ02 |
σ2>σ02 |
P(χn−12>χ2) |
χ2>χn−1,α2 |
| Hypotheses |
p-value |
Decision Rule (Reject H0 if…) |
| H0:σ2≤σ02 vs H1:σ2>σ02 |
P(χn−12>χ2) |
χ2>χn−1,α2 |
| H0:σ2≥σ02 vs H1:σ2<σ02 |
P(χn−12<χ2) |
χ2<χn−1,1−α2 |
| H0:σ2=σ02 vs H1:σ2=σ02 |
2×min{P(χn−12>χ2), P(χn−12<χ2)} |
χ2>χn−1,α/22 or χ2<χn−1,1−α/22 |
Confidence Interval
This is not symmetric.
[χn−1,α/22(n−1)s2,χn−1,1−α/22(n−1)s2]
Finite Population Correction
If n>0.05N, we adjust the variance
σ^xˉ2=ns2nN−n
and the 1−α CI is
xˉ±tn−1,α/2σ^xˉ2