A slow drift
Eight weeks in, waits are creeping up, but no single day breaks the limits. Amara uses charts that add up small differences over time.
- 09:00Look at the trend with Astrid (Data Analyst)
- 11:00EWMA and CUSUM
- 15:00Act with Aurelie (Practice Nurse Manager)
Situation 1 of 2
09:00 · Look at the trend with Astrid (Data Analyst)How do you check?
Situation 2 of 2
15:00 · Act with Aurelie (Practice Nurse Manager)What happens now?
Catching a small drift: EWMA and CUSUM
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.
| Day | Daily average wait | EWMA | EWMA upper limit | CUSUM |
|---|---|---|---|---|
| Day 1 | 4.3 | 4.22 | 4.53 | 0 |
| Day 2 | 4.1 | 4.2 | 4.62 | 0 |
| Day 3 | 4.6 | 4.28 | 4.67 | 0.12 |
| Day 4 | 4.3 | 4.28 | 4.7 | 0 |
| Day 5 | 3.9 | 4.21 | 4.72 | 0 |
| Day 6 | 4.4 | 4.24 | 4.73 | 0 |
| Day 7 | 4.9 | 4.38 | 4.74 | 0.43 |
| Day 8 | 4.7 | 4.44 | 4.74 | 0.65 |
| Day 9 | 3.8 | 4.31 | 4.75 | 0 |
| Day 10 | 3.5 | 4.15 | 4.75 | 0 |
| Day 11 | 3.9 | 4.1 | 4.75 | 0 |
| Day 12 | 4.2 | 4.12 | 4.75 | 0 |
| Day 13 | 2.9 | 3.88 | 4.75 | 0 |
| Day 14 | 4.1 | 3.92 | 4.75 | 0 |
| Day 15 | 3.5 | 3.84 | 4.75 | 0 |
| Day 16 | 4.3 | 3.93 | 4.75 | 0 |
| Day 17 | 4.5 | 4.04 | 4.75 | 0.02 |
| Day 18 | 4.6 | 4.15 | 4.75 | 0.15 |
| Day 19 | 5 | 4.32 | 4.75 | 0.67 |
| Day 20 | 5.3 | 4.52 | 4.75 | 1.5 |
| Day 21 | 4.7 | 4.56 | 4.75 | 1.72 |
| Day 22 | 5.5 | 4.74 | 4.75 | 2.75 |
| Day 23 | 4.4 | 4.68 | 4.75 | 2.67 |
| Day 24 | 4.9 | 4.72 | 4.75 | 3.1 |
| Day 25 | 5.2 | 4.82 | 4.75 | 3.82 |
| Day 26 | 4.8 | 4.81 | 4.75 | 4.15 |
| Day 27 | 4.3 | 4.71 | 4.75 | 3.97 |
| Day 28 | 4.2 | 4.61 | 4.75 | 3.7 |
| Day 29 | 4.5 | 4.59 | 4.75 | 3.72 |
| Day 30 | 4.9 | 4.65 | 4.75 | 4.15 |
- Individuals chart
limits 4.2 ± 3 × 0.55 = 2.55 to 5.85= no signal at all - EWMA
each day: 0.2 × today + 0.8 × yesterday's EWMA, starting at 4.2 - EWMA limit
4.2 + 3 × 0.55 × √(0.2 ÷ 1.8 × (1 − 0.8^(2 × day)))= 4.75 after a few days - EWMA signal
day 25: 4.82 above 4.75 - CUSUM
each day: add (today − 4.2 − 0.275) to the running total, never below 0= reference k = 0.5 × σ - CUSUM signal
total above h = 4 × 0.55 = 2.2= day 22
Try it yourself 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) |
Why not just use a more sensitive individuals chart with limits at 2 standard deviations?
Show the answer
Tighter limits give many more false alarms on normal days. EWMA and CUSUM detect small sustained shifts without that cost.
Key concepts
The ideas behind today. Concept how the work is done, in our own words · Common practice widely used ways of working.
CUSUM
- Adds up each value's distance from the target, minus an allowance k (often half a standard deviation). Signals when the sum passes h (often 4 or 5 standard deviations).
Where you will meet this: Cumulative sum (CUSUM) chart
EWMA
- A weighted average: λ × today + (1 − λ) × yesterday's EWMA, with λ often 0.2. Smooths noise and shows small shifts.
Where you will meet this: Exponentially weighted moving average (EWMA) chart
Use them together
- Standard charts catch big sudden changes quickly; CUSUM and EWMA catch small sustained ones. Many control plans use both.
Explained in our own words. This helps you understand the concepts behind the certifications; it does not reproduce or replace any official guide. Sources
Day 52 complete
2 situations today.
- To catch small, sustained shifts early, use CUSUM or EWMA charts.
- When a chart signals, follow the response plan and strengthen the control plan if a new risk appears.