Tools › Quality › Control › CUSUM and EWMA Charts › Example
NIST e-Handbook tabular CUSUM: 20 sample means, first signal at group 14
| Tool | CUSUM and EWMA Charts |
| Source | National Institute of Standards and Technology (2012). NIST/SEMATECH e-Handbook of Statistical Methods. Section 6.3.2.3, CUSUM Control Charts (example of spreadsheet calculations). |
| Level | Undergraduate |
Problem
Twenty points are each the mean of a sample of 4 from a process with an estimated mean of 325 and a standard deviation of 1.27, so that a mean has a standard deviation of 0.635. With k = 0.3175 and h = 4.1959 in data units, form the tabular CUSUM and find the first signal.
Inputs to Enter
- The 20 means printed in the handbook: 324.925, 324.675, 324.725, 324.350, 325.350, 325.225, 324.125, 324.525, 325.225, 324.600, 324.625, 325.150, 328.325, 327.250, 327.825, 328.500, 326.675, 327.775, 326.875, 328.350
- Target 325, sigma of a plotted point 0.635; k = 0.5 and h = 6.6077 in sigma units (K = 0.3175, H = 4.1959)
Answers
- Upper sum S_hi: 0.03 at group 5, then 3.01, 4.94, 7.45, 10.63, 11.99, 14.44, 16.00, 19.04 at groups 13 to 20 (book: the same; the tool carries a third decimal and prints 14.445 where the book rounds to 14.44)
- Lower sum S_lo: 0.01, 0.33, 0.56, 0.72, 0.17, 0.25, 0.31 at groups 2, 4, 7, 8, 9, 10, 11 (book: the same)
- First signal at group 14, where S_hi = 4.94 exceeds 4.1959 (book: starred from group 14 on)
- Change estimate (not in the handbook): the upper sum was last zero at group 12; the mean of groups 13 and 14 is 327.79
Notes
Open this case in the tool: /analysis-tools/quality/control/cusum-ewma-charts/?try=nist-cusum-example. The handbook's table prints 0.54 and 0.47 in the column 325 − k − x at groups 9 and 12 where the values are −0.54 and −0.47 (its S_lo column is consistent with the negative values). Its h = 4.1959 equals 2 ln(1 / 0.00135) × 0.3175, although the text names alpha = 0.0027 and beta = 0.01, which would give 3.749 by the printed formula; the tool takes k and h as entered.
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
- 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