Same data. Classical SPC flags issues.
Bayesian SPC explains why.
180 bore diameter measurements from a real CNC machining process. Classical analysis flags out-of-control points. Bayesian analysis decomposes what’s driving them and what to do about it.
What Classical SPC Shows
- Cpk = 1.71 exceeds 1.33 threshold. Capability passes.
- 6 of 36 subgroup means outside control limits — process is not in statistical control.
- Run of 3 consecutive points above UCL (SG14-16). Followed by a drop below LCL (SG17). Classical tools flag these but can’t explain why.
- Recommendation: Investigate OOC points. Capability passes but the process isn’t stable.
What Bayesian SPC Adds
| Lot | Obs | Cpk | σ | Status |
|---|---|---|---|---|
| LOT-001 | 1–80 | 1.14 | 0.0131 | Shift at obs 66 — fails 1.33 |
| LOT-002 | 81–140 | 1.08 | 0.0127 | Below threshold |
| LOT-003 | 141–160 | 2.47 | 0.0064 | Excellent — but n=20 |
| LOT-004 | 161–180 | 1.80 | 0.0074 | Passes — but n=20 |
- LOT-001 (Cpk 1.14) and LOT-002 (Cpk 1.08) both fall below the 1.33 threshold. Pooling across lots inflated the overall Cpk to 1.71.
- Mean shift of +0.024mm detected at obs 66 (late LOT-001). Classical SPC flagged the OOC points but couldn’t attribute them to a specific cause. BOCPD pinpoints the timing.
- Post-shift regime (obs 66–80): $0.280/unit Taguchi loss, 85% from bias. 8.5× worse than baseline. The corrective action is to re-center, not tighten tolerances.
- LOT-003/004 show excellent capability (Cpk 2.47/1.80) but each has only n=20 — posteriors are wide. 30 more observations would narrow the credible interval by ~36%.
- Recommendation: Investigate the obs 66 shift (tool wear? fixture drift?). Quarantine LOT-001/002 material for review. Collect more data on LOT-003/004 to confirm capability.
What Bayesian SPC adds to your analysis
1Segment-level visibility
Classical SPC computes one Cpk = 1.71 from all 180 observations, mixing four material lots with very different behavior. Bayesian SPC segments by lot and finds LOT-001 at 1.14 and LOT-002 at 1.08 — both below threshold. Pooling masked two failing lots.
2Honest uncertainty
LOT-003 shows Cpk = 2.47 — impressive, until you note it’s based on only 20 observations. The posterior credible interval is wide. Bayesian SPC quantifies this uncertainty instead of hiding it behind a point estimate. More data would shrink the CI by ~36%.
3Structured shift detection
Classical SPC flagged 6 OOC subgroups — but what caused them? BOCPD pinpoints the shift at observation 66: a +0.024mm mean shift in late LOT-001, likely tool wear or fixture drift. The classical chart sees the symptoms. Bayesian analysis structures the diagnosis.
4Loss decomposition
Classical SPC gives you in-spec or out-of-spec. Taguchi Loss quantifies cost per unit and decomposes it into bias (off-center) vs variance (spread). The post-shift regime costs $0.280/unit — 8.5× baseline — and 85% is bias. That tells you to re-center, not tighten tolerances.
Try Bayesian SPC on your own data
Upload your process data and get per-lot capability posteriors, changepoint detection, and Taguchi loss analysis. Free tier available.
Start Free Try Bayesian Cpk Calculator