Variance and standard deviation
How spread is measured, why the sample formula divides by n minus 1, and how standard deviation is used in SPC.
The variance is the average squared distance of the values from their mean. The standard deviation is its square root, which puts the spread back into the units of the data: millimeters, grams, seconds.
Formulas
The population versions divide by and use the true mean . Because a sample's own mean sits closer to its values than the true mean does, the squared distances come out slightly small; dividing by instead of corrects that bias in . The is the degrees of freedom.
Reading a standard deviation
For data close to a normal distribution, about 68% of values lie within one standard deviation of the mean, 95% within two and 99.73% within three. That last figure is why control limits sit three standard deviations from the center line.
Standard deviation in SPC
SPC uses two different standard deviations, and mixing them up is a common error:
- Within-subgroup (short-term) sigma, estimated from ranges or moving ranges, drives control limits and Cp and Cpk.
- Overall (long-term) sigma, the ordinary of all the data, drives Pp and Ppk.
See Within and overall standard deviation for how each is calculated.
Combining sources of variation
Independent sources of variation add as variances, not as standard deviations:
This is the basis of measurement systems analysis and of statistical tolerance stack-up.
Questions and answers
Why not just use the range?
The range uses only the two most extreme values, so it gets less efficient as samples grow. For small subgroups (2 to 10) it is nearly as good as , which is why the Xbar-R chart works. Above about 10, use .
Stat > Summary reports the mean, standard deviation, variance and their confidence intervals for each column.
See also
References
- Montgomery, D. C. Introduction to Statistical Quality Control. Wiley.
- NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5.6.