EWMA Control Chart

Statistics
Introduced by
S. W. Roberts
Year
1959
Type
Statistical process control chart for small shifts
Family
Statistical process control

What does it do?

The exponentially weighted moving average (EWMA) control chart, introduced by S. W. Roberts in 1959, plots a statistic in which each new observation is blended with the previous smoothed value, so older observations keep a geometrically decreasing influence.

This memory makes the chart sensitive to small, sustained shifts in the process mean, and a single parameter, λ, sets how much past information the chart retains. Unlike a Shewhart chart, which judges each point on its own, the EWMA accumulates evidence across time.

The intuition behind the method

A plain moving average treats the last few points equally and ignores everything before them, while a Shewhart chart looks only at the current point. The EWMA takes a middle path: it combines today's measurement with the previous smoothed value, so every past point still contributes, with weight that shrinks at each step. Random noise is damped, while a small but persistent shift gradually pulls the statistic away from target until it crosses a control limit. The parameter λ sets the balance. A small λ remembers far back and is suited to small shifts; when λ equals 1, the statistic is just the current observation and the chart reduces to a Shewhart-type chart.

History

S. W. Roberts proposed control chart tests based on geometric moving averages in a 1959 Technometrics paper. Geometric weights give the most recent observation the greatest weight and earlier observations weights that decrease geometrically, and Roberts compared these tests with tests based on ordinary moving averages. The statistic has the same recursive form as exponential smoothing, which is why the chart is closely linked to forecasting. Montgomery's Introduction to Statistical Quality Control is cited on this page for the variance and limit formulas.

When to use it

Use an EWMA chart when the goal is to detect small, persistent shifts in the process mean and the data are individual measurements or subgroup means. It suits settings where you also want a smoothed estimate of the current process level. Choose λ according to the shift size you need to detect, with smaller λ for smaller shifts, and choose L together with λ to reach a target in-control average run length (see the design step under control limits). Do not rely on it alone when very large, abrupt shifts must be caught quickly, because the weight on history dilutes a single large deviation; pairing it with a Shewhart chart is common for that reason. The design assumes a known in-control target and standard deviation and independent, identically distributed observations that are approximately normal (or subgroup means of adequate size). Published ARL results are tabulated for normal observations, so non-normal data need separate treatment, and autocorrelated data need adjustment.

Limitations and considerations

  • Slower than a Shewhart chart at signalling very large, abrupt shifts, since a single large deviation is diluted by the (1 − λ) weight on history.
  • Performance depends on the choice of λ and L, which must be set against the target average run length and the shift size of interest.
  • Requires a known in-control target μ₀ and standard deviation σ, and any estimation error in these carries into the limits.
  • Autocorrelation in the observations invalidates the variance formula, so the limits and run-length behaviour are no longer as designed.
  • ARL properties are usually tabulated for normal observations; departures from normality change the run-length behaviour.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Sensitive to small, sustained shifts in the mean, because each plotted value carries information from many earlier observations.
  • A single parameter λ controls the memory and sensitivity, and the formula shows that λ = 1 reduces the statistic to the current observation.
  • For λ below 1, the steady-state variance is λ/(2 − λ) times that of one observation, so isolated noisy points move the plotted statistic less than they move a Shewhart plot.
  • The smoothed statistic can be read as an estimate of the current process level.

Applications

  • Monitoring individual measurements where rational subgroups cannot be formed.
  • Detecting small, sustained drift in a process mean that a Shewhart chart may pass over.
  • Tracking a smoothed estimate of the current process level in real time.

How it works

How it works

1

The plotted statistic is a recursive weighted average: the new value z_t equals λ times the current observation x_t plus (1 − λ) times the previous value z_{t−1}. The recursion needs a starting value, and the variance and limit formulas below hold when the chart starts at the target, z₀ = μ₀. Other starting values require a different variance expression. Smaller λ gives more weight to history and more smoothing, while larger λ tracks recent data more closely; the appropriate value depends on the shift size to be detected and the run-length target.

Formula
z_t = \lambda\, x_t + (1-\lambda)\, z_{t-1},\quad 0 < \lambda \le 1
2

The variance of z_t is σ² · λ/(2 − λ) · [1 − (1 − λ)^{2t}], where σ² is the variance of a single observation (for subgroup means, σ²/n). At t = 1 this reduces to λ²σ², and as t grows it approaches the steady-state value σ² · λ/(2 − λ), which is smaller than σ² whenever λ is below 1. The bracketed term is the transient that makes the variance, and therefore the early limits, smaller at the start.

Formula
\sigma_{z_t}^2 = \sigma^2\,\dfrac{\lambda}{2-\lambda}\big[1-(1-\lambda)^{2t}\big]
3

The limits shown in the mechanics are the steady-state limits: the target μ₀ plus and minus L times σ√(λ/(2 − λ)). The exact time-varying limits are μ₀ ± L·σ·√{(λ/(2 − λ))·[1 − (1 − λ)^{2t}]}; they are narrower for the first few points and converge to the steady-state limits as t grows. For large t the steady-state variance is a standard approximation. The multiplier L is chosen together with λ to achieve the desired in-control average run length (ARL) at a specified shift: fix the in-control ARL and the smallest shift that matters, then choose λ and L from published ARL tables or a numerical ARL calculation. Crowder (1987) tabulates ARLs for the two-sided EWMA chart with normal observations and describes such a design procedure.

Formula
\text{UCL}_t/\text{LCL}_t = \mu_0 \pm L\,\sigma\sqrt{\dfrac{\lambda}{2-\lambda}\big[1-(1-\lambda)^{2t}\big]}\;\to\;\mu_0 \pm L\,\sigma\sqrt{\dfrac{\lambda}{2-\lambda}}\ (t\to\infty)
4

A signal is raised when the EWMA statistic falls outside the control limits. Because the statistic moves gradually, a sustained small shift drifts steadily toward a limit, so the signal can come earlier than from a chart that considers only the current point. A signal indicates a possible shift: the side of μ₀ on which z_t lies suggests the direction. Investigate the process before adjusting it; the chart does not identify the cause.

Formula
\text{signal if } z_t \notin [\text{LCL}, \text{UCL}]

Common pitfalls

  • Selecting λ without reference to the shift size of interest or the target average run length.
  • Using steady-state limits for the first few points, which loses the early sensitivity that the time-varying limits provide.
  • Applying the chart to autocorrelated data without adjusting the variance.
  • Relying on the EWMA alone when large abrupt shifts must also be caught quickly.

Frequently asked questions

What does the smoothing parameter λ control?

λ sets how much weight the current observation receives relative to the accumulated history. Small λ gives long memory and high sensitivity to small shifts, while λ equal to 1 makes the statistic equal to the current observation, as in a Shewhart chart. λ is chosen together with the limit multiplier L to achieve a target average run length.

How does EWMA compare to CUSUM?

Both are memory-based charts intended for small, sustained shifts. The EWMA statistic is a single recursive average controlled by λ, which makes it straightforward to describe. Which chart performs better depends on the shift size and on how each is tuned.

Why do the EWMA limits change over the first points?

The variance of the statistic, σ² · λ/(2 − λ) · [1 − (1 − λ)^{2t}], increases with t and settles at the steady-state value. Using this time-varying variance gives control limits, horizontal around μ₀ in the steady state, that are narrower for the first few points and widen toward the constant steady-state width as t increases.

Related methods

Sources

  1. Roberts, S. W. (1959). Control chart tests based on geometric moving averages. Technometrics, 1(3), 239–250.

    Open DOI reference
  2. Montgomery, D. C. (2009). Introduction to Statistical Quality Control (6th ed.). John Wiley & Sons.

    ISBN: 978-0-470-16992-6
  3. SWAM (Crowder, S. V., 1987, Technometrics 29(4): A Simple Method for Studying Run-Length Distributions of EWMA Charts), p. 4