Home / Shared Math Details / Control Chart Math / Control Chart Constants
Control Chart Constants¶
This page defines the unbiasing constants behind the sigma estimators and control limits: the range constants \(d_2\), \(d_3\), \(d_4\), the standard deviation constants \(c_4\), \(c_5\), the MSSD constant \(c_4'\), and the derived factors that scale a dispersion panel's center line into its limits.
Notation¶
| Term | Description |
|---|---|
| \(n\) | subgroup size (or moving range length, when applied to moving ranges) |
| \(R\) | range of \(n\) independent standard normal observations |
| \(\Gamma\) | gamma function |
| \(k\) | sigma multiplier for control limits (default 3) |
Range constants (\(d_2\), \(d_3\), \(d_4\))¶
The range constants describe the distribution of the range \(R\) of \(n\) independent standard normal observations:
So \(R/d_2(n)\) is an unbiased estimate of \(\sigma\) from a subgroup range, \(d_3(n)\) scales the spread of a range, and \(\widetilde{R}/d_4(n)\) is the corresponding estimate from a median range. Quantum XL evaluates these from precomputed full-precision tables for \(n = 2\) to \(100\). Outside that range they are undefined, which is why a subgroup size or moving range length above \(100\) produces no estimate and no limits.
Standard deviation constant (\(c_4\))¶
\(c_4(n)\) is the expected value of the sample standard deviation of \(n\) independent standard normal observations, so \(s/c_4(n)\) is an unbiased estimate of \(\sigma\). \(\Gamma\) is the gamma function. Quantum XL evaluates the formula directly (a log-gamma form is used for large \(n\); the value approaches \(1\) as \(n\) grows and is taken as \(1\) for extremely large \(n\)).
Standard deviation of the sample standard deviation (\(c_5\))¶
\(c_5(n)\) is the standard deviation of the sample standard deviation of \(n\) standard normal observations, computed from \(c_4\).
MSSD constant (\(c_4'\))¶
\(c_4'(N)\) is the unbiasing constant for the square root of MSSD estimator: dividing the raw MSSD estimate by \(c_4'(N)\) makes it unbiased for \(\sigma\). Quantum XL looks the value up from a table for \(N = 2\) to \(500\) (at \(N = 500\) the value is \(0.999124\)); for \(N > 500\) the constant is taken as \(1\).
Derived control chart factors¶
A dispersion panel (a range, moving range, or standard deviation chart) places its limits at multiples of its own center line, and those multiples are built from the constants above with the chart's sigma multiplier \(k\). For a range or moving range panel:
A standard deviation panel is built the same way from the \(c\) constants, at \(1 - k\,c_5/c_4\) and \(1 + k\,c_5/c_4\) times its center line. Those two multiples are the ones conventionally tabulated as \(B_3\) and \(B_4\); Quantum XL computes them directly from \(c_4\) and \(c_5\) rather than reading a named factor. In both cases the lower multiple is floored at \(0\), because neither a range nor a standard deviation can be negative, and \(k\) is the multiplier the chart is drawn with rather than a fixed \(3\).
Precision and compatibility modes¶
Quantum XL's default is full precision: \(d_2\), \(d_3\), \(d_4\) from full-precision tables and \(c_4\) from the gamma formula. Two internal compatibility modes, not selectable from any dialog, reproduce software that uses rounded published tables: one rounds the full-precision values to the published number of digits (\(d_2\) and \(d_4\) to 3, \(d_3\) to 4, \(c_4\) to 6), and one uses the older published tables directly (\(d_2\) for \(n \le 50\); \(d_3\) and \(d_4\) tabulated to \(n = 25\) with a cubic polynomial approximation for \(n = 26\) to \(50\); \(c_4\) tabulated to \(n = 100\), then the gamma formula rounded to 6 digits).
Used by¶
- Process Sigma Estimation: \(d_2\), \(d_3\), \(d_4\), \(c_4\), and \(c_4'\) appear in every within-sigma estimator and its weights.
- Cpk/Histogram Math Details: through the sigma estimates behind each capability block.
- Laney Overdispersion: \(d_2(2)\) divides the moving range of the z-scores.
- The variable control charts use \(d_2(n_i)\) and \(c_4(n_i)\) for their dispersion panel center lines, and the \(D_3\), \(D_4\) form above for that panel's limits: Xbar-R and Xbar-S, Xbar, R, S, I-MR, Individuals, Moving Range, I-MR-R/S, EWMA and CUSUM.
- Z-MR uses \(d_2\), \(d_3\) and \(d_4\) as well, but at a sigma multiplier fixed at \(3\).
See Also¶
References¶
- Wheeler, D. J., and Chambers, D. S. (1992). Understanding Statistical Process Control (2nd ed.). SPC Press.
- Montgomery, D. C. (2013). Introduction to Statistical Quality Control (7th ed.). Wiley.
- Tippett, L. H. C. (1925). On the extreme individuals and the range of samples taken from a normal population. Biometrika, 17(3/4), 364-387.
- Harter, H. L. (1960). Tables of range and studentized range. Annals of Mathematical Statistics, 31(4), 1122-1147.
- Duncan, A. J. (1986). Quality Control and Industrial Statistics (5th ed.). Irwin.