Processing math: 100%
Skip to main content

Section 10.6 Interval Estimates - Confidence Interval for σ2

Once again, you may need to approximate the population variance or standard deviation but only have the sample values available. One difference from the previous sections is that you are not dealing with an average of values (such as ¯x or ˜p) but with the average of the squares of values. The Central Limit Theorem does not directly help you in this case but the following result (presented without proof) provides a solution.

To create a confidence interval for σ2 first consider an interval of the form

E1<σ2<E2

and determine values for the boundaries so that the likelihood of this being true is high. For this case, since the chi-square distribution only has a positive domain and is not symmetrical, you will not expect to determine a symmetrical confidence interval. Therefore, consider

P(E1<σ2<E2)=1α

and by playing around with algebra you get

P(E1(n1)S2<σ2(n1)S2<E2(n1)S2)=1α

or by inverting the inequality yields

P((n1)S2E2<(n1)S2σ2<(n1)S2E1)=1α.

Using the previous theorem, note that the inside variable can be replaced with a chi-square variable. If F is the distribution function for chi-square, then you get

F((n1)S2E1)F((n1)S2E2)=1α.

For a given value of α there are many possible choices but often one often utilized is one in which

F(χ21α/2)=F((n1)S2E1)=1α/2

and

F(χ2α/2)=F((n1)S2E2)=α/2.

Using the inverse chi-square gives values for the expression on the inside and algebra can be used to solve for each of E1,E2. Indeed,

E1=(n1)S2χ21α/2

and

E2=(n1)S2χ2α/2

To determine appropriate values for χ2α/2 and χ21α/2 with equal probabilities in each tail, consider using the interactive cell below:

You can simply type in your input values easily in the Sage cell below.

Example 10.6.2. - Two-sided Confidence interval for σ2 and σ.

Given the data 570, 561, 546, 540, 609, 580, 550, 577, 585, determine a 95% confidence interval for σ2.

Using the computational forumaula (or your calculator) gives s2479.5. Also, notice for n=9, the resulting interval will use a Chi-square variable with 8 degrees of freedom. Using the symmetric option, gives χ20.025=2.18 and χ20.975=17.53. Therefore

E1=8479.517.53221.095

and

E2=8479.52.181759.63.

Hence, you are 95% certain that

221.095<σ2<1759.63.

By taking square roots you get

14.87<σ<41.95.

Notice, this interval is relatively wide which is a result both of the number of data values being relatively small (n=9) and the actual data values being relatively large and spread out.

Checkpoint 10.6.3. WebWork - Two-sided Confidence Interval with large n.

Suppose that you have n=400 data values and suppose you have computed from those a sample variance of s2=479.5. Then, the only change in the calculation is the two chi-square statistic values. For 95% but now with 399 degrees of freedom χ20.025=345.55 and χ20.975=456.24.

Therefore

E1=8479.5456.24419.3

and

E2=8479.5345.55553.7.

Hence, you are 95% certain that

419.24<σ2<553.7.

By taking square roots you get

20.48<σ<23.53

which is a relatively tight confidence interval. Notice, these are also completely contained in the confidence intervals from the previous small n example.

Similar to above, another choice to estimate σ2 is to use a one sided confidence interval. If you want to find one of these, continue as described above but just leave one endpoint off. Indeed,

σ2<E2

can be determined using

F(χ2α)=F((n1)S2E2)=α

and

E1<σ2

can be determined using

F(χ21α)=F((n1)S2E1)=1α.
Example 10.6.4. - One-sided Confidence intervals for σ2.

TBA

You can, of course, use the formula to work out the sample size needed in order to have a sufficiently narrow confidence interval

Checkpoint 10.6.5. WebWork - One-sided Confidence Interval.

Finally, to determine a confidence interval for σ, proceed using the protocols described above and simply take the square root on the resulting interval.

Example 10.6.6. - Confidence intervals for σ.

TBA