Nonparametric capability analysis: Ppk without a distribution

Updated

A nonparametric capability analysis estimates process capability without assuming any distribution. Instead of fitting a normal or other curve, it reads the 0.135th percentile, the median and the 99.865th percentile directly from the sorted data and uses them in place of x̄ − 3σ, x̄ and x̄ + 3σ. It is the method of last resort when no distribution fits, and it needs a large sample to work.

When to use it

  • You have many measurements (several hundred or more) from a stable process, and neither a normal distribution, a fitted nonnormal distribution nor a transformation describes them well.
  • The shape has a clear physical cause that no standard distribution captures, such as a flat-topped distribution from steady tool wear between tool changes.
  • You want a check on a model-based Ppk: if the percentile estimate and the model disagree strongly, the model's tail is suspect.
  • With fewer than several hundred values, do not use it. Fit a distribution instead (see individual distribution identification).

How it works

Sort the n values. Estimate each percentile Xₚ at rank (n + 1)p, interpolating between neighboring values, the same rule used for quartiles. Then:

Pp = (USL − LSL) / (X₀.₉₉₈₆₅ − X₀.₀₀₁₃₅) PPU = (USL − X₀.₅) / (X₀.₉₉₈₆₅ − X₀.₅) PPL = (X₀.₅ − LSL) / (X₀.₅ − X₀.₀₀₁₃₅) Ppk = min(PPU, PPL)

For a normal process these are the usual Pp and Ppk, because the 0.135th and 99.865th percentiles of a normal distribution sit at μ − 3σ and μ + 3σ.

The catch is sample size. The 0.135th percentile is the value below which 1.35 parts in 1,000 fall. With the (n + 1)p rule, its rank (n + 1) × 0.00135 is at least 1 only when n is 740 or more; with fewer values, the percentile lies beyond the smallest observation and cannot be estimated without a model. Even above 740 values, the extreme percentiles depend on the one or two most extreme values, so they are noisy. Some methods smooth the tails with a kernel density estimate; the principle is the same.

The other nonparametric measure is the observed fraction out of specification. When no parts are out of specification in n, an exact 95% upper confidence bound on the true fraction is 1 − 0.05^(1/n), close to 3/n.

Example

A lathe bores valve bodies to 20.020 ± 0.025 mm (LSL = 19.995, USL = 20.045). The insert wears steadily, so the bore grows by about 0.020 mm over the 100 parts between insert changes, and then drops back. Every part over eight insert lives was measured: 800 bores. Steady wear followed by a reset gives a flat-topped histogram, and the Anderson-Darling test rejects the normal distribution (A² = 4.61, p < 0.0001).

Bore diameter of 800 valve bodies020406080FrequencyLSLUSLTarget20.0020.0220.04Bore (mm)
Bore diameter of 800 valve bodies

The ranks of the three percentiles are 801 × 0.00135 = 1.08, 801 × 0.5 = 400.5 and 801 × 0.99865 = 799.92. The five smallest values are 20.002, 20.004, 20.004, 20.004 and 20.005; the five largest are 20.031, 20.031, 20.031, 20.032 and 20.032. So:

  • X₀.₀₀₁₃₅ = 20.002 + 0.08 × (20.004 − 20.002) = 20.0022
  • X₀.₅ = 20.018 (both values at ranks 400 and 401 are 20.018)
  • X₀.₉₉₈₆₅ = 20.032
MethodPpPPUPPLPpk
Nonparametric (percentiles)1.681.931.451.45
Normal fit (x̄ = 20.0181, s = 0.00641)1.301.401.201.20

No bore was out of specification, so the observed fraction is 0, with a 95% upper bound of 1 − 0.05^(1/800) = 0.0037 (3,700 PPM).

How to read the results

  • The normal fit understates this process. A flat-topped distribution has short tails; the normal curve, fitted to the same mean and standard deviation, has longer ones. It predicts about 170 PPM out of specification and a Ppk of 1.20, while the data's own percentiles give Ppk 1.45.
  • The lower limit is the one to watch. PPL is the smaller index because the bore runs closest to the LSL right after each insert change. Starting each insert slightly larger would raise PPL.
  • The answer hangs on one or two parts. X₀.₀₀₁₃₅ is interpolated between the smallest and second smallest of 800 values. If the smallest bore had measured 20.000 instead of 20.002, PPL would fall from 1.45 to 1.30. Report the result with that caution.
  • The observed bound is weak. Even 800 good parts only show that the fraction out is below about 0.37%. Percentile indices go further, but only because they assume the next 800 parts look like these.

Common mistakes

  • Using it with small samples. Below 740 values, the extreme percentiles fall outside the data, and any number reported is an extrapolation by some unstated rule.
  • Using it on an unstable process. Percentiles describe the data you have. If the process shifts, they describe nothing in particular. Check a control chart first.
  • Treating it as more accurate because it assumes less. It has less bias from a wrong model but much more random error. When a distribution fits well, the model-based estimate is usually more precise.
  • Rounding the data coarsely. With few distinct values, the extreme percentiles jump in steps of the measurement increment. Check with a chunky-data check.

Frequently asked questions

How many values do I need?

At least 740 for the 0.135th and 99.865th percentiles to fall inside the data with the (n + 1)p rule, and in practice 1,000 or more for a stable answer.

Why not just count the parts out of specification?

Count them too. But a capable process makes so few defects that you rarely see any, and zero out of n only bounds the defect rate at about 3/n. The percentile indices use the whole distribution, not only the failures.

Is a nonparametric Ppk comparable with a normal Ppk?

For normal data the two agree, apart from sampling noise. For nonnormal data they measure the same idea, the distance from the median to the limit compared with the half-spread of 99.73% of the output, so they can be compared, with the caution that the nonparametric value is less precise.

What should I try before this method?

Look for a distribution or transformation that fits: lognormal, Weibull, gamma, Box-Cox or Johnson. A model that fits well gives a more precise answer from fewer data.

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