Quality · Time-Weighted

EWMA Chart (Exponentially Weighted Moving Average)

Exponentially weighted moving-average control chart: pools recent history with geometrically decaying weights to detect small, sustained shifts (0.5–1.5σ) that Shewhart charts miss.

In the menus Quality › Time-Weighted › EWMA Chart (Exponentially Weighted Moving Average)

Also searched as ewma exponentially weighted moving average chart ewma chart

When to use it

You monitor individual measurements and care about SMALL sustained drifts of the mean (half a sigma or so), not just large jumps, e.g. slow tool wear, reagent degradation, gradual process creep.

When not to: Detecting large, sudden shifts, where an ordinary individuals chart is simpler and adequate; monitoring process VARIATION rather than the mean (this chart does not track spread); or applying Shewhart run-pattern rules to the plotted EWMA values, which are correlated by construction and will falsely trigger those rules far more often than their nominal rate.

Step by step

  1. Open it from the menu

    Click Quality in the menu bar; under Time-Weighted choose EWMA Chart (Exponentially Weighted Moving Average).

  2. Fill in the form

    Choose the columns: What you measured (a number column). The form lists only columns whose type fits each field.

  3. Check the options

    The options start at their defaults: Smoothing constant (λ), Limit width (L), Target (μ₀), Known process σ. Change one only when your question needs it.

  4. Run the analysis

    Press Run analysis. The Result Card opens on its Results tab.

What to choose in the form

Fields of the EWMA Chart (Exponentially Weighted Moving Average) form
What you measured (a number column) Measurement requiredOne numeric column. The continuous measurement, in time order
Smoothing constant (λ)Weight on the newest observation (0 < λ ≤ 1). Smaller λ = longer memory = detects smaller shifts. Typical 0.05–0.25. Default: 0.2.
Limit width (L)Control-limit multiplier in σ units (default 3; 2.7 pairs well with λ = 0.1). Default: 3.
Target (μ₀)Known process target/center. Blank = use the sample mean.
Known process σBlank = estimate σ = MR̄/d₂ from the data.

How to read the card

The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.

What it assumes

Independence of observations

If it does not hold: Autocorrelated data break the EWMA's calibration: positive autocorrelation makes the moving-range estimate of sigma too small relative to the real spread, so the limits are too tight and false alarms multiply, while negative autocorrelation inflates the moving-range estimate, widening the limits and slowing detection of a real shift.

How to check: Ljung-Box lag-1 test on the individual observations, reported directly on the card as an 'Independence & rational ordering' check; not testable on fewer than 8 points or a zero-variance series, which the card states honestly rather than fabricating a verdict.

Normality (of residuals, not of the raw data)

If it does not hold: EWMA's control limits are derived assuming the underlying observations are normal; the chart is commonly praised as fairly robust to mild non-normality (more so than a plain individuals chart), but strong skew or heavy tails still distort the true in-control run length from the nominal design value.

How to check: Not checked by KernelStats: no normality test is run on the underlying observations.

A worked example

A fill-weight measurement monitored with lambda=0.2, L=3, target=500g, sigma estimated at 2.1g from the moving range.

Result: The EWMA statistic drifts from 500.1 g to 503.8 g over 40 batches and first exceeds its upper limit at batch 34; by then the limit has settled at the steady-state UCL of 500 + 3 x 2.1 x sqrt(0.2/1.8) = 502.1 g.

A sustained upward drift of roughly 1.8 standard deviations built up gradually across the run and was flagged well before any single raw reading would have looked alarming on its own, exactly the slow-creep scenario the EWMA chart is designed to catch early.

From the Statistics Library.

The code tabs

Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.

Understand the statistics

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • Has the filling process drifted upward by even half a standard deviation over the last few dozen batches?
  • Explain the EWMA chart (exponentially weighted moving average) in plain words.
  • What does no (residual) autocorrelation mean?

Last reviewed November 16, 2026.

Report an unclear step