Confidence Interval for Population Variance

Confidence Interval for Population Variance
Just like using the sample mean x to estimate the unknown population mean μ and the sample proportion p^ to estimate the unknown population proportion p, the sample variance s2 is used to estimate the unknown population variance σ2.
The formula for the sample variance is:
n= sample size
xˉ= sample mean
The variance follows a Chi- Square distribution. The following formula is used for the test statistic:
with degrees of freedom v=n−1, formally denoted as χn−12 .
The above expression allows us to construct confidence intervals for the variance (provided that the population data is normally distributed). For a confidence level 1−α, we get the range below:
χ1−α/22= lower critical value
χα/22= upper critical value
Doing some algebra to isolate σ2we get the confidence interval for the variance:
Since the Chi-Square Distribution is not symmetrical, the confidence interval we get will not be symmetric about the point estimate.
Confidence interval for the variance:
Let’s simplify the equation:

Example: Confidence Interval for Population Variance
A sample of 7 bottles of shampoo has the following masses:
98oz, 95oz, 100oz, 88oz, 97oz, 98oz, 92oz

Assume the data follow a normal distribution.
(a) Construct a 95% confidence interval for the estimate of the population variance.
Degrees of freedom:
v=n−1=7−1=6
Since this is a 95% confidence interval, then 1−α=0.95, therefore α=0.05.
Find the critical values using the Chi-square table.
χ2α2=χ0.0252=14.4494 (upper) To avoid confusion, just use the larger
number as the “upper”χ2and use the
χ1−2α2=χ0.9752=1.237 (lower) smaller number as the “lower”χ2.

n=7 (sample size)
s=4.158 (sample standard deviation)
We are 95% confident that the true population variance is between 7.2oz and 83.9oz.
(b) Construct a 95% confidence interval for the estimate of the population standard deviation.
Confidence interval for standard deviation:
We are 95% confident that the true population standard deviation is between 2.68oz and 9.16oz.