The cumulative sum at case (CUSUM value) represents the running total of deviations from the expected performance level up to a specific case number.
In a binary outcome model (e.g., success = 0, complication = 1), the CUSUM at each case is calculated using the formula:
Cₙ = max(0, Cₙ₋₁ + (Xₙ - k))
Where:
Cₙ
= cumulative sum at case n
Cₙ₋₁
= cumulative sum at the previous caseXₙ
= actual outcome of the current case (0 or 1)k
= target complication rate (e.g., 0.1 for 10%)
If the target complication rate k
is 0.1 and the outcome sequence is:
C₁ = max(0, 0 + (0 - 0.1)) = 0
C₂ = max(0, 0 + (1 - 0.1)) = 0.9
C₃ = max(0, 0.9 + (0 - 0.1)) = 0.8
The curve visually builds a story of performance across cases, and the CUSUM value at each case becomes a snapshot of deviation from target performance.
Tracking the cumulative sum at each case: