Sub topic 3
p charts: proportion of defective items
This chapter assumes you know the mean and standard deviation, the idea of a center line with 3-sigma limits, and basic probability for proportions.
p charts for proportion defective
A p chart tracks the fraction of items that are defective in each period. Use it when each item is either good or defective and the sample size can change from period to period.
The center line is the pooled proportion, p̄ = total defectives / total items inspected. For a period with sample size n_i:
- UCL = p̄ + 3 × √(p̄(1 − p̄) / n_i)
- LCL = max(0, p̄ − 3 × √(p̄(1 − p̄) / n_i))
With the spine data, 43 defectives out of 925 items gives p̄ = 0.0465. For n = 100, the sigma term is 0.0211, so UCL = 0.110 and LCL is floored at 0.
u charts for defects per unit
A u chart counts defects rather than defective items. One unit can carry several defects, and the unit size can vary.
ū = total defects / total units inspected. For a period with n_i units:
- UCL = ū + 3 × √(ū / n_i)
- LCL = max(0, ū − 3 × √(ū / n_i))
With the spine data, 92 defects in 168 units gives ū = 0.548. For n = 20, UCL = 1.04 and LCL = 0.05.
Signal rules
Flag a special cause when either of these happens:
- One point falls beyond a control limit.
- Eight consecutive points fall on the same side of the center line.
Investigate flagged points. Do not adjust the process because of points inside the limits.
Baseline limits and ongoing monitoring
Compute limits from a period you know was stable, usually 20 to 30 subgroups. Remove points with known special causes and recalculate. Then fix those limits and plot new data against them. Recalculate only after you change the process on purpose.
Pitfalls
- Autocorrelation: When each reading depends on the one before it, points cluster. Limits then look too narrow and produce false alarms.
- Overdispersion: p and u limits assume binomial or Poisson variation. If real variation is larger, the chart signals too often.
- Non-normality: The 3-sigma rule works poorly when expected counts are small, for example when n × p̄ is below about 5.
- Overreaction: Adjusting the process after every point usually adds variation.
Exercise
A p chart has p̄ = 0.05 and a sample size of n = 200. What are the UCL and LCL?
Show answer
The sigma term is √(0.05 × 0.95 / 200) = 0.0154. Three sigma is 0.0462. UCL = 0.05 + 0.0462 = 0.096. LCL = 0.05 − 0.0462 = 0.004.