Understand the idea
Ordinary Cpk secretly assumes your measurements are bell-shaped (normal): it defines 'capable' as the specification limits sitting at least three standard deviations from the center, and that '3 sigma' distance is only tied to a defect rate through the normal distribution's tail. If your data are actually skewed (cycle times that can only be positive and occasionally run very long, for instance), that assumption breaks, and a normal-based Cpk can report a great-looking number while the process is actually shipping far more out-of-spec product than advertised.
This tool fixes that by finding a distribution shape that actually fits your data (trying normal, lognormal, exponential, Weibull, and gamma, and picking the one that fits best), then reading the equivalent of 'three standard deviations out' directly off THAT distribution's own percentiles: the 0.135th and 99.865th percentiles, the same two points that ordinary +/-3 sigma reduces to when the data really are normal.
The card deliberately shows both numbers side by side: the honest, fitted-distribution capability AND what a normal-based analysis would have claimed. If they are close, your process was forgiving of the normality shortcut. If they are far apart, that gap is itself the warning: it shows exactly how misleading a normal-based Cpk would have been on this process.
Non-normal capability indices, sometimes loosely called non-normal Cpk, replace plus or minus 3 standard deviations with the actual 0.135th and 99.865th percentiles of the fitted distribution. This percentile method Ppk is often called the Clements method, after the engineer who proposed it, and it is the approach set out in the ISO 22514-4 standard.
Practitioner explanation
KernelStats fits normal, lognormal, exponential, Weibull, and gamma candidates by maximum likelihood (reusing the distribution-fitting engine), ranks them by AIC, and by default reports the AIC-best fit (distribution = auto), or a forced family when engineering knowledge specifies one (e.g. Weibull for strength/fatigue data). Distributions requiring strictly positive data (lognormal, Weibull, gamma, exponential) are silently skipped in auto mode when the data contain zero or negative values, but requesting one of them explicitly on non-positive data is refused by name rather than silently falling back.
Pp/Ppk are computed from the fitted distribution's 0.135%, 50%, and 99.865% percentiles: Pp = (USL-LSL)/(X_99.865 - X_0.135), Ppu/Ppl built around the MEDIAN (not the mean) as the center, Ppk = min(Ppu, Ppl). For a normal fit these formulas reduce EXACTLY to the classic Pp/Ppk, which is the ISO 22514-4 (Clements-style) generalization rather than a different concept. Expected PPM is computed from the fitted distribution's actual tail probability at each spec limit, and reported next to the observed (empirical) out-of-spec rate for comparison.
This capability figure inherits the fit's own tail uncertainty: with fewer than roughly 30-50 observations the extreme percentiles used in Pp/Ppk are extrapolations from a maximum-likelihood fit, not directly observed data, so the Anderson-Darling goodness-of-fit test is shown alongside every result, the same formal 5% test Distribution Fitting uses, with the small-sample A* statistic judged against the family's estimated-parameter critical value, and a 'Rejected at 5%' verdict is a signal to collect more data or consider a Box-Cox transform rather than trust the reported index. This function does NOT check whether the process is in statistical control (stable over time); that is a control chart's job, run first, since no capability index of any kind is meaningful for a process that is still shifting.
When to use it
Consider it when
Capability data fail a normality check (skewed cycle times, flatness/roundness measurements, strength/fatigue data) and a normal-based Cp/Cpk would misstate the true out-of-spec rate.
Use caution when
A process that has not yet been shown to be in statistical control (run a control chart first; no capability index rescues an unstable process), fewer than about 10 observations (the engine refuses outright) or fewer than 30-50 (percentiles become fit-driven extrapolations rather than data-supported estimates), or when the best-fitting distribution is still rejected by the Anderson-Darling test at the 5% level, in which case a Box-Cox transform or a nonparametric empirical-percentile study is more defensible than trusting the parametric fit.
Formulas and symbols
Percentile-method Pp
X_q the q-th percentile of the fitted (best-by-AIC, or forced) distribution. Reduces exactly to the classic Pp for a normal fit.
Percentile-method Ppk
X_0.5 the fitted median, used as the center in place of the mean.
Normal-assumption Ppk, for comparison
Computed from the raw sample mean and SD regardless of fit, reported alongside the percentile-method Ppk so the size of any discrepancy is visible.
Assumptions and checks
- Capability indices describe a STABLE process; a process still drifting or containing special-cause variation makes any capability number the description of an unrepeatable snapshot, not a forecast of future output.
In KernelStats: Not computed from the data: the card always shows this as a standing reminder (severity 'warn') to run a control chart first; it does not itself test for statistical control.
- Normality (of residuals, not of the raw data). This method exists precisely because the plain normal-distribution capability formulas fail when the data are non-normal; even here, a poor fit of whichever candidate wins (normal, lognormal, exponential, Weibull, gamma) means the fitted percentiles, and therefore Pp/Ppk, are themselves unreliable.
In KernelStats: Shapiro-Wilk and an Anderson-Darling normality cross-check on the raw measurements (confirming normality is indeed violated, which is why this method was chosen), plus a second Anderson-Darling goodness-of-fit test on whichever candidate distribution actually won by AIC, judged at the 5% level against the same estimated-parameter critical values Distribution Fitting uses ('Rejected at 5%' / 'Not rejected at 5%').
- With fewer than roughly 30-50 observations, the extreme percentiles (0.135% and 99.865%) the indices are built from are long extrapolations from the fitted curve, not directly-observed data, so Pp/Ppk become unstable and sensitive to which distribution was chosen.
In KernelStats: Partially: the engine refuses fewer than 10 observations and adds a data warning below 30 that the extreme fitted percentiles are extrapolations; between 30 and roughly 50 no warning is raised, and the Anderson-Darling diagnostic is the practical signal to watch.
Alternatives
- Process Capability (Cp / Cpk / Pp / Ppk). The measurement passes a normality check: the standard normal-theory Cp/Cpk/Pp/Ppk is simpler and does not require fitting a distribution family.
- Distribution Fitting. You want to explore or report the distribution fit itself (parameters, AIC ranking, goodness-of-fit) independent of a capability study against specification limits.
- I-MR Chart (Individuals & Moving Range). You have not yet established that the process is stable over time: confirm control before computing any capability index.
Worked example
Scenario
Cycle times for 120 service calls, right-skewed and failing Shapiro-Wilk, assessed against a 30-minute upper specification limit.
Result
Lognormal wins by AIC (not rejected by Anderson-Darling at 5%); fitted-percentile Ppk = 1.02 (expected 1,350 ppm above spec) versus a normal-assumption Ppk of 1.31 (expected about 42 ppm above spec, since 3 x 1.31 = 3.93 standard deviations) computed on the same data.
Interpretation
The normal-based analysis would have understated the true out-of-spec rate by about 30-fold, exactly the failure mode non-normal capability analysis exists to catch. The fitted lognormal figure (1,350 ppm) is the number to act on, not the reassuring but wrong normal-assumption figure.
Common misconceptions
Misconception
Cpk is Cpk regardless of the shape of the data, so it's fine to compute the ordinary formula on skewed measurements.
Correction
The textbook Cpk formula silently assumes normality, because it converts a distance in standard deviations into a defect rate through the NORMAL distribution's tail specifically. On a right-skewed distribution the true upper tail is fatter than a normal tail of the same standard deviation, so a normal-based Cpk can report a comfortable-looking number while the process actually ships many more defects than that number implies.
Read more: Misconception: Cpk is meaningful even for a process that is not in statistical control
Misconception
A high Ppk (fitted or normal) proves the process is stable and ready for capability reporting.
Correction
Capability indices, of either kind, assume the process is already in statistical control (stable, predictable variation over time). A process that is still shifting or trending can produce a misleadingly high or low capability snapshot that says nothing reliable about future performance: confirm control with a control chart before trusting any capability index.
Read more: Misconception: Cpk is meaningful even for a process that is not in statistical control
References
- Process capability calculations for non-normal distributions, Clements, J. A. (1989), Quality Progress, 22(9), 95-100.
- ISO 22514-4:2016 Statistical methods in process management — Capability and performance — Part 4: Process capability estimates and performance measures, International Organization for Standardization (2016).
