Capability summary: control charts, histogram and Cpk together

Updated

A capability summary puts on one page everything you need to judge a capability study: control charts of the data, a plot of the most recent subgroups or values, a histogram against the specification limits, a normal probability plot, a capability plot comparing the process spread with the tolerance, and the capability indices. The indices are only trustworthy if the process is stable and roughly normal, and the summary lets you check both before you read the numbers.

When to use it

  • You are about to report Cpk or Ppk and want to confirm, in the same view, that the assumptions behind them hold.
  • You present a capability study to a customer, a supplier or a review board, and they expect to see the evidence, not only an index.
  • You compare a process before and after a change and want the same set of charts for both.
  • For a quick index alone, a normal capability analysis gives the same numbers with a single histogram.

How it works

A good capability summary shows six panels. For subgrouped data:

  1. Xbar chart of the subgroup means, to check that the process center is stable.
  2. R chart or S chart of the subgroup spread, to check that short-term variation is stable.
  3. Last subgroups plot: the individual values of the most recent subgroups (often the last 25), to spot a recent shift or an odd value hidden by the averages.
  4. Capability histogram with the LSL, USL and target, and the fitted normal curves for within and overall σ.
  5. Normal probability plot with an Anderson-Darling test, to check the normal assumption.
  6. Capability plot: horizontal bars for the within interval (x̄ ± 3σ_within), the overall interval (x̄ ± 3σ_overall) and the specification, next to Cp, Cpk, Pp and Ppk.

For individual data, the first two panels are an I-MR chart and the third shows the last 25 values. Within σ is then the average moving range divided by d₂ = 1.128:

σ_within = MR̄ / 1.128

With subgroups it is, by default, the pooled standard deviation divided by the unbiasing constant c₄, while the control charts keep their usual R̄/d₂ or S̄/c₄. Overall σ is always the sample standard deviation. The indices follow the usual formulas, explained in Cp vs Cpk vs Pp vs Ppk.

Example

A filling line puts 500 mL of cleaning liquid into each bottle. The specification for net volume is 497 to 505 mL. Once an hour, a technician weighs one bottle and converts the weight to volume. These are 30 consecutive hours, in order:

499.9, 499.4, 500.4, 501.0, 501.6, 500.7, 500.1, 499.9, 501.3, 502.1, 500.8, 499.5, 499.7, 502.0, 500.8, 499.0, 500.5, 499.6, 500.0, 500.2, 500.0, 501.1, 500.5, 500.1, 501.0, 501.3, 499.1, 500.4, 499.7, 500.4

Stability. The mean is 500.40 mL and the average moving range is 0.900 mL, so σ_within = 0.900 / 1.128 = 0.798 mL. The individuals chart limits are 500.40 ± 3 × 0.798, from 498.01 to 502.80 mL. The moving range chart has an upper limit of 3.267 × 0.900 = 2.94 mL; the largest moving range is 2.3. No point falls outside the limits, and none of the eight tests for special causes is triggered (the longest run on one side of the center line is 4 points).

Individuals chart of fill volume498500502Volume (mL)CL=500.4UCL=502.8LCL=498.0114710131619222528Hour
Individuals chart of fill volume

Normality. The Anderson-Darling statistic is 0.186 with a p-value of 0.90, so there is no evidence against a normal distribution, and the probability plot follows a straight line.

Fill volume against the specification0510FrequencyLSLUSL498500502504Volume (mL)
Fill volume against the specification

Capability. The overall standard deviation is 0.794 mL.

σInterval (x̄ ± 3σ)Cp / PpCpk / PpkExpected PPM
Within0.798498.01 to 502.801.671.4210
Overall0.794498.02 to 502.781.681.439
Specification497 to 505

How to read the results

Read the panels in order, and stop at the first one that fails.

  • Control charts first. Here both charts are in control, so the process is predictable and the indices describe its future, not only its past.
  • Last values. The most recent hours scatter like the earlier ones; there is no sign of a fresh shift.
  • Normal probability plot. A p-value of 0.90 supports the normal model, so the PPM estimates from the normal tails are reasonable.
  • Capability plot. Both intervals sit inside the specification, with more room above (2.2 mL to the USL) than below (1.0 mL to the LSL). Cp is 1.67 but Cpk is 1.42 because the mean is 0.6 mL below the middle of the tolerance (501 mL). Raising the fill setpoint slightly would bring Cpk closer to Cp.
  • Within against overall. Cpk (1.42) and Ppk (1.43) are almost equal, which is what a stable process looks like: there are no hour-to-hour shifts beyond the short-term noise. A clear gap between them would point back to the control charts.

Common mistakes

  • Reading the indices before the charts. A Cpk computed on an unstable or strongly nonnormal process can look fine and still be wrong.
  • Too few data. Thirty values are enough to see the method but give a wide confidence interval for Cpk; aim for 100 or more values over normal production.
  • Treating a high p-value as proof of normality. It only means the data do not contradict the normal model. Small samples rarely reject anything.
  • Using the wrong chart for the data. Subgroups of 2 to 8 usually go with an R chart, larger subgroups with an S chart, and single values with an I-MR chart. The within σ must come from the same structure.

Frequently asked questions

What is the difference between a capability summary and a capability analysis?

The capability analysis gives the indices and one histogram. The capability summary adds the control charts, the recent values, the probability plot and the capability plot, so you can check stability and normality on the same page.

What should I do if the control chart shows special causes?

Find and remove the causes, then collect new data. If a cause cannot be removed (tool wear, for example), study capability over a period that represents it, and say so in the report.

What if the probability plot is curved?

Do not trust the normal PPM estimates. Look for a reason (a physical boundary such as zero, or a mixture of two streams), and then use a nonnormal capability analysis or a Box-Cox transformation.

Why is Ppk slightly higher than Cpk in the example?

Because σ_overall (0.794) came out a little smaller than σ_within (0.798). Both are estimates from 30 values, and for a stable process they are expected to be close; a small difference in either direction is just sampling noise.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab