PracticeVideosBlogFlashcards

4.3 Attribute Control Charts

Key Takeaways

  • Attribute control charts track discrete qualitative data, divided into nonconforming items / defectives (binomial distribution: p-chart, np-chart) and count of nonconformities / defects (poisson distribution: c-chart, u-chart).

  • The p-chart measures the proportion of nonconforming units across constant or variable sample sizes, whereas the np-chart measures the total count of nonconforming units for strictly constant sample sizes.

  • The c-chart monitors nonconformity counts across a constant unit/area of opportunity, whereas the u-chart monitors nonconformities per unit across variable sample sizes or varying areas of opportunity.

  • If a calculated lower control limit (LCL) yields a negative value for p, np, c, or u charts, it must be truncated to zero (LCL = 0) because discrete attribute counts and proportions cannot be negative.

Last updated: July 2026

4.3 Attribute Control Charts

Attribute control charts evaluate discrete qualitative quality characteristics—such as go/no-go gauging, pass/fail functional tests, surface visual blemishes, or clerical errors. Attribute charts monitor process stability when quantitative variable measurements are either impossible or cost-prohibitive to obtain.

Attribute Classification: Defectives vs. Defects

Selecting the correct attribute chart requires distinguishing between two distinct statistical distributions:

  1. Nonconforming Unit (Defective / Binomial Distribution):

    • Refers to an entire product or assembly that fails to meet specification requirements (e.g., a cracked casting, a leaking container, an non-functional PCB).
    • Outcome is binary: conforming (0) or nonconforming (1).
    • Governed by the Binomial Distribution.
    • Associated Control Charts: p-chart and np-chart.
  2. Nonconformity (Defect / Poisson Distribution):

    • Refers to an individual flaw or failure instance on an item (e.g., scratches on an appliance door, solder bridges, paint runs, invoice typos).
    • A single item can contain multiple nonconformities.
    • Governed by the Poisson Distribution (counting independent occurrences over a continuous area of opportunity).
    • Associated Control Charts: c-chart and u-chart.

Attribute Control Chart Selection Framework

Metric TypeUnderlying DistributionSample Size ((n))Chart TypeCenterlineStandard Error (σ\sigma)
Fraction NonconformingBinomialVariable or Constantppˉ=∑di∑ni\bar{p} = \frac{\sum d_i}{\sum n_i}pˉ(1−pˉ)ni\sqrt{\frac{\bar{p}(1-\bar{p})}{n_i}}
Number NonconformingBinomialStrictly Constant (ni=nn_i = n)npnpˉ=∑dik\bar{np} = \frac{\sum d_i}{k}npˉ(1−pˉ)\sqrt{n\bar{p}(1-\bar{p})}
Count of DefectsPoissonStrictly Constant Area ((n=1))ccˉ=∑cik\bar{c} = \frac{\sum c_i}{k}cˉ\sqrt{\bar{c}}
Defects Per UnitPoissonVariable Area (nin_i)uuˉ=∑ci∑ni\bar{u} = \frac{\sum c_i}{\sum n_i}uˉni\sqrt{\frac{\bar{u}}{n_i}}

Mathematical Formulas and Worked Calculations

1. p-Chart (Fraction Nonconforming)

Monitors the proportion (p) of defective units in samples of size nin_i. When subgroup size nin_i varies, control limits must be calculated individually for each sample size.

Centerline: pˉ=Total Defective UnitsTotal Inspected Units=∑i=1kdi∑i=1kni\text{Centerline: } \bar{p} = \frac{\text{Total Defective Units}}{\text{Total Inspected Units}} = \frac{\sum_{i=1}^k d_i}{\sum_{i=1}^k n_i} UCLp=pˉ+3pˉ(1−pˉ)ni,LCLp=max⁡(0, pˉ−3pˉ(1−pˉ)ni)UCL_p = \bar{p} + 3 \sqrt{\frac{\bar{p}(1-\bar{p})}{n_i}}, \quad LCL_p = \max\left(0, \, \bar{p} - 3 \sqrt{\frac{\bar{p}(1-\bar{p})}{n_i}}\right)

Worked Example: p-Chart with Constant Sample Size

An electronics plant inspects (k = 20) lots of (n = 500) circuit boards each. A total of (d = 150) defective boards are detected across all lots.

  1. Calculate Average Proportion Defective (pˉ\bar{p}): pˉ=15020×500=15010,000=0.0150\bar{p} = \frac{150}{20 \times 500} = \frac{150}{10,000} = 0.0150
  2. Calculate Control Limits: SEp=0.0150×(1−0.0150)500=0.014775500=0.00002955=0.005436\text{SE}_p = \sqrt{\frac{0.0150 \times (1 - 0.0150)}{500}} = \sqrt{\frac{0.014775}{500}} = \sqrt{0.00002955} = 0.005436 UCLp=0.0150+3(0.005436)=0.0150+0.01631=0.03131 (or 3.13%)UCL_p = 0.0150 + 3(0.005436) = 0.0150 + 0.01631 = 0.03131 \text{ (or 3.13\%)} LCLp=0.0150−0.01631=−0.00131→0.0000 (truncated to zero)LCL_p = 0.0150 - 0.01631 = -0.00131 \rightarrow \mathbf{0.0000} \text{ (truncated to zero)}

2. np-Chart (Number Nonconforming)

Monitors actual count of defective items. Subgroup size (n) must be strictly constant across all samples.

Centerline: npˉ=∑dik\text{Centerline: } \bar{np} = \frac{\sum d_i}{k} UCLnp=npˉ+3npˉ(1−pˉ),LCLnp=max⁡(0, npˉ−3npˉ(1−pˉ))UCL_{np} = \bar{np} + 3 \sqrt{\bar{np}(1-\bar{p})}, \quad LCL_{np} = \max\left(0, \, \bar{np} - 3 \sqrt{\bar{np}(1-\bar{p})}\right)

Worked Example: np-Chart

Using data from above ((n = 500), pˉ=0.0150\bar{p} = 0.0150, npˉ=500×0.0150=7.50\bar{np} = 500 \times 0.0150 = 7.50 defectives per lot):

SEnp=7.50×(1−0.0150)=7.3875=2.718\text{SE}_{np} = \sqrt{7.50 \times (1 - 0.0150)} = \sqrt{7.3875} = 2.718 UCLnp=7.50+3(2.718)=7.50+8.154=15.654 defective unitsUCL_{np} = 7.50 + 3(2.718) = 7.50 + 8.154 = 15.654 \text{ defective units} LCLnp=7.50−8.154=−0.654→0 defective unitsLCL_{np} = 7.50 - 8.154 = -0.654 \rightarrow \mathbf{0} \text{ defective units}

3. c-Chart (Count of Nonconformities)

Monitors total defect counts (c) in a fixed inspection unit or area of opportunity (e.g., defects per single vehicle body panel).

Centerline: cˉ=∑i=1kcik\text{Centerline: } \bar{c} = \frac{\sum_{i=1}^k c_i}{k} UCLc=cˉ+3cˉ,LCLc=max⁡(0, cˉ−3cˉ)UCL_c = \bar{c} + 3 \sqrt{\bar{c}}, \quad LCL_c = \max\left(0, \, \bar{c} - 3 \sqrt{\bar{c}}\right)

Worked Example: c-Chart

A textile mill inspects (k = 25) standard fabric rolls (1 roll = 1 unit). Total defects observed across all rolls is ∑ci=100\sum c_i = 100.

  1. Centerline (cˉ\bar{c}): cˉ=10025=4.00 defects per roll\bar{c} = \frac{100}{25} = 4.00 \text{ defects per roll}
  2. Control Limits: UCLc=4.00+34.00=4.00+3(2.00)=10.00 defectsUCL_c = 4.00 + 3\sqrt{4.00} = 4.00 + 3(2.00) = 10.00 \text{ defects} LCLc=4.00−3(2.00)=4.00−6.00=−2.00→0 defectsLCL_c = 4.00 - 3(2.00) = 4.00 - 6.00 = -2.00 \rightarrow \mathbf{0} \text{ defects}

4. u-Chart (Nonconformities Per Unit)

Monitors average defects per unit (u) when sample size nin_i (number of inspection units per subgroup) varies.

Centerline: uˉ=Total DefectsTotal Inspected Units=∑i=1kci∑i=1kni\text{Centerline: } \bar{u} = \frac{\text{Total Defects}}{\text{Total Inspected Units}} = \frac{\sum_{i=1}^k c_i}{\sum_{i=1}^k n_i} UCLu=uˉ+3uˉni,LCLu=max⁡(0, uˉ−3uˉni)UCL_u = \bar{u} + 3 \sqrt{\frac{\bar{u}}{n_i}}, \quad LCL_u = \max\left(0, \, \bar{u} - 3 \sqrt{\frac{\bar{u}}{n_i}}\right)

Worked Example: u-Chart

An automotive plant inspects painted vehicle panels over (k = 10) shifts. Total inspected panels (= 500), total paint defects (= 250).

  1. Average Defects per Unit (uˉ\bar{u}): uˉ=250500=0.500 defects per panel\bar{u} = \frac{250}{500} = 0.500 \text{ defects per panel}
  2. Control Limits for a shift where (n = 50) panels were inspected: UCLu=0.500+30.50050=0.500+30.010=0.500+3(0.100)=0.800 defects/panelUCL_u = 0.500 + 3 \sqrt{\frac{0.500}{50}} = 0.500 + 3\sqrt{0.010} = 0.500 + 3(0.100) = 0.800 \text{ defects/panel} LCLu=0.500−0.300=0.200 defects/panelLCL_u = 0.500 - 0.300 = 0.200 \text{ defects/panel}
Loading diagram...
Attribute Control Chart Selection Decision Tree
Test Your Knowledge

A quality inspector counts surface paint scratches on custom cabinet doors. Because door sizes vary significantly across production orders, the total square footage inspected per shift changes continuously. Which attribute control chart should be selected?

A

c-chart

B

u-chart

C

np-chart

D

p-chart

Test Your Knowledge

A p-chart monitoring fraction nonconforming on an injection molding line has a centerline p-bar = 0.010 and sample size n = 100. Calculating p-bar - 3 * sqrt(p-bar*(1-p-bar)/n) yields -0.0198. What is the official lower control limit (LCL_p) for this process?

A

-0.0198

B

0.0100

C

0.0001

D

0.0000

Test Your Knowledge

What is the fundamental difference between the np-chart and the p-chart?

A

The np-chart plots the actual count of defective units and requires a strictly constant sample size, whereas the p-chart plots proportion defective and handles variable sample sizes

B

The np-chart is based on the Poisson distribution, whereas the p-chart is based on the Binomial distribution

C

The np-chart monitors defects per unit, whereas the p-chart monitors fraction nonconforming

D

The np-chart uses 2-sigma control limits, whereas the p-chart uses 3-sigma control limits

Sections you finish are checked off in the contents.