Topic contents

Lesson 8

Confidence interval for a population variance

How can we estimate the variability in university students' monthly living expenses?

Estimation settings

Try it

Confidence level

Teaching assumption: an independent random sample from a normal population (the classical χ² variance interval). The simulated population has mean monthly living expenses of 2,200 yuan and standard deviation 360 yuan; the initial data are for teaching only.

Interval estimation results

Sample variance s² (yuan²)
129,600.00
Degrees of freedom n − 1
7
Confidence level
95%

95% confidence interval for the population variance σ²[56,654.80, 536,846.29] yuan²

0200,000400,000600,000Sample variance s²56,654.80536,846.29
  • Confidence interval for σ²
  • Sample variance s²
Confidence interval for the population variance σ² and sample variance s² (unit: yuan²)

Converted to a confidence interval for the population standard deviation σ: [238.02, 732.70] yuan

χ² distribution and critical values

0510152025χ²1.69016.01395%α/2α/2
  • Central confidence level
  • Two tail regions
  • χ² critical values
χ² distribution with degrees of freedom 7: central area 95%, with 2.5% in each tail

The χ² distribution has degrees of freedom 7 and theoretical skewness 1.07 (fewer degrees of freedom give more pronounced right skewness); lower critical value 1.6899 (area to the left 2.5%), upper critical value 16.0128 (area to the right 2.5%). Note: divide by the larger, upper critical value for the lower variance confidence limit, and by the smaller, lower critical value for the upper confidence limit.

Formula and calculation steps

(n−1)s2χ1−α/2,  n−12  ≤  σ2  ≤  (n−1)s2χα/2,  n−12\frac{(n-1)s^{2}}{\chi^{2}_{1-\alpha/2,\;n-1}}\;\le\;\sigma^{2}\;\le\;\frac{(n-1)s^{2}}{\chi^{2}_{\alpha/2,\;n-1}}
  1. Calculate the sample variance
    s2=360.002=129,600.00s^{2}=360.00^{2}=129{,}600.00
  2. Determine degrees of freedom and confidence level
    n−1=7,α=1−0.95=0.05n-1=7,\qquad \alpha=1-0.95=0.05
    2.5% in each tail.
  3. Find the two χ² critical values (lower-tail cumulative probabilities α/2 and 1 − α/2)
    χ0.025, 72=1.6899,χ0.975, 72=16.0128\chi^{2}_{0.025,\,7}=1.6899,\qquad \chi^{2}_{0.975,\,7}=16.0128
  4. Calculate the lower confidence limit for the population variance
    (n−1)s2χ0.975, 72=7×129,600.0016.0128≈56,654.80\frac{(n-1)s^{2}}{\chi^{2}_{0.975,\,7}}=\frac{7\times 129{,}600.00}{16.0128}\approx 56{,}654.80
  5. Calculate the upper confidence limit for the population variance
    (n−1)s2χ0.025, 72=7×129,600.001.6899≈536,846.29\frac{(n-1)s^{2}}{\chi^{2}_{0.025,\,7}}=\frac{7\times 129{,}600.00}{1.6899}\approx 536{,}846.29
  6. Therefore, the 95% confidence interval for the population variance is [56,654.80, 536,846.29] yuan².
  7. (Extension) Take the square root of each endpoint to obtain the confidence interval for the population standard deviation (yuan)
    [56,654.80, 536,846.29]=[238.02, 732.70]\left[\sqrt{56{,}654.80},\ \sqrt{536{,}846.29}\right]=\left[238.02,\ 732.70\right]

This lesson covers the classical χ² variance interval for independent observations from a normal population. Population variance can still be estimated under sampling without replacement, but finite population sampling without replacement generally does not permit direct use of this exact χ² formula.

Conditions for use: an independent random sample from a normal population. The χ² variance interval is sensitive to nonnormality; it is asymmetric, so “sample variance ± margin of error” cannot simply be applied.

Think about it

  1. Why is a confidence interval for the population variance generally not symmetric about the sample variance?
  2. As degrees of freedom increase from 4 to 59, how do the χ² distribution's right skewness and interval width change?
  3. Why must we consider the population normality assumption?
  4. Why do both the t distribution and the χ² distribution here involve n − 1 degrees of freedom?

Estimation settings

n = 8 · s = 360 · 95%