Inferences about Standard Deviation of One Population
Copyright © 2007–2008 by Stan Brown, Oak Road Systems
Copyright © 2007–2008 by Stan Brown, Oak Road Systems
Summary: In class we learn to estimate population means and test hypotheses about them. It can also be important to estimate or test variability — standard deviation or variance of a population. This page shows you how. Most operations can be done on your TI-83/84 or TI-89 calculator, and all can be done in the accompanying Excel workbook.
Caution: The tests on this page are valid only if the underlying population is normal. If the underlying population is not normal, or if the sample contains outliers, you can get wildly wrong answers. See Normality Check on the TI-83/84 or TI-89 for procedures to test whether a population is normal by testing the sample. See Make a Box-Whisker Plot for an easy way to test for outliers.
Contents:
Write your hypotheses in the usual way. For H0, you compare (=, ≤, or ≥) the population standard deviation σ to the claimed value σo. H1 contains ≠, >, or < as usual.
The test statistic is
χ²o = (n−1) s² / σo² with df = n− 1
You perform a one-tailed test by computing the cumulative probability from 0 to the χ²o (left tail) or from χ²o to 10^99 or ∞ (right tail). For a two-tailed test, compute the cumulative probability and double it.
Example 1: A machine packs cereal into boxes, and you require a standard deviation of no more than five grams. You randomly select and weigh 45 boxes and find a sample standard deviation of 6.2 grams. Is the machine operating within specification?
You have tested the sample and find that it is normally distributed with no outliers, so you are confident that the population is also normally distributed.
Solution: n = 45, s = 6.2, σo = 5. Your hypotheses are
H0: σ ≤ 5, the machine is within spec (some books would say H0: σ=5)
H1: σ > 5, the machine is not working right
This is a one-tailed test to the right. No α was specified, but for an industrial process with no possibility of human injury α = 0.05 seems appropriate.
χ²cdf keystrokes | |
|---|---|
| TI-83 | [2nd VARS makes DISTR] [7] |
| TI-84 | [2nd VARS makes DISTR] [8] |
| TI-89 | Stats/List Editor: [F5] [8] |
Compute the test statistic:
χ²o = (n−1) s² / σo² = 44×6.2²/5² = 67.6544
Compute the p-value. Use either the
accompanying Excel workbook or your TI
calculator’s χ²cdf function; see
keystrokes at right for your model. Use n−1 = 44 degrees
of freedom.
p-value = χ²cdf(Ans, 10^99, 44) = 0.01248
Conclusion: p-value < α; reject H0 and accept H1. The machine’s output is too variable: at the 0.05 level of significance the standard deviation is greater than 5 g.
Example 2: You have a random sample of size 20, with a standard deviation of 125. You have good reason to believe that the underlying population is normal. Is the population standard deviation different from 100, at the 0.05 significance level?
Solution: n = 20, s = 125, σo = 100, α =0.05. Your hypotheses are
H0: σ = 100
H1: σ ≠ 100
This is a two-tailed test.
Compute the test statistic:
χ²o = (n−1) s² / σo² = 19×125²/100² = 29.6875
Compute the p-value.
Since this is a two-tailed test, find the one-tailed p and double it.
Either use the accompanying
Excel workbook or use your TI
calculator’s χ²cdf function with degrees of
freedom n−1 = 19:
p = 2 * χ²cdf(Ans, 10^99, 19) = 0.1118
p-value > α; you fail to reject H0 and cannot reach a conclusion. The population standard deviation may be different from 100, or it may not.
You may have noticed that the test for σ actually uses the sample variance s² and the hypothetical population variance σo². Therefore, to make a test for variance you follow exactly the same procedure except that you already have the variance and you don't square it to obtain the test statistic.
To estimate the standard deviation σ of a population at confidence level 1−α, the bounds are

In the formula, df = n−1. χ²(df,rtail) is the χ² value that divides the curve with area rtail to the right and 1−rtail to the left. It’s an inverse χ² function, analogous to inverse t or inverse normal.
Caution: For standard deviation of a population, the confidence interval is not symmetric and the point estimate is not in the middle of the confidence interval. Therefore the confidence interval can be expressed only in endpoint form, not in s±E form.
Example 3: Of several thousand students who took the same exam, 40 papers were selected randomly and statistics were computed. The standard deviation of the sample was 17 points. Estimate the standard deviation of the population, to 95% confidence. (Recall that test scores are normally distributed.)
Solution: 1−α = 0.95, so α = 0.05, α/2 = 0.025, and 1−α/2 = 0.975. df = n−1 =39. The confidence interval is
√[ 37 × 17² / χ²(39,0.025) ] < σ < √[ 37 × 17² / χ²(39,0.975) ]
How do we find the two required inverse χ² values? There are several methods, laid out in Finding χ²(df,rtail), below. For now let’s just use the values: χ²(30,0.025) = 58.12006 and χ²(39,0.975) = 23.65432. Continuing with the calculation,
√[39×17²/58.12006] < σ < √[39×17²/23.65432]
13.9 < σ < 21.8 with 95% confidence
Remark: The middle of the confidence interval is (13.9+21.8)/2 ≈ 17.9, but the point estimate was 17. The confidence interval is not symmetric: it extends 3.1 below and 4.8 above the point estimate.
Inverse chi squared is not as easy to compute as inverse t. But you’re not necessarily reduced to looking up tables in a book. Here are several methods using various forms of technology:
![]()
z(rtail) is easily found on your calculator by invNorm(1−rtail) — see z Function in Normal Calculations on the TI-83/84 or TI-89.
Example: Using the normal approximation,
χ²(39,0.025) ≈ ½ [z(0.025)+√(2×39−1)]²
z(0.025) = invNorm(1−0.025) = 1.9600, so
χ²(39,0.025) ≈ 0.5 × [1.9600+√77]²
χ²(39,0.025) ≈ 57.61934
That agrees quite well with the true value of 58.12006 computed above. Using the same technique, χ²(30,0.975) ≈ 23.22212 and the 95% confidence interval on σ is 14.0 to 22.0, close to the interval we found above.
Variance is the square of standard deviation, so the confidence interval procedure is the same except that you don't take square roots:

home page | problems with viewing?
This page is used in instruction at Tompkins Cortland Community College in Dryden, New York; it’s not an official statement of the College. Please visit www.tc3.edu/instruct/sbrown/ to report errors or ask to copy it.
For updates and new info, go to http://www.tc3.edu/instruct/sbrown/stat/