When to use it
You monitor individual measurements against a known target and want the quickest possible alarm for a small sustained shift (the size you tuned k for), e.g. a 1σ drift in a critical dimension.
When not to: Detecting large, sudden shifts (an ordinary individuals chart with Western Electric run rules is adequate and simpler to read), monitoring VARIANCE rather than the mean (this chart tracks a mean shift only), or reading the chart with the same run-pattern rules used on Shewhart charts: those rules do not apply here because CUSUM points are deliberately correlated.
Step by step
Open it from the menu
Click Quality in the menu bar; under Time-Weighted choose CUSUM Chart (Tabular Cumulative Sum).
Fill in the form
Choose the columns: What you measured (a number column). The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Reference value k (σ units), Decision interval h (σ units), Target (μ₀), Known process σ, FIR 50% head start. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| What you measured (a number column) Measurement required | One numeric column. The continuous measurement, in time order |
|---|---|
| Reference value k (σ units) | Half the shift (in σ) to detect fastest. Classic default 0.5 (tuned for a 1σ shift). Default: 0.5. |
| Decision interval h (σ units) | Signal when C⁺ or C⁻ exceeds H = hσ. Classic default 5 (ARL₀ ≈ 465 with k = 0.5). Default: 5. |
| Target (μ₀) | Known process target. Blank = sample mean. |
| Known process σ | Blank = estimate σ = MR̄/d₂ from the data. |
| FIR 50% head start | Start C⁺ and C⁻ at H/2 (faster detection of an initially off-target process). Default: off. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Independence of observations
If it does not hold: Autocorrelated data break the CUSUM's calibration: positive autocorrelation makes the moving-range estimate of sigma too small and lets the sums drift on their own, so the decision interval is too tight and false alarms multiply, while negative autocorrelation inflates the moving-range estimate and slows detection of a real shift.
How to check: Ljung-Box lag-1 test on the individual observations, reported directly on the card as an 'Independence & rational ordering' check; not testable on fewer than 8 points or a zero-variance series, which the card states honestly rather than fabricating a verdict.
- Normality (of residuals, not of the raw data)
If it does not hold: CUSUM's average-run-length properties are derived assuming normal, independent observations; non-normal data change the true in-control and out-of-control run lengths from their nominal design values.
How to check: Not checked by KernelStats: no normality test is run on the underlying observations.
A worked example
A dimensional measurement monitored against a target of 10.0 (sigma = 1.0, estimated from historical data), with k=0.5 and h=5 (Montgomery's classic tuning), watched for a sustained 1-sigma upward shift.
Result: C+ crosses H = 5.0 at observation 29, with the counter-based estimate placing the shift's onset near observation 23 and the new mean at approximately 11.25.
The process shifted upward by roughly one standard deviation partway through the run, and the CUSUM detected it markedly faster than an ordinary individuals chart would have, consistent with CUSUM's design purpose of fast detection of small sustained shifts.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Did the process mean shift up by about one standard deviation, and exactly when did the shift begin?
- Explain the CUSUM chart (tabular cumulative sum) in plain words.
- What does no (residual) autocorrelation mean?
Last reviewed November 16, 2026.
