# EWMA chart

EWMA chart
Originally proposed by S. W. Roberts
Process observations
Rational subgroup size n = 1
Measurement type Moving average of the quality characteristic
Quality characteristic type Variables data
Underlying distribution Normal distribution
Performance
Size of shift to detect ≤ 1.5σ
Process variation chart
Not applicable
Process mean chart
Center line The target value, T, of the quality characteristic
Control limits ${\displaystyle T\pm L{\frac {S}{\sqrt {n}}}{\sqrt {{\frac {\lambda }{2-\lambda }}\lbrack 1-\left(1-\lambda \right)^{2i}\rbrack }}}$
Plotted statistic ${\displaystyle z_{i}=\lambda {\bar {x}}_{i}+\left(1-\lambda \right)z_{i-1}}$

In statistical quality control, the EWMA chart (or exponentially weighted moving average chart) is a type of control chart used to monitor either variables or attributes-type data using the monitored business or industrial process's entire history of output.[1] While other control charts treat rational subgroups of samples individually, the EWMA chart tracks the exponentially-weighted moving average of all prior sample means. EWMA weights samples in geometrically decreasing order so that the most recent samples are weighted most highly while the most distant samples contribute very little.[2]:406

Although the normal distribution is the basis of the EWMA chart, the chart is also relatively robust in the face of non-normally distributed quality characteristics.[2]:412 There is, however, an adaptation of the chart that accounts for quality characteristics that are better modeled by the Poisson distribution.[2]:415 The chart monitors only the process mean; monitoring the process variability requires the use of some other technique.[2]:414

The EWMA control chart requires a knowledgeable person to select two parameters before setup:

1. The first parameter is λ, the weight given to the most recent rational subgroup mean. λ must satisfy 0 < λ ≤ 1, but selecting the "right" value is a matter of personal preference and experience. One source recommends 0.05 ≤ λ ≤ 0.25,[2]:411 while another recommends 0.2 ≤ λ ≤ 0.3.[1]
2. The second parameter is L, the multiple of the rational subgroup standard deviation that establishes the control limits. L is typically set at 3 to match other control charts, but it may be necessary to reduce L slightly for small values of λ.[2]:406

Instead of plotting rational subgroup averages directly, the EWMA chart computes successive observations zi by computing the rational subgroup average, ${\displaystyle {\bar {x}}_{i}}$, and then combining that new subgroup average with the running average of all preceding observations, zi - 1, using the specially–chosen weight, λ, as follows:

${\displaystyle z_{i}=\lambda {\bar {x}}_{i}+\left(1-\lambda \right)z_{i-1}}$.

The control limits for this chart type are ${\displaystyle T\pm L{\frac {S}{\sqrt {n}}}{\sqrt {{\frac {\lambda }{2-\lambda }}\lbrack 1-\left(1-\lambda \right)^{2i}\rbrack }}}$ where T and S are the estimates of the long-term process mean and standard deviation established during control-chart setup and n is the number of samples in the rational subgroup. Note that the limits widen for each successive rational subgroup, approaching ${\displaystyle \pm L{\frac {\hat {\sigma }}{\sqrt {n}}}{\sqrt {\frac {\lambda }{2-\lambda }}}}$.[2]:407

The EWMA chart is sensitive to small shifts in the process mean, but does not match the ability of Shewhart-style charts (namely the ${\displaystyle {\bar {x}}}$ and R and ${\displaystyle {\bar {x}}}$ and s charts) to detect larger shifts.[2]:412 One author recommends superimposing the EWMA chart on top of a suitable Shewhart-style chart with widened control limits in order to detect both small and large shifts in the process mean.[citation needed]

Exponentially weighted moving variance (EWMVar) can be used to obtain a significance score or limits that automatically adjust to the observed data.[3]

## References

1. ^ a b "EWMA Control Charts". NIST/Sematech Engineering Statistics Handbook. National Institute of Standards and Technology. Retrieved 2009-08-10. External link in |work= (help)
2. Montgomery, Douglas (2005). Introduction to Statistical Quality Control. Hoboken, New Jersey: John Wiley & Sons, Inc. ISBN 978-0-471-65631-9. OCLC 56729567.
3. ^ Schubert, E.; Weiler, M.; Kriegel, H. P. (2014). SigniTrend: scalable detection of emerging topics in textual streams by hashed significance thresholds. Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining - KDD '14. pp. 871–880. doi:10.1145/2623330.2623740. ISBN 9781450329569.