CUSUM Control Chart

Statistics
Introduced by
E. S. Page
Year
1954
Type
Statistical process control chart for small shifts
Family
Statistical process control

What does it do?

The cumulative sum (CUSUM) control chart, introduced by E. S. Page in 1954, monitors a process by accumulating the deviations of observations from a target value rather than judging each point in isolation.

Because small shifts that persist add up over time, the running sum can reveal them sooner than a Shewhart chart, which compares each point only with its own limits. CUSUM is therefore a common choice when the aim is to detect small, sustained changes in the process mean.

The intuition behind the method

A Shewhart chart forgets the past: each point is compared to the limits on its own, so a small shift — too small to push any single point outside three sigma — can persist undetected for a long time. CUSUM has memory. It keeps a running tally of how far observations stray from target, in one accumulator for upward drift and one for downward. As long as the process is on target, the deviations cancel and the sums hover near zero. But a small bias, repeated, makes one accumulator climb steadily; when it crosses a decision threshold, the chart signals. The accumulation is exactly what converts a faint, steady signal into a detectable one.

History

E. S. Page introduced cumulative sum schemes in his 1954 Biometrika paper 'Continuous inspection schemes', in which the CUSUM chart was studied for monitoring process means. The one-sided form with a reference value k and a decision interval h, as used in this method, is straightforward to compute in software. Within the family of memory-based charts, CUSUM is usually discussed alongside the EWMA chart, both complementing the memoryless Shewhart chart.

When to use it

Use a CUSUM chart when the priority is rapid detection of small, sustained shifts in the process mean, on the order of half a sigma to one and a half sigma, that a Shewhart chart would miss for many samples. It suits high-value or safety-critical processes, individual-measurement monitoring, and any setting where a slow drift must be caught early. It assumes a known in-control target and standard deviation, approximately independent observations, and approximately normally distributed measurements (or normal subgroup means). It is tuned through k and h to a desired average run length. Because CUSUM is comparatively slow to react to very large, abrupt shifts, it is often run alongside a Shewhart chart, which excels at those. The EWMA chart is a close alternative with similar small-shift sensitivity.

Limitations and considerations

  • Every standardized deviation uses the assumed target μ₀ and standard deviation σ; if either is misspecified, each sum is biased and the chart's false-alarm and detection behaviour changes.
  • Because each sum is floored at zero and grows only by the amount exceeding k, a very large abrupt shift takes time to reach h, whereas a Shewhart chart would flag it at once.
  • The run-length properties assume approximately independent and normally distributed observations. Autocorrelation, as noted in the pitfalls section, and strongly non-normal measurements both distort them. Check the distribution, and consider subgrouping or a suitable transformation, before relying on the tuned ARL.
  • The chart assumes μ₀ and σ are known. When they are estimated from a Phase I in-control sample, the run-length properties change, so the estimation uncertainty should be assessed before k and h are tuned.
  • The two running sums are less direct to read than a Shewhart plot with fixed limits, which makes the chart harder to explain to operators.

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

Strengths

  • The one-sided sums accumulate evidence across consecutive observations, so a small persistent shift can cross h after several samples even when no single point would breach a Shewhart limit.
  • Two separate one-sided sums monitor upward and downward shifts on the same chart.
  • The reference value k sets sensitivity to a chosen shift size, and h sets the trade-off against false alarms, expressed through a target average run length.
  • Can be applied to individual measurements as well as to subgroup statistics.

Applications

  • Detecting gradual drift in manufacturing dimensions or fill quantities.
  • Monitoring clinical and laboratory measurements for slow systematic change.
  • Surveillance of safety- or quality-critical processes where early warning matters.
  • Tracking key performance metrics for small but persistent changes.
  • Change-point detection in time-ordered measurement streams.

How it works

How it works

1

Express each observation as a standardized deviation from the in-control target μ₀, dividing by the process standard deviation. This puts the monitoring on a common scale and lets the chart be tuned in units of sigma.

Formula
z_t = \dfrac{x_t - \mu_0}{\sigma}
2

Maintain two one-sided cumulative sums. The upper sum adds the standardized deviation minus a reference value k and is floored at zero; the lower sum does the same for downward deviations. The slack parameter k (the 'allowance', typically half the shift you want to detect) prevents the sums from drifting on pure noise, so they stay near zero until a real shift accumulates.

Formula
C_t^{+} = \max\!\big(0,\ C_{t-1}^{+} + z_t - k\big),\quad C_t^{-} = \max\!\big(0,\ C_{t-1}^{-} - z_t - k\big)
3

Signal an out-of-control condition when either cumulative sum exceeds the decision interval h. Crossing h indicates that the accumulated evidence of a shift is too large to be attributed to chance variation at the false-alarm rate the chart was tuned for. The pair (k, h) is chosen to balance quick detection against false alarms.

Formula
\text{signal if } C_t^{+} > h \ \text{or}\ C_t^{-} > h
4

The parameters are set against a target average run length (ARL), the expected number of samples between signals when the process is in control. In the tuning guidance, k is taken near half the shift (in sigma units) you most want to catch. h is then chosen jointly with k so that the chart attains the specified ARL both at the target mean and at the smallest shift worth detecting quickly; published ARL tables or software carry out this calculation. Values of about 4 to 5 are often quoted for h in this tuning, but they are illustrative only, since the required h depends on k and on the ARL targets. After a signal and corrective action, the sums are restarted at zero, or at a non-zero head-start value (a chosen starting value that makes the chart react faster just after restart), before monitoring resumes.

Formula
k \approx \tfrac{1}{2}\delta,\quad h \approx 4\text{–}5 \ (\text{tuned to ARL})

Common pitfalls

  • Choosing k and h arbitrarily instead of from the desired ARL and shift size.
  • Applying it to autocorrelated data without adjustment, inflating false alarms.
  • Forgetting to reset (or apply a head start to) the sums after a signal and correction.
  • Using it alone when large abrupt shifts are also a concern, where Shewhart is faster.

Frequently asked questions

How does CUSUM differ from a Shewhart chart?

A Shewhart chart judges each point against fixed limits, so it reacts fast to large shifts but slowly to small ones. CUSUM accumulates deviations from target over time, giving it memory and making it faster at detecting small, sustained shifts at the cost of a slower response to large abrupt ones.

What do the parameters k and h mean?

k is the reference value or 'allowance', usually set to about half the shift (in sigma units) you want to detect; it keeps the cumulative sums from drifting on noise. h is the decision interval — the threshold the sums must cross to signal. Together they are chosen to achieve a target average run length.

Should I use CUSUM or EWMA?

Both are memory-based charts with similar sensitivity to small shifts. CUSUM is tuned to a chosen shift size through k and h, while EWMA is governed by a single smoothing parameter. The choice between them is often a matter of convention, familiarity and the software available, and it is worth checking the shift sizes that matter for the process at hand.

Related methods

Sources

  1. Page, E. S. (1954). Continuous inspection schemes. Biometrika, 41(1/2), 100–115.

    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, p. 4