Understand the idea
A control chart answers 'is my process stable and predictable?' A capability study asks a completely different question: 'assuming my process IS stable, is it actually good enough to meet what the customer needs?' It does this by comparing the process's own natural spread (the 'voice of the process') against the specification window the customer set (the 'voice of the customer', upper minus lower spec limit).
There are actually two versions of each capability index, and the difference matters. Cp and Cpk use SHORT-TERM spread (how much the process varies from one measurement to the very next one, with slow drift removed); this is the process's inherent, best-case capability. Pp and Ppk use LONG-TERM spread (the ordinary standard deviation across everything, including slow drift between batches); this is what the process actually delivered over the whole period observed. The gap between Cp and Pp tells you specifically how much drift crept in between subgroups over time.
Cp and Pp only measure POTENTIAL capability: they ignore whether the process is actually centered on target. Cpk and Ppk correct for this by specifically penalizing an off-center process, using whichever spec limit the process center sits closer to. A process can have excellent Cp (plenty of room between the spec limits relative to its spread) but poor Cpk (because it's running way off to one side): the gap between the two numbers is itself the diagnostic for a centering problem.
Practitioner explanation
KernelStats computes sigma_within from the average moving range (MRbar/d2, d2=1.128 for consecutive-point moving ranges) when neither a Subgroup column nor a subgroup size is given, from within-subgroup variation when a Subgroup column is supplied (text or numeric; the same column an X-bar chart accepts), or from consecutive chunks of k rows when 'Subgroup size' is set to k >= 3 with the column left blank; the size field is blank by default (blank or 2 means the moving range), and when both are given the column wins and the card says the size was ignored, the one rule every Quality form follows. sigma_overall is the ordinary ddof=1 sample standard deviation across everything. Cp = (USL-LSL)/(6*sigma_within), Cpk = min((USL-mu)/(3*sigma_within), (mu-LSL)/(3*sigma_within)); Pp and Ppk use sigma_overall in place of sigma_within with the identical formula shape. Cp/Pp require a TWO-SIDED specification (both LSL and USL) and are reported as None for a one-sided spec, since 'potential capability' has no meaning without both limits to measure the window against.
Expected defect rate (PPM) is computed TWO different ways and both are reported side by side: model-expected PPM from the normal CDF (assuming the measurement genuinely follows a normal distribution) and OBSERVED PPM (the actual empirical fraction of data points outside the limits); reporting both makes a normality mismatch between the model's prediction and the data's actual behavior directly visible rather than hidden behind a single number.
The Learn More content states the assumption chain directly and in order: the process must be IN STATISTICAL CONTROL first (checked with a control chart, not by this function), the measurement should be approximately NORMALLY DISTRIBUTED (since the textbook PPM/interpretation of the indices relies on it), and observations should be in TIME/PRODUCTION ORDER when sigma_within is estimated from the moving range (since a moving range's meaning depends on adjacency in time). When normality fails, the product does not silently proceed with a misleading number: it names Non-normal Capability (Percentile Method) (the percentile-method alternative that fits a distribution and uses ISO 22514-4 percentile-based indices) as the specific, registered tool to reach for instead.
When to use it
Consider it when
The process has already been shown to be in statistical control (stable on a control chart), and you want to know whether it can reliably meet a customer's specification window (one or both of a lower and upper spec limit).
Use caution when
The process has NOT yet been shown to be stable (run a control chart first; capability indices computed on an unstable process are not meaningful), the measurement clearly fails a normality check (use the non-normal capability analysis, the percentile-method alternative, instead), or observations are not in time/production order when relying on the moving-range-based within-sigma estimate.
Formulas and symbols
Cp (potential capability, short-term)
sigma_within estimated from the moving range (MRbar/d2), from within-subgroup variation when a Subgroup column is given, or from consecutive chunks of k rows when a Subgroup size k >= 3 is given; ignores process centering.
Cpk (actual short-term capability)
Penalizes an off-center process by using the closer spec limit.
Expected PPM (model-based, normal assumption)
Computed from the normal CDF assuming the measurement is normally distributed; reported alongside the OBSERVED (empirical) PPM for comparison.
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). Cp/Cpk/Pp/Ppk convert distances from the mean into defect-rate estimates through the NORMAL tail; on skewed or heavy-tailed data the true out-of-spec rate can be many times the number the normal-based PPM reports.
In KernelStats: Shapiro-Wilk (sampled for very large n) and an Anderson-Darling cross-check on the raw measurements, both reported directly on the card; when they disagree with normality, Non-normal Capability (Percentile Method)'s percentile method is the honest alternative.
Alternatives
- Non-normal Capability (Percentile Method). The measurement fails a normality check: fits a distribution by maximum likelihood and computes ISO 22514-4 percentile-based capability indices instead of assuming normality.
- I-MR Chart (Individuals & Moving Range). The process has not yet been confirmed stable: run this first, since capability indices are not meaningful for an unstable process.
Worked example
Scenario
A fill-weight process with LSL=495g, USL=505g, subgroup size 2 (moving range), assessed after confirming stability on a control chart.
Result
mu = 500.2g, sigma_within = 1.1g, sigma_overall = 1.4g; Cp = 1.52, Cpk = 1.45; Pp = 1.19, Ppk = 1.14.
Interpretation
Cp and Cpk are close together (1.52 vs 1.45), indicating the process is reasonably well-centered with adequate short-term potential capability rated 'capable'. But Pp and Ppk are noticeably lower than their short-term counterparts, revealing meaningful between-subgroup drift over the longer term that the moving-range-based short-term estimate does not capture, worth investigating even though the short-term numbers look comfortable.
Common misconceptions
Misconception
A good Cpk value on its own confirms the process is stable and ready for capability reporting.
Correction
Capability indices are only MEANINGFUL when the process is already known to be in statistical control; this function does not itself check stability. A process that is still drifting or shifting can produce a misleadingly high or low Cpk that says nothing reliable about future performance; always 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
Misconception
Cp and Cpk being similar to Pp and Ppk, or very different, doesn't tell you anything specific about the process.
Correction
The GAP between Cp and Cpk specifically diagnoses a CENTERING problem (the process spread is fine, but it's running off-target). The GAP between Cp and Pp specifically diagnoses BETWEEN-SUBGROUP DRIFT (short-term spread looks fine, but the process wanders over longer time spans). These two gaps are genuinely different diagnostics, not redundant restatements of the same issue.
References
- NIST/SEMATECH e-Handbook of Statistical Methods, §6.1.6 What is Process Capability?, NIST/SEMATECH (2012), §6.1.6.
- Introduction to Statistical Quality Control, Montgomery, D. C. (2019).
