Tools › Quality › Control › CUSUM and EWMA Charts


CUSUM and EWMA Charts

Paste a series of measurements in time order and get three control charts on one time axis: the values with Shewhart limits, the tabular CUSUM and the EWMA, each with its first signal, plus the estimated time and size of the change and the average run lengths of the chosen designs, so that you see which chart caught what. With specification limits the page adds a normality check, the Box-Cox transformation and the capability index by three methods. A signal means that a chart's rule was met at that point; the page does not say what caused it.

  • Tabular CUSUM with reference value k and decision interval h, optional fast initial response, and one row worked in full

  • EWMA with time-varying or steady-state limits, beside the individual values with their Shewhart limits

  • Average run lengths at shifts of 0 to 2 standard deviations: Siegmund's approximation and an integral-equation solution for the CUSUM, an integral-equation solution for the EWMA

  • Non-normal capability: Anderson-Darling check, Box-Cox exponent with its interval, and the index from the transformed data and from percentiles beside the normal one

CUSUM and EWMA Charts

/

Measurements in time order

Two small charts of the same twenty-four points. On the first, the values with three-sigma limits: after point 12 the level rises a little and no point leaves the limits. On the second, the cumulative sum of the same values: it stays near zero for twelve points, then climbs steadily and crosses the decision line h at point 19. A small lasting shift that single points do not show adds up in the sum.

Layout of the pasted numbers when every number is one point: three lines of five values each are read left to right and line by line as points 1 to 15.
Layout of the pasted numbers when each line is one subgroup: three lines of four measurements each; the mean of each line is the plotted point, and sigma of a point is sigma divided by the square root of 4.

Target and σ





CUSUM design (in σ units)




EWMA design




Shewhart limits and shift of interest



Capability (optional: enter a specification limit)








References

National Institute of Standards and Technology (2012). NIST/SEMATECH e-Handbook of Statistical Methods. National Institute of Standards and Technology, Gaithersburg, MD.

Page, E. S. (1954). "Continuous Inspection Schemes." Biometrika, Vol. 41, No. 1/2, pp. 100–115.

Roberts, S. W. (1959). "Control Chart Tests Based on Geometric Moving Averages." Technometrics, Vol. 1, No. 3, pp. 239–250.

Lucas, J. M., and Crosier, R. B. (1982). "Fast Initial Response for CUSUM Quality-Control Schemes: Give Your CUSUM a Head Start." Technometrics, Vol. 24, No. 3, pp. 199–205.

Siegmund, D. (1985). Sequential Analysis: Tests and Confidence Intervals. Springer-Verlag, New York.

Crowder, S. V. (1987). "A Simple Method for Studying Run-Length Distributions of Exponentially Weighted Moving Average Charts." Technometrics, Vol. 29, No. 4, pp. 401–407.

Lucas, J. M., and Saccucci, M. S. (1990). "Exponentially Weighted Moving Average Control Schemes: Properties and Enhancements." Technometrics, Vol. 32, No. 1, pp. 1–12.

Box, G. E. P., and Cox, D. R. (1964). "An Analysis of Transformations." Journal of the Royal Statistical Society, Series B, Vol. 26, No. 2, pp. 211–252.

D'Agostino, R. B., and Stephens, M. A. (eds.) (1986). Goodness-of-Fit Techniques. Marcel Dekker, New York.

Montgomery, D. C. (2013). Introduction to Statistical Quality Control, 7th ed. John Wiley and Sons, Hoboken, NJ.


DISCLAIMER: The methods and calculation on aNOWysis.com are provided as means to educate the reader. There is no warranty, expessed or implied, as to the relevance or accuracy of the methods or calculations. All calculations should be checked by a qualified analyst for appropriateness and accuracy. We will not be held liable for any damages, injuries or deaths caused by using methods or calculations from this site.