Data and statistics · cheat sheet

CUSUM chart

A chart that adds up how far each value is from the target, so small sustained shifts build up and show quickly.

Common practice
5 steps
Used by Process Improvement Specialist

What it is

A CUSUM chart adds up the differences between each value and the target, minus an allowance k. Small sustained shifts build up until they cross the decision limit h.

When to use it

When small, lasting shifts matter and a standard chart would be slow to catch them.

Why it works

Standard charts are slow to catch small shifts. CUSUM catches them several times faster.

Do

  • Use it alongside a standard chart, which catches big sudden jumps faster.

Don't

  • Using it instead of, rather than alongside, a standard chart: it's slower to catch large sudden jumps.

Step by step

  1. Target and σ
  2. Choose k and h 0.5σ and 4σ to 5σ.
  3. Upper and lower sums
  4. Signal above h
  5. Act and restart
Also called: Cumulative sum chartPrint the blank template ↗

Worked example

The situation. A filling line, target 500 ml, σ = 2 ml, k = 1, h = 8.

  1. Values: 501, 502, 503, 502, 504.

The result. One more high value would cross 8: a slow drift caught before any single bottle broke the limits.

CUSUM worksheet Print blank
ValueCal­culationUpper sum
5010 + 501 − 500 − 10
5020 + 2 − 11
5031 + 3 − 13
5023 + 2 − 14
5044 + 4 − 17

Filled in for: A filling line, target 500 ml, σ = 2 ml, k = 1, h = 8.

PeriodValueValue − target − kUpper sumLower sum

Copy this structure, or print the blank version and fill it in by hand. Target ______ σ ______ k ______ h ______

Before you use it: check these

CheckIf it fails
A known target and standard deviationEstimate them from a stable period first
Used alongside a standard chartCUSUM is slow to catch large sudden jumps

How to do it with real data

The full calculation, as it happens in the story: the data, every step, how to read the result, and the spreadsheet functions to do it yourself.

Worked example with real data

Catching a small drift: EWMA and CUSUM

From Day 52: A slow drift of the Process Improvement Specialist story

After week 8 of roll-out, the locum covering two sessions starts cancelling some of them. The daily average wait creeps up by about half a day. Target 4.2 days, standard deviation 0.55.

Individuals chart: no point outside the limits02468CLUCLLCLDay 1: 4.3Day 2: 4.1Day 3: 4.6Day 4: 4.3Day 5: 3.9Day 6: 4.4Day 7: 4.9Day 8: 4.7Day 9: 3.8Day 10: 3.5Day 11: 3.9Day 12: 4.2Day 13: 2.9Day 14: 4.1Day 15: 3.5Day 16: 4.3Day 17: 4.5Day 18: 4.6Day 19: 5Day 20: 5.3Day 21: 4.7Day 22: 5.5Day 23: 4.4Day 24: 4.9Day 25: 5.2Day 26: 4.8Day 27: 4.3Day 28: 4.2Day 29: 4.5Day 30: 4.9Day 1Day 5Day 9Day 13Day 17Day 21Day 25Day 29Daily average waitEWMA chart: crosses its limit on day 2502468CLUCLDay 1: 4.22Day 2: 4.2Day 3: 4.28Day 4: 4.28Day 5: 4.21Day 6: 4.24Day 7: 4.38Day 8: 4.44Day 9: 4.31Day 10: 4.15Day 11: 4.1Day 12: 4.12Day 13: 3.88Day 14: 3.92Day 15: 3.84Day 16: 3.93Day 17: 4.04Day 18: 4.15Day 19: 4.32Day 20: 4.52Day 21: 4.56Day 22: 4.74Day 23: 4.68Day 24: 4.72Day 25: 4.82 (outside the limits)Day 26: 4.81 (outside the limits)Day 27: 4.71Day 28: 4.61Day 29: 4.59Day 30: 4.65Day 1Day 5Day 9Day 13Day 17Day 21Day 25Day 29EWMA

Step by step

  1. Individuals chartlimits 4.2 ± 3 × 0.55 = 2.55 to 5.85= no signal at all
  2. EWMAeach day: 0.2 × today + 0.8 × yesterday's EWMA, starting at 4.2
  3. EWMA limit4.2 + 3 × 0.55 × √(0.2 ÷ 1.8 × (1 − 0.8^(2 × day)))= 4.75 after a few days
  4. EWMA signalday 25: 4.82 above 4.75
  5. CUSUMeach day: add (today − 4.2 − 0.275) to the running total, never below 0= reference k = 0.5 × σ
  6. CUSUM signaltotal above h = 4 × 0.55 = 2.2= day 22
DayDaily average waitEWMAEWMA upper limitCUSUM
Day 14.34.224.530
Day 24.14.24.620
Day 34.64.284.670.12
Day 44.34.284.70
Day 53.94.214.720
Day 64.44.244.730
Day 74.94.384.740.43
Day 84.74.444.740.65
Day 93.84.314.750
Day 103.54.154.750
Day 113.94.14.750
Day 124.24.124.750
Day 132.93.884.750
Day 144.13.924.750
Day 153.53.844.750
Day 164.33.934.750
Day 174.54.044.750.02
Day 184.64.154.750.15
Day 1954.324.750.67
Day 205.34.524.751.5
Day 214.74.564.751.72
Day 225.54.744.752.75
Day 234.44.684.752.67
Day 244.94.724.753.1
Day 255.24.824.753.82
Day 264.84.814.754.15
Day 274.34.714.753.97
Day 284.24.614.753.7
Day 294.54.594.753.72
Day 304.94.654.754.15

How to read the result

The individuals chart never signals, because each day is still inside its limits. EWMA and CUSUM add up small differences over time and catch the drift within about 7 to 10 days of it starting.

What it led to

Aurelie (Practice Nurse Manager) finds the cancelled locum sessions and books a second locum. Add a CUSUM on the daily average wait to the control plan.

Do it in a spreadsheet

EWMA=0.2*B3+0.8*C2 (C2 starts at 4.2)
EWMA limit=4.2+3*0.55*SQRT(0.2/1.8*(1-0.8^(2*ROW()-2)))
CUSUM=MAX(0,E2+B3-4.2-0.275)
Try it yourself: Why not just use a more sensitive individuals chart with limits at 2 standard deviations?

Tighter limits give many more false alarms on normal days. EWMA and CUSUM detect small sustained shifts without that cost.

In the roles

How a Process Improvement Specialist uses it

A half-day drift in waits: CUSUM signals on day 22; the I-MR chart never does.

Questions people ask

Why subtract k?

So normal noise doesn't build up into false signals.

Related techniques

← All techniques and tools