Is the process stable, and is it capable? (control chart, process capability Cp and Cpk, count charts)
In brief
A control chart shows values in the order of measurement, together with limits within which they lie when a process is stable. A point outside or a long run on one side is a signal: something has changed. Cp and Cpk (process capability) say whether the stable process fits within the specification limits.
When
- Measured values (numbers) in the order of the rows: at least five values, better 20 to 25.
- For counts (how many items are defective, how many defects were found) there are the count charts, also with at least five samples.
How it works in Statable: measured values
- Run the card "How is something distributed?" with the number column. Under the result open the section "Control chart and process capability (course of the values)".
- Choose the column. "Values per subgroup" stays at 1 for individual values, or up to 10 for subgroups of consecutive rows; then "Measure the spread of the subgroup with": range (X̄-R, for small groups) or standard deviation (X̄-S, from about 10 values per group).
- Optionally enter "Lower specification limit (optional)" and "Upper specification limit (optional)". Statable then calculates Cp and Cpk.
Reading the result: measured values
- The limits are the mean ± 3 standard deviations. The standard deviation is estimated from the spread within: for individual values from the jumps from value to value (moving range), for subgroups from the range or standard deviation in each group. This fits the idea that only random spread within is included.
- Signals are a point outside the limits or nine points in a row on one side of the centre line (Nelson 1984). With signals the causes are to be looked for before the capability is interpreted.
- Cp = width of the tolerance divided by 6 standard deviations (within). Cpk additionally takes into account how far the mean lies from the centre. From 1.33 it is often called "capable" (rule of thumb). Pp and Ppk are calculated the same way with the overall standard deviation.
- Statable also states how many values lie outside the specification limits.
How it works in Statable: count charts
- In the same area open the section "Control chart for counts (defective items, defects)".
- Choose the type: "Proportion defective (p)", "Number defective, same sample size (np)", "Number of defects, same area (c)" or "Defects per unit, changing area (u)".
- Choose the "Column with the counts", with p and u also the column with the sample size or area (with np enter the fixed size). The counts must be whole numbers from 0.
- The limits are the centre line ± 3 standard deviations of the count distribution (p and np by the binomial distribution, c and u by the Poisson distribution). With changing sample size the limits change from point to point.
- If the expected number is below 5 the limits are only rough, because rare events do not scatter symmetrically.
What is often misunderstood
A control chart shows whether the process is stable, not whether it is good. Cp and Cpk assume a stable process (without signals) and approximately normally distributed values; with fewer than 20 values they are uncertain. The limits assume independent samples.
Reporting the result
Report: the type of chart (individual values, X̄-R, X̄-S or the count charts p, np, c, u), the number of points and the size of the subgroups, how the limits arose (centre line ± 3 standard deviations from the within-spread), number and position of the signals with the rule that triggered them, only then Cp and Cpk with the tolerance limits. If the process was not stable, capability holds only with a reservation; that belongs in the sentence. Also: Pp, Ppk and the number of values outside the tolerance. Control charts are described in ISO 7870-2 (Shewhart charts); the signal rules follow Nelson (1984, Journal of Quality Technology 16, 237-239); Cpk from 1.33 as "capable" is a rule of thumb.
The control chart for individual values (… measurement points) had the centre line … and the limits … to … (± 3 standard deviations within). There were … signals ([point outside the limits / nine points in a row on one side] at point …). With tolerance limits from … to … Cp = …, Cpk = … (Pp = …, Ppk = …). Count chart: p chart with n = … per sample, centre line p̄ = …, … signals.
For specialists
Individual values (I-MR): σ_within = MR̄ / d₂ with d₂ = 1.128, limits x̄ ± 3 σ_within, upper limit of the MR chart D₄ · MR̄ with D₄ = 3.267. Cp = (USL - LSL) / (6 σ_within), Cpk = min(USL - x̄, x̄ - LSL) / (3 σ_within). Count charts: p̄ ± 3 √(p̄ (1 - p̄) / n), np̄ ± 3 √(n p̄ (1 - p̄)), c̄ ± 3 √c̄, ū ± 3 √(ū / n). Reference values: R qcc.
Sources
Montgomery, D. C. (2019). Introduction to statistical quality control (8th ed.). Wiley. Nelson, L. S. (1984). The Shewhart control chart - tests for special causes. Journal of Quality Technology, 16, 237-239. Scrucca, L. (2004). qcc: An R package for quality control charting and statistical process control. R News, 4(1), 11-17.