Tools › Quality › Control › CUSUM and EWMA Charts › Example
One high point: the Shewhart chart signals at point 23, the CUSUM and the EWMA do not
| 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, sections 6.3.2.3, 6.3.2.3.1 and 6.3.2.4. |
| Level | Undergraduate |
Problem
Forty measurements from a process with target 100 and sigma 2 hold one value of 108.66 at point 23 and are otherwise on target. Which of the three charts signals?
Inputs to Enter
- 40 single values in time order, target 100, sigma 2
- CUSUM k = 0.5, h = 5 (H = 10); EWMA weight 0.2, width 3; Shewhart ± 3 sigma (94 and 106)
Answers
- Shewhart chart: 108.66 at point 23 is 4.3 sigma above the target: a signal at point 23, the only one
- CUSUM: the largest upper sum of the series is 8.67, below H = 10: no signal
- EWMA at point 23: 101.454 against an upper limit of 102.000: no signal
- The charts that remember past points respond slowly to one large value, which is why they are drawn beside the Shewhart chart
Notes
Open this case in the tool: /analysis-tools/quality/control/cusum-ewma-charts/?try=single-spike. Seeded illustrative data, with the one high value set when the series was generated. Checked against an independent numpy computation.
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
- Nothing changed: two false signals in 250 in-control points
- 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