Binomial capability analysis: percent defective and process Z

Updated

A binomial capability analysis measures the capability of a process whose output is judged pass or fail. Each unit is either defective or not, and the analysis estimates the proportion defective, gives it a confidence interval, and converts it to parts per million and a process Z value. It also checks, with a P chart and a cumulative plot, that the process was stable and that you collected enough data for the estimate to settle.

When to use it

  • Inspection records units as good or defective: visual checks, go/no-go gages, leak tests, functional tests.
  • You want a baseline defect rate for a project, or a comparison with a goal such as "below 1% defective".
  • Each sample has a known number of units inspected, and units are independent (one defective does not make the next one more likely).
  • When you count defects per unit rather than defective units (several scratches can occur on one panel), use Poisson capability instead.

How it works

For k samples with nᵢ units inspected and dᵢ defectives in sample i:

p̄ = Σdᵢ / Σnᵢ PPM defective = p̄ × 1,000,000 Process Z = Φ⁻¹(1 − p̄)

Process Z (sometimes called the benchmark Z) is the distance, in standard deviations, from the mean of a normal process to a single specification limit that would produce the same fraction defective. Dividing it by 3 gives an equivalent Ppk, which some reports use to put attribute and variable characteristics on one scale.

The confidence interval for p̄ comes from the binomial distribution. This article uses the exact (Clopper-Pearson) interval on the total count. The interval's limits translate directly into limits for PPM and Z.

A good binomial capability report also shows:

  • a P chart of the proportion defective per sample, because the estimate only predicts the future if the process is stable;
  • a cumulative % defective plot, which should flatten out as samples accumulate; if it is still moving, you need more data;
  • a plot of % defective against sample size, to check that large and small samples behave alike.

Example

A molding line makes plastic closures. Each day an inspector checks 250 closures from the line for short shots, flash and color streaks, and counts the defective ones. Twenty days:

Day12345678910
Defectives3616235230
Day11121314151617181920
Defectives4324231222

In total, 56 of 5,000 closures were defective: p̄ = 56 / 5,000 = 0.0112, or 1.12%.

The P chart limits are p̄ ± 3√(p̄(1 − p̄)/250): UCL = 3.12% and LCL = 0 (the lower value would be negative). The highest day is 2.4%, so all days are within the limits.

P chart of closures, percent defective0123Defective (%)CL=1.12UCL=3.12LCL=0135791113151719Day
P chart of closures, percent defective

The cumulative percent defective swings at first (1.8% after two days), then settles between about 1.1% and 1.3% from day 10 on:

Cumulative percent defective1.21.41.61.8Defective (%)135791113151719Day
Cumulative percent defective
StatisticEstimate95% confidence interval
% defective1.12%0.85% to 1.45%
PPM defective11,2008,471 to 14,520
Process Z2.282.18 to 2.39

How to read the results

  • Stable first. The P chart shows no points outside the limits, so 1.12% is a fair description of what this line does day to day, not an average of good and bad periods.
  • Enough data. The cumulative curve has leveled off, so more days would refine the estimate but probably not change it much.
  • The interval matters. With 5,000 units the true rate could be anywhere from 0.85% to 1.45%. If the goal is "below 1%", these data cannot confirm it, even though some days look good.
  • Z puts it on a familiar scale. A process Z of 2.28 corresponds to an equivalent Ppk of 0.76. A capable variable process at Ppk 1.33 has a Z of 4 and about 32 PPM beyond one limit. See sigma level, PPM and DPMO for conversions, including the 1.5σ shift convention.
  • Next step. A Pareto chart of the defect types (short shot, flash, streaks) shows where to start reducing the rate.

Common mistakes

  • Using it for defects instead of defectives. If you count every scratch, a panel can have several; that is Poisson data.
  • Ignoring the sample size. Twenty samples of 250 give an interval about ±0.3 percentage points wide. Low defect rates need large totals: to see a rate of 0.1% with any confidence you need tens of thousands of units.
  • Reporting Z without the stability check. A process Z computed across a period with special causes describes none of it.
  • Mixing inspection methods. A change in inspector, lighting or acceptance criteria changes the measured rate. Check agreement first with an attribute agreement analysis.

Frequently asked questions

What is the difference between binomial and Poisson capability?

Binomial capability counts defective units, each either good or bad, out of a known number inspected. Poisson capability counts defects, which can occur several times on one unit or along a length or area.

Why is the lower control limit zero?

Because p̄ − 3√(p̄(1 − p̄)/n) is negative for this p̄ and n, and a proportion cannot be negative. With a zero lower limit, an unusually good day cannot show up as a signal.

How do I compare the result with a target?

Look at the confidence interval. If the whole interval is below the target, the data show the target is met. For a formal test, use the 1-proportion test.

Can I compute a Cpk from attribute data?

Not directly, since there are no measurements or specification limits. The equivalent Ppk, process Z divided by 3, is the closest comparison, and it assumes that a normal process with that fraction defective is a fair comparison.

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