In statistical quality control, an 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:
Instead of plotting rational subgroup averages directly, the EWMA chart computes successive observations zi by computing the rational subgroup average, x ¯ i {\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:
The control limits for this chart type are T ± L S n λ 2 − λ [ 1 − ( 1 − λ ) 2 i ] {\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 ± L σ ^ n λ 2 − λ {\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 x ¯ {\displaystyle {\bar {x}}} and R and x ¯ {\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.[4][5]