Tools › Quality › Control › CUSUM and EWMA Charts › Example
Nothing changed: two false signals in 250 in-control points
| Tool | CUSUM and EWMA Charts |
| Source | Original illustrative case (seeded synthetic data). Method: National Institute of Standards and Technology (2012). NIST/SEMATECH e-Handbook of Statistical Methods, section 6.3.2.3.1 (average run length; 1 / 0.0027 = 370 for 3-sigma limits). |
| Level | Undergraduate |
Problem
A series of 250 normal values with mean 100 and sigma 2 was generated with no change at all. Chart it with the three default designs and compare the signals found with the number expected by chance.
Inputs to Enter
- 250 single values in time order, target 100, sigma 2
- CUSUM k = 0.5, h = 5; EWMA weight 0.2, width 3; Shewhart ± 3 sigma
Answers
- Shewhart chart: one point beyond the limits (93.75 at point 180); expected by chance 250 × 0.0027 = 0.67 points
- EWMA: one signal, at point 111 (102.088 against a limit of 102.000); CUSUM: none (largest sum 8.84 against H = 10)
- Chance of at least one signal in 250 in-control points, 1 − (1 − 1 / ARL)^250: Shewhart 49.1 % (ARL 370), CUSUM 41.6 % (ARL 465), EWMA 36.0 % (ARL 560)
Notes
Open this case in the tool: /analysis-tools/quality/control/cusum-ewma-charts/?try=nothing-changed. Seeded illustrative data; the seed is the first whose series holds one Shewhart signal and one EWMA signal well apart (search rule in References/CUSUM-EWMA/make_cases.py), so the case shows what false signals look like, not how often they occur. The chance formula is exact for the Shewhart chart and close for the other two.
More Examples for This Tool
- A half-sigma shift that no 3-sigma point shows: CUSUM signals at point 49, EWMA at 50
- A slow drift: CUSUM signals at point 42, the 3-sigma limits at point 57
- One high point: the Shewhart chart signals at point 23, the CUSUM and the EWMA do not
- Skewed measurements: Cpk 0.51 on the normal assumption, 0.91 after a Box-Cox transformation
- NIST e-Handbook tabular CUSUM: 20 sample means, first signal at group 14