Nonnormal capability analysis: Ppk for skewed data, with example

Updated

A nonnormal capability analysis measures how well a process meets its specification when the data do not follow a normal distribution. Instead of the normal curve, it fits a distribution that matches the shape of the data (lognormal, Weibull, gamma, exponential and others), then reads the tail areas and percentiles of that distribution to compute Pp, Ppk and the expected parts per million out of specification.

When to use it

  • The characteristic has a natural boundary and the data pile up against it: flatness, runout, roundness, particle counts, leak rate, time to complete a task. These are often skewed to the right.
  • A normality test rejects the normal distribution, and the reason is the physics of the process, not a special cause or a mixture of two streams.
  • You need trustworthy PPM in the tail. A normal fit to skewed data usually underestimates the long tail, exactly where the specification limit sits.
  • If you prefer to work on a normal scale, a Box-Cox or Johnson transformation is the alternative.

How it works

  1. Choose a distribution. Fit candidates and compare them with individual distribution identification: the Anderson-Darling statistic and the probability plot show which one follows the data. Prefer a distribution that also makes physical sense.
  2. Estimate its parameters, usually by maximum likelihood.
  3. Compute expected PPM as the fitted distribution's area beyond each specification limit, times 10⁶.
  4. Compute the indices. Without a normal curve there is no single σ, so the "±3σ" spread is replaced by the percentiles that would sit at ±3σ in a normal distribution: the 0.135th percentile, the median and the 99.865th percentile. This is the percentile method:
Pp = (USL − LSL) / (X₀.₉₉₈₆₅ − X₀.₀₀₁₃₅) PPU = (USL − X₀.₅) / (X₀.₉₉₈₆₅ − X₀.₅) PPL = (X₀.₅ − LSL) / (X₀.₅ − X₀.₀₀₁₃₅) Ppk = min(PPU, PPL)

A second convention, the Z method, converts the expected fraction out of specification p into the index a normal process would need to produce it: Ppk = Φ⁻¹(1 − p) / 3. For normal data both methods agree; for skewed data they differ, so state which one you report. Both describe overall performance; within-subgroup indices (Cp, Cpk) are not usually reported for a fitted nonnormal distribution.

Example

A machining cell grinds the sealing face of a pump housing. The drawing allows a flatness of at most 40 µm (USL = 40, no lower limit; flatness cannot go below 0). These are 30 housings from one week, in µm:

8.2, 10.2, 23.3, 14.8, 5.3, 11.0, 8.3, 11.8, 5.3, 12.3, 12.2, 22.4, 12.7, 13.8, 5.6, 30.3, 4.6, 18.1, 9.5, 7.4, 8.2, 8.1, 13.1, 10.5, 21.4, 4.8, 11.0, 7.4, 15.6, 4.2

Flatness of the sealing face0369FrequencyUSL010203040Flatness (µm)
Flatness of the sealing face

The histogram has a long right tail. The mean is 11.71 µm, the standard deviation 6.25 µm and the median 10.75 µm.

If you assumed normality: PPU = (40 − 11.71) / (3 × 6.25) = 1.51, and the normal curve predicts about 3 PPM above 40 µm. But the Anderson-Darling test rejects the normal model (A² = 0.955, p = 0.014), and the same curve predicts that 3% of housings have negative flatness, which is impossible.

With a lognormal fit: the natural logarithms of the data have mean μ = 2.334 and maximum-likelihood standard deviation σ = 0.503. The Anderson-Darling test on the lognormal fit gives A² = 0.223, p = 0.81, and the probability plot is straight. The percentiles are Xₚ = exp(μ + σ·zₚ):

PercentileValue (µm)
X₀.₀₀₁₃₅2.28
X₀.₅ (median)10.32
X₀.₉₉₈₆₅46.66

PPU = (40 − 10.32) / (46.66 − 10.32) = 0.82. The expected fraction above 40 µm is 1 − Φ((ln 40 − 2.334) / 0.503) = 0.00353, or about 3,530 PPM. With the Z method, Ppk = Φ⁻¹(1 − 0.00353) / 3 = 0.90.

How to read the results

  • The normal answer was wrong by a factor of a thousand. About 3 PPM against about 3,530 PPM. The difference is entirely in the right tail, which the normal curve cuts short.
  • The process is not capable. Ppk is 0.82 by the percentile method and 0.90 by the Z method, both well under 1.33. None of the 30 housings exceeded 40 µm, but the lognormal model says roughly one in 280 will.
  • Look at the drivers of the tail. For flatness, that is often clamping force, part temperature or wheel dressing. Reducing the median helps too, because the lognormal spread scales with it.
  • Check the fit before the indices. If several distributions fit equally well, compare their PPM. When they disagree a lot, the data cannot tell them apart and you need more measurements.

Common mistakes

  • Choosing the distribution that gives the best Ppk. Choose by fit and physics, then accept the index it gives.
  • Fitting a distribution to an unstable process. A mixture of two machines or a shift in the middle can look skewed. Check a control chart and split the data by source first.
  • Trusting the far tail with few data. Thirty values pin down the middle of a distribution, not its 99.865th percentile. The tail comes from the model, so the model choice matters more than the decimals.
  • Mixing methods across reports. Percentile-method and Z-method Ppk differ on the same data (0.82 and 0.90 here). Use one consistently.

Frequently asked questions

Which distribution should I try first?

For one-sided characteristics bounded at zero (flatness, runout, impurity), the lognormal and the Weibull are the usual first candidates. Compare them on probability plots with individual distribution identification.

Is a transformation better than fitting a distribution?

Neither is better in general. A transformation lets you keep normal-based tools such as control charts; fitting a distribution keeps the original units. Both should give similar PPM when both fit well.

Can I report Cpk for nonnormal data?

Cpk is defined from within-subgroup variation of a normal process. For a fitted nonnormal distribution, report Ppk and PPM. If a customer requires Cpk, discuss with them which method they accept.

Why does the normal fit predict values below zero?

Because the normal curve is symmetric and extends without limit in both directions. When the mean is only about two standard deviations above a physical boundary, the curve puts a visible share of its area beyond it. That is a strong sign the normal model is the wrong shape.

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