12.3 Attribute Control Charts: p, np, c, and u Charts
Key Takeaways
- Attribute control charts track discrete qualitative data based on two distinct probability distributions: the Binomial distribution for defective units (pass/fail) and the Poisson distribution for defect counts (flaws per opportunity).
- A defective (nonconforming unit) refers to an entire product or transaction that fails to meet specification, whereas a defect (nonconformity) refers to a specific individual flaw; a single defective unit can contain multiple defects.
- The p-chart tracks the proportion of defective units and accommodates both constant and variable subgroup sizes (creating stepped control limits), while the np-chart tracks the integer count of defectives and STRICTLY requires a constant sample size.
- The c-chart tracks total defect counts across a strictly constant area of opportunity (Poisson), while the u-chart tracks the average defect rate per unit and accommodates variable inspection areas or sample sizes.
- Under the Poisson distribution, variance equals the mean (sigma^2 = c-bar), so the standard error for c-charts is simply the square root of c-bar without sample size denominators; for attribute charts, negative LCL calculations default to zero.
12.3 Attribute Control Charts: p, np, c, and u Charts
Quick Summary: Attribute control charts monitor discrete, qualitative quality characteristics such as pass/fail classifications, visual defects, clerical errors, or customer complaints. Selecting the correct attribute chart requires answering two sequential questions: (1) Data Classification: Are you evaluating defective units (Binomial distribution: Go/No-Go) or counting defects (Poisson distribution: flaws per unit)? (2) Subgroup Size: Is the sample size or area of opportunity constant or variable? This yields the four standard charts: $p$, $np$, $c$, and $u$.
Defective Units vs. Defects: The Fundamental Distinction
The most critical conceptual hurdle in attribute SPC is distinguishing between a defective unit and a defect.
Attribute Data Type
│
┌────────────────────────────┴────────────────────────────┐
▼ ▼
DEFECTIVE DEFECT
(Nonconforming Unit) (Nonconformity)
• Whole unit is judged PASS or FAIL • Specific flaw, blemish, or error
• Binary outcome: Yes or No • Countable quantity: 0, 1, 2, 3...
• Governed by BINOMIAL Distribution • Governed by POISSON Distribution
• Monitored by: p-Chart or np-Chart • Monitored by: c-Chart or u-Chart
1. Defective (Nonconforming Unit) — Binomial Distribution
A unit is declared defective when it fails to meet one or more quality specifications, rendering the entire item unacceptable. It is a binary, qualitative assessment: an invoice is either correct or incorrect; a lightbulb either illuminates or does not; a medical claim is either paid or rejected. Regardless of whether an item has 1 flaw or 10 flaws, it counts as exactly one defective unit.
2. Defect (Nonconformity) — Poisson Distribution
A defect is a single, specific failure, blemish, or departure from specification found on a unit. A unit can contain multiple defects and still remain functional. For example, a newly painted luxury car hood might contain 3 paint blisters, 1 scratch, and 2 dust nibs (a total of 6 defects), yet it remains a single unit. Defect counts represent rare events occurring across a continuous area of opportunity, modeled by the Poisson distribution.
| Inspection Context | Defective Unit (Binomial - $p, np$) | Defect / Nonconformity (Poisson - $c, u$) |
|---|---|---|
| Automobile Manufacturing | A car that fails final inspection due to water leaks. | Total number of water leaks, rattles, paint blemishes, and loose bolts across the vehicle. |
| Healthcare Records | A patient admission file rejected due to missing data. | Total number of clerical errors, misspelled names, and missing signatures across 50 patient files. |
| Textile Production | A 100-yard bolt of fabric classified as scrap/reject. | Total number of snags, loose threads, and dye blotches found per 100 square yards of fabric. |
| Printed Circuit Boards | A motherboard that fails electrical continuity test. | Total number of cold solder joints, bridge defects, and misaligned capacitors on the board. |
The Attribute Control Chart Selection Decision Tree
To determine which of the four attribute charts to deploy, use the following two-axis selection matrix:
Attribute Control Chart Selection
│
What type of attribute data is being collected?
│
┌───────────────────────────────┴───────────────────────────────┐
▼ ▼
DEFECTIVE UNITS DEFECTS
(Binomial: Pass/Fail) (Poisson: Count of Flaws)
│ │
Is sample size (n) constant? Is inspection unit constant?
│ │
┌────┴────┐ ┌────┴────┐
▼ ▼ ▼ ▼
YES NO YES NO
np-Chart p-Chart c-Chart u-Chart
(Number) (Fraction) (Count) (Rate/Unit)
*Note: p-charts can also be used for constant n. *Note: u-charts can also be used for constant n.
| Chart | Metric Tracked | Statistical Distribution | Sample Size / Area of Opportunity | Mathematical Center Line (CL) |
|---|---|---|---|---|
| $p$ | Proportion / Fraction Defective | Binomial | Variable or Constant | $\bar{p} = \frac{\text{Total Defectives}}{\text{Total Units Inspected}}$ |
| $np$ | Number of Defective Units | Binomial | Strictly Constant ($n$) | $n\bar{p} = \frac{\text{Total Defectives}}{k}$ |
| $c$ | Total Count of Defects | Poisson | Strictly Constant Area ($n=1$) | $\bar{c} = \frac{\text{Total Defects}}{k}$ |
| $u$ | Defects per Inspection Unit | Poisson | Variable or Constant Area | $\bar{u} = \frac{\text{Total Defects}}{\text{Total Inspection Units}}$ |
The $p$-Chart (Proportion Defective)
The $p$-chart monitors the fraction or percentage of defective units in a sample. It is the most versatile attribute chart because it can handle variable subgroup sizes ($n_i$).
Formulas for $p$-Chart:
- Subgroup Proportion ($p_i$): $p_i = \frac{d_i}{n_i}$ (where $d_i$ is number of defectives found in subgroup $i$ of size $n_i$)
- Center Line ($\bar{p}$):
- Standard Error of Proportion ($\sigma_{p_i}$):
- Control Limits:
Stepped (Variable) Control Limits
When sample sizes $n_i$ vary from day to day (e.g., daily call center volumes fluctuating between 800 and 1,500 calls), the denominator inside the square root changes for each subgroup. Consequently, the control limits expand on days with smaller sample sizes and contract on days with larger sample sizes, creating a distinctive "stair-step" appearance.
The $np$-Chart (Number of Defectives)
The $np$-chart tracks the raw integer count of defective units rather than a fraction. It is highly popular in factory environments because floor operators find integer counts (e.g., "6 bad parts") far easier to interpret than decimals (e.g., "0.012 fraction defective").
Strict Operational Requirement: The sample size $n$ must be identical for every single subgroup. If $n$ varies by even a single unit, an $np$-chart cannot be used; the team must switch to a $p$-chart.
Formulas for $np$-Chart:
- Center Line ($CL_{np}$):
- Standard Error of Count ($\sigma_{np}$):
- Control Limits:
The $c$-Chart (Defect Counts for Constant Area)
The $c$-chart tracks the total count of nonconformities (defects) across a constant area of opportunity (such as one airplane wing, 100 printed pages, or 10 square meters of glass). Because it models Poisson events, variance equals the mean ($\sigma^2 = \lambda = \bar{c}$).
Formulas for $c$-Chart:
- Center Line ($\bar{c}$):
- Standard Error ($\sigma_c$):
- Control Limits:
Notice: No sample size $n$ appears in the formula because the area of opportunity is standardized as a single unit ($n = 1$).
The $u$-Chart (Defects per Unit for Variable Area)
When the area of opportunity varies across inspection periods (e.g., inspecting rolls of fabric of varying lengths, hospital wards with different patient-day counts, or varying batch sizes), the $c$-chart cannot be used. Instead, the $u$-chart monitors the average defect rate per unit: (where $c_i$ is total defects observed across $n_i$ inspection units).
Formulas for $u$-Chart:
- Center Line ($\bar{u}$):
- Standard Error ($\sigma_{u_i}$):
- Control Limits:
Like the $p$-chart, the $u$-chart displays stepped control limits when subgroup sizes $n_i$ vary.
Step-by-Step Worked Calculation Examples
Example 1: $np$-Chart Calculation in Manufacturing
Scenario: An injection molding line inspects a fixed sample of $n = 400$ medical syringe barrels every hour. Over $k = 25$ hours, inspectors identify a total of $300$ defective barrels.
- Calculate the overall proportion defective ($\bar{p}$):
- Calculate the Center Line for the $np$-chart:
- Calculate the standard error ($\sigma_{np}$):
- Compute Control Limits:
Example 2: $c$-Chart Calculation in Automotive Quality
Scenario: A luxury automotive assembly plant inspects finished vehicle paintwork for surface blemishes (clearcoat craters, dust inclusions, orange peel). Exactly $1$ vehicle body ($n = 1$) is inspected per audit period. Over $k = 30$ vehicles, auditors count a total of $270$ defects.
- Calculate the Center Line ($\bar{c}$):
- Calculate the standard error ($\sigma_c$):
- Compute Control Limits:
Example 3: $u$-Chart Calculation with Variable Subgroup Sizes
Scenario: A software testing firm logs functional bugs per module. Because software modules vary in complexity, the size is measured in thousands of lines of code (KLOC). Across $k = 20$ modules totaling $100$ KLOC, testers discover $400$ bugs.
- Calculate the average defect rate per unit ($\bar{u}$):
- Calculate limits for a specific module measuring $n_i = 4$ KLOC:
- Calculate limits for a smaller module measuring $n_i = 1$ KLOC:
Example 4: $p$-Chart Calculation with Variable Subgroup Sizes
Scenario: A commercial bank processes incoming mortgage applications. Over $k = 20$ business days, total applications received are $10,000$ (averaging 500 per day), and $400$ applications are rejected due to compliance defects.
- Compute the process average proportion defective ($\bar{p}$):
- Control limits for a high-volume day ($n_i = 1,000$ applications):
- Control limits for a low-volume day ($n_i = 400$ applications):
Notice that on the lower-volume day ($n=400$), the control limits widen considerably ($[1.06%, 6.94%]$ vs $[2.14%, 5.86%]$), demonstrating why stepped control limits naturally expand and contract based on sample size.
Critical CSSC Exam Traps
- Trap 1: Choosing an $np$-Chart with Variable Subgroup Sizes — This is one of the most common trick questions on the exam. If the scenario mentions that sample size varies from day to day (e.g., "inspecting all incoming invoices each day"), you cannot use an $np$-chart. You must choose a $p$-chart.
- Trap 2: Choosing a $c$-Chart for Variable Inspection Areas — If a quality auditor counts surface scratches on steel coils, but the square footage of the inspected coils varies, a $c$-chart is mathematically invalid. The $u$-chart must be used to normalize defects per unit of area.
- Trap 3: Confusing Binomial and Poisson Formulas — Memorize that Binomial charts ($p, np$) always include the term $(1 - \bar{p})$ under the square root. Poisson charts ($c, u$) never contain $(1 - \bar{p})$; their variance is based strictly on $\bar{c}$ or $\bar{u} / n$.
- Trap 4: Negative Lower Control Limits — When calculating LCL for attribute charts where the average is small, the mathematical formula often results in a negative number (e.g., $1.5 - 3(1.0) = -1.5$). In physical reality, you cannot have negative defectives or negative defects. On the exam, you must report $\text{LCL} = 0$.
A regional hospital quality improvement team monitors patient care documentation errors in the emergency department. The team audits patient charts weekly. Because patient volume fluctuates, the number of audited charts varies each week between 120 and 280 charts. Auditors record the total number of clerical errors found (such as missing timestamps, unsigned physician notes, or illegible medication dosages), noting that a single patient chart often contains multiple distinct errors. Which control chart should the Green Belt select to monitor this process?
A production supervisor at an electronics manufacturing plant inspects printed circuit boards for solder bridge defects. Exactly 1 production panel (a fixed area of opportunity) is inspected every 30 minutes. Over 40 inspection periods, inspectors count a total of 640 solder bridge defects. Assuming the process is in statistical control, what are the Center Line and Upper Control Limit for the appropriate control chart?
A banking operations team tracks rejected loan applications. Every day, a quality auditor pulls a random, fixed sample of exactly n = 500 applications and records the number of defective applications that fail regulatory validation. Historical data establishes that the long-term proportion defective is p-bar = 0.04 (4.0%). If the team chooses to implement an np-chart, what are the Center Line and Upper Control Limit?