Confidence Intervals for One Variance

Constructing confidence intervals for the variance and standard deviation of a normal population using the chi-square distribution, including two-sided and one-sided bounds.

Step 1 of 157%

Tutorial

The Chi-Square Pivot and the CI for the Variance

For a random sample X1,X2,,XnX_1, X_2, \ldots, X_n from a normal population with variance σ2,\sigma^2, the standardized sample variance follows a chi-square distribution:

(n1)S2σ2χn12.\frac{(n-1)S^2}{\sigma^2} \sim \chi^2_{n-1}.

This is the pivot quantity we use to build a confidence interval for σ2.\sigma^2.

Let χp,ν2\chi^2_{p,\,\nu} denote the upper-pp critical value of the chi-square distribution with ν\nu degrees of freedom; that is, P(χν2>χp,ν2)=p.P(\chi^2_\nu > \chi^2_{p,\,\nu}) = p.

A (1α)100%(1-\alpha)100\% confidence interval for σ2\sigma^2 is

((n1)S2χα/2,n12,  (n1)S2χ1α/2,n12).\left(\dfrac{(n-1)S^2}{\chi^2_{\alpha/2,\,n-1}},\;\dfrac{(n-1)S^2}{\chi^2_{1-\alpha/2,\,n-1}}\right).

Because the chi-square distribution is not symmetric, the two critical values differ in magnitude. The larger critical value sits in the denominator of the lower endpoint, and the smaller in the denominator of the upper endpoint.

For example, suppose a sample of size n=8n=8 from a normal population gives s2=12.s^2 = 12. To find a 95% CI for σ2,\sigma^2, we use α=0.05\alpha = 0.05 and ν=n1=7:\nu = n - 1 = 7{:}

  • χ0.025,72=16.013\chi^2_{0.025,\,7} = 16.013 and χ0.975,72=1.690\chi^2_{0.975,\,7} = 1.690
  • (n1)s2=712=84(n-1)s^2 = 7 \cdot 12 = 84
  • CI: (8416.013,  841.690)=(5.246,  49.704)\left(\dfrac{84}{16.013},\;\dfrac{84}{1.690}\right) = (5.246,\;49.704)

We are 95% confident that σ2\sigma^2 lies between 5.2465.246 and 49.704.49.704.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle