EWMA charts: catching small shifts
What an exponentially weighted moving average chart shows, why its limits widen, and how to choose lambda and L.
Good for: catching a small, steady shift in the average (half to one and a half sigma) much sooner than a standard chart, which waits for a single point far out.
Misleads when: the process drifts slowly and is adjusted often, or readings depend on each other: the average carries memory, so one odd reading keeps it raised for a while.
What it plots #
Each point is a weighted average of the newest subgroup mean and the point before it. With lambda = 0.2, the newest subgroup counts for 20 % and everything before for 80 %, fading the further back it is. Ups and downs cancel; a small shift that lasts builds up until it crosses a limit.
The limits #
The limits are the centre plus and minus L times the spread of the weighted average. They start narrow (the first point is nearly a single reading weighted by lambda) and widen to a steady value within about ten points. SPC Prism draws the exact limit at every point, which is what lets an early shift show.
The centre and sigma #
The chart is judged against a centre: the target when the characteristic has one, otherwise the average of the oldest subgroups shown (choose "The baseline average" to use it even when there is a target). Sigma is worked out from the oldest 25 subgroups, as on the SPC workbench, unless you choose otherwise.
Choosing lambda and L #
| Lambda | L | Use |
|---|---|---|
| 0.05 to 0.1 | 2.7 | Very small shifts, a steady process |
| 0.2 | 3 | The usual choice (the default) |
| 0.3 to 0.4 | 3 | Larger shifts; behaves more like a standard chart |
The panel beside the chart compares when this chart first flags a point with when a standard chart around the same centre would.
Example #
A bore with a target of 25.000 mm and sigma 0.010 mm drifts up 0.008 mm. No single reading is near a 3-sigma limit, so a standard chart can go a hundred subgroups or more without a flag; with lambda 0.2 and L 3 the weighted average typically passes its upper limit within twenty.