When to use it
You count how many items in each subgroup are defective (pass/fail) and want to monitor the proportion defective over time.
When not to: Every subgroup has the SAME constant size and you would rather plot a raw count (use an np-chart, simpler to communicate), you are counting DEFECTS rather than defective items (use a c- or u-chart), or subgroup-to-subgroup variation clearly exceeds what the binomial model predicts (a high Laney sigma-z); in that case the Laney P-prime chart's rescaled limits are more defensible than the ordinary p-chart's.
Step by step
Open it from the menu
Click Quality in the menu bar; under Attributes Charts choose p-Chart (Fraction Nonconforming).
Fill in the form
Choose the columns: Defective items per subgroup, Items inspected per subgroup (optional). The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Constant subgroup size. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| Defective items per subgroup Defectives required | One numeric column. Count of nonconforming items in each subgroup |
|---|---|
| Items inspected per subgroup (optional) Sample Size | One numeric column. Subgroup size column (omit to use the constant n option) |
| Constant subgroup size | Used when no sample_size column is given (0 = require column) Default: 0. |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
A worked example
20 daily subgroups with subgroup sizes ranging from 80 to 150 parts, tracking the proportion of cosmetic defects.
Result: p-bar = 0.042, per-subgroup UCLs ranging from about 0.109 (n=80) down to about 0.091 (n=150); one small subgroup (n=80) breaches its (wider) UCL at 0.125 defective (10 of 80), and Laney sigma_z = 1.35, indicating meaningful overdispersion.
The single flagged subgroup is worth investigating on its own, but the elevated sigma_z is arguably the more important finding: subgroup-to-subgroup variation here exceeds what pure binomial sampling would predict, so the ordinary p-chart limits are somewhat too tight across the board, and a Laney P-prime chart would give a more defensible picture of which subgroups are truly unusual.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Is the proportion of defective parts per shift stable, or did it shift on a particular day?
- Explain the p-Chart (fraction nonconforming) in plain words.
- What does binomial distribution mean?
Last reviewed November 16, 2026.
