- Introduced by
- Walter A. Shewhart
- Year
- 1931
- Type
- Statistical process control charts for count/proportion data
- Family
- Statistical process control
What does it do?
Attributes control charts extend Shewhart's framework to count and proportion data — quality characteristics that are classified rather than measured.
The p- and np-charts monitor the proportion or number of defective items using the binomial distribution, while the c- and u-charts monitor the number of defects per unit using the Poisson distribution. They are the standard statistical-process-control tools when inspection yields pass/fail or defect counts rather than continuous measurements.
The intuition behind the method
Not every quality characteristic is a measurement; often you simply count — how many items in a batch are defective, or how many flaws appear on a panel. Such counts still vary by chance even when the process is stable, and that chance variation has a predictable size: binomial for proportions of defectives, Poisson for defect counts. Attributes charts draw three-sigma limits around the average count or proportion based on those distributions. As long as points stay within the limits the defect rate is stable; a point outside signals that the underlying rate has genuinely changed and a cause should be sought.
History
The control-chart framework is attributed to Walter A. Shewhart, whose 1931 book Economic Control of Quality of Manufactured Product is the standard origin reference for the general approach. The p, np, c and u charts apply that framework to count and proportion data and are presented together in standard textbooks such as Montgomery's Introduction to Statistical Quality Control.
When to use it
Choose an attributes chart when each inspection produces a classification or a count rather than a measurement. Examples are the fraction of defective parts, the number of nonconformities per product, error counts per document, or defect counts in a service process. Use p or np when each item is judged conforming or not, and use c or u when defects can occur several times per unit. The limits rest on a normal approximation, which is reasonable only when expected counts per subgroup are large enough: for p and np charts the expected number defective (n·p̄) should not be tiny, and for c and u charts the average defect count per unit should not be tiny. When subgroups are very small or defects are rare, the limits can be unreliable, and how much data is enough depends on the process, so check the limits against the data. The method assumes that items or defects are independent and that the in-control rate is constant within each subgroup. If a continuous measurement is available, a variables chart is usually more informative and should be preferred, with CUSUM or EWMA considered when small shifts matter.
Limitations and considerations
- A classification discards information that a measurement would retain, so a gradual change in the underlying characteristic may stay invisible until it crosses the defect threshold.
- Binomial limits assume the same defect probability for every item in a subgroup, and Poisson limits assume defects occur independently within a unit.
- The limits rest on normal approximations that become unreliable when expected counts are small, which is common in low-defect processes.
- Single-point signals are less sensitive to small sustained shifts than CUSUM and EWMA charts, which accumulate evidence over time.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Monitors quality when only pass/fail classifications or defect counts are recorded, so no measurement of a continuous characteristic is needed.
- The choice between the four charts follows from the counting model: binomial for items classified as defective, Poisson for defects counted per unit.
- The p- and u-charts use point-specific limits, so subgroups of unequal size are compared against limits that match their own sample size.
- The center line and limits are simple to compute from the counts and subgroup sizes, which makes the charts practical for routine inspection data.
Applications
- Monitoring the fraction of defective units coming off a production line (p/np chart).
- Tracking the number of surface defects per manufactured panel (c/u chart).
- Controlling error or rework rates in transactional and service processes.
- Quality surveillance in healthcare, such as infection or complication counts.
- Supplier-quality monitoring based on lot inspection results.
How it works
How it works
Choose the chart by what is counted. The p-chart tracks the fraction of inspected items that are defective and the np-chart tracks the number defective. Both assume each item is either conforming or not, which fits a binomial model. The c-chart tracks the number of defects in a fixed inspection unit, and the u-chart tracks defects per unit when unit size varies. Both fit a Poisson model. The deciding question is whether each unit is classified as defective or must be counted by its individual defects.
Formula
\text{p/np: proportion or number defective (binomial)};\ \text{c/u: defects per unit (Poisson)}Estimate the in-control level from baseline data. For p and np charts, p̄ is total defectives divided by total items inspected. For c charts, c̄ is the average defect count across the subgroups. For u charts, ū is total defects divided by total units inspected. This value is the center line, and it should come from a period believed to be in control.
Formula
\bar p = \dfrac{\sum d_i}{\sum n_i},\qquad \bar c = \dfrac{1}{m}\sum c_i,\qquad \bar u = \dfrac{\sum c_i}{\sum n_i}Place limits three standard deviations from the center line, using the standard deviation of the relevant distribution. For a p-chart the limits are p̄ ± 3√(p̄(1−p̄)/n_i), for a c-chart they are c̄ ± 3√c̄, and for a u-chart they are ū ± 3√(ū/n_i), where n_i is the size of subgroup i. When subgroup size varies, as in p- and u-charts, the limits are recalculated for each subgroup, so smaller subgroups get wider limits. Negative lower limits are set to zero, because a count or proportion cannot be negative.
Formula
\bar p \pm 3\sqrt{\dfrac{\bar p(1-\bar p)}{n_i}},\qquad \bar c \pm 3\sqrt{\bar c},\qquad \bar u \pm 3\sqrt{\dfrac{\bar u}{n_i}}Plot each subgroup's proportion or count in time order and treat a point outside the limits as a signal that the rate has changed. A point above the upper limit suggests deterioration. A point below the lower limit may reflect real improvement, or a change in inspection or recording, and should be checked before it is accepted. Supplementary run rules can detect smaller, sustained shifts that a single out-of-limit point does not show, but each added rule raises the overall false-alarm rate, so choose them deliberately and apply them consistently.
Formula
\text{signal if a plotted point falls outside the limits}Common pitfalls
- Using a c- or u-chart (Poisson) for items-defective data, or a p- or np-chart (binomial) for defect counts, which mismatches the distribution to the data.
- Plotting p- or u-chart points against constant limits when subgroup sizes vary, which misstates the false-alarm rate for small subgroups.
- Ignoring over-dispersion: real counts often vary more than the binomial or Poisson model allows, so the standard three-sigma limits signal too often.
- Treating a point below the lower limit as genuine improvement without first checking whether inspection or recording practices changed.
Frequently asked questions
When do I use a p-chart versus a c-chart?
Use a p-chart (or np-chart) when each inspected item is classified as defective or not and you track the proportion (or number) defective. This is a binomial situation. Use a c-chart (or u-chart) when you count the number of defects, which can be more than one per item. This is a Poisson situation. The key question is whether you are counting defective items or defects per item.
What is the difference between p and np, or c and u?
p and np monitor the same thing on different scales: p is the fraction defective and np is the count defective, with np requiring a constant subgroup size. Similarly, c monitors defects in a fixed-size inspection unit, while u monitors defects per unit and accommodates varying unit sizes through point-specific limits.
Why might my attributes chart give too many false alarms?
A common cause is over-dispersion: real count data are often more variable than the binomial or Poisson model assumes, so the standard three-sigma limits are too tight. Other causes include small expected counts, where the normal approximation is poor, and plotting varying subgroup sizes against constant limits. Remedies include a model that accommodates extra variation or widened limits, with the choice checked against the process data.
Related methods
Sources
Shewhart, W. A. (1931). Economic Control of Quality of Manufactured Product. D. Van Nostrand Company.
ISBN: 978-0-87389-076-2Montgomery, D. C. (2009). Introduction to Statistical Quality Control (6th ed.). John Wiley & Sons.
ISBN: 978-0-470-16992-6