Laney P′ chart: P chart limits that work for large samples
A Laney P′ chart (read "P prime") is a P chart whose limits are adjusted for overdispersion: day-to-day variation in the true proportion that the binomial model does not include. With large samples, an ordinary P chart has very narrow limits and flags many points even when nothing special happened. The P′ chart measures how much the proportions actually vary from one sample to the next, using an individuals chart on their z-scores, and widens the limits by that amount. The method was published by David Laney in 2002.
When to use it
- You chart proportions (defective items, abandoned calls, late shipments) with large samples, typically hundreds to thousands per point.
- On a P chart, many points fall outside the limits, but investigation finds no special cause for most of them.
- The true rate plausibly wanders a little from day to day for ordinary reasons: mix of products, weather, customers, staffing.
If samples are small or moderate and the P chart behaves well, keep the P chart. For defects per unit with large samples, the same idea applies in the Laney U′ chart.
How it works
Start as for a P chart: pᵢ = xᵢ/nᵢ, p̄ = Σxᵢ/Σnᵢ, and the binomial standard deviation for each sample, σ_pᵢ = √(p̄(1 − p̄)/nᵢ).
- Convert each proportion to a z-score: zᵢ = (pᵢ − p̄) / σ_pᵢ. On a P chart these are the distances from the center line in standard errors.
- Treat the z-scores as individual values and measure their spread with the moving range, as on an individuals chart:
σ_z = MR̄_z / 1.128, MR̄_z = average of |zᵢ − zᵢ₋₁|- Widen each sample's binomial limits by σ_z:
UCLᵢ = p̄ + 3 σ_pᵢ σ_z CL = p̄ LCLᵢ = max(0, p̄ − 3 σ_pᵢ σ_z)If the binomial model were exactly right, the z-scores would have a standard deviation of 1, σ_z would be close to 1, and the P′ chart would match the P chart. A σ_z of 2 says the proportions vary twice as much as binomial sampling alone explains. The limits still change with nᵢ, as on the P chart.
Apply the same tests as on the P chart, Tests 1 to 4 of the tests for special causes.
Example
A customer-service call center tracks the proportion of calls abandoned before an agent answers. Twenty weekdays:
| Day | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Calls | 1950 | 3088 | 3044 | 1900 | 3182 | 3093 | 2248 | 1850 | 2659 | 1922 |
| Abandoned | 99 | 145 | 189 | 110 | 194 | 194 | 144 | 137 | 175 | 83 |
| Day | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|---|---|
| Calls | 3012 | 1976 | 2010 | 2469 | 2785 | 2325 | 2832 | 1944 | 2651 | 2670 |
| Abandoned | 203 | 99 | 144 | 171 | 302 | 181 | 128 | 88 | 176 | 184 |
In total, 3,146 of 49,610 calls were abandoned: p̄ = 0.0634. For day 1, σ_p1 = √(0.0634 × 0.9366 / 1950) = 0.00552, so the P chart limits are 0.0469 to 0.0800.
The P chart flags five days: 2, 10, 15, 17 and 18. The team checked staffing, call volume and system logs and found a cause only for day 15. Now the Laney adjustment: the z-scores run from −3.98 to 9.75, their 19 moving ranges average MR̄_z = 2.818, so σ_z = 2.818 / 1.128 = 2.498. The proportions vary about two and a half times more than binomial sampling explains. Day 1's limits become 0.0634 ± 3 × 0.00552 × 2.498, that is 0.0221 to 0.1048.
Only day 15 remains outside: 302 of 2,785 calls (10.8%) against a P′ upper limit of 0.0980. That was the day a routing change sent one queue's calls to a team that was not logged in. The other four days were ordinary variation. After the routing fix, day 15 can be dropped from the baseline; recomputed without it, p̄ = 0.0607 and σ_z = 2.00.
How to read the results
- σ_z near 1: the binomial model fits, and the P′ chart is essentially the P chart.
- σ_z well above 1: there is real variation in the rate between samples. It is part of the process; the P′ limits show how much of it is routine.
- A point outside the P′ limits is unusual even allowing for that routine variation, so it deserves an investigation.
- σ_z below 1 (underdispersion) is uncommon. It can come from samples that are not independent; many practitioners then keep the ordinary P chart.
Common mistakes
- Using the P′ chart to make problems disappear. It widens the limits by what the data show, not by choice. If the day-to-day variation is too large for the business, it is a target for improvement, not something to accept.
- Leaving known special causes in the baseline. A day like day 15 inflates the moving ranges and σ_z. Once its cause is found, remove it and recompute.
- Sorting the data before charting. σ_z comes from consecutive differences, so the order in time matters.
- Applying it to small samples. With small nᵢ, binomial variation dominates and σ_z is near 1 anyway; the adjustment adds little.
Frequently asked questions
What is overdispersion?
It is more variation than a statistical model predicts. A P chart assumes each sample's defectives come from the same fixed probability p. In practice p itself moves a little between samples. With small samples that extra movement is hidden by sampling noise; with large samples it dominates.
Why does the P chart get worse as samples get larger?
Its limits shrink with √nᵢ. With thousands of items per sample, the limits become so narrow that tiny, real but unimportant changes in the rate push points outside them.
Is the Laney P′ chart the same as an I chart of the proportions?
Close, but not the same. An I chart of the pᵢ ignores the sample sizes. The P′ chart keeps the binomial part, so small samples still get wider limits, and adds the between-sample part measured by σ_z.
How many samples do I need?
As for an individuals chart, 20 to 25 samples give a reasonable estimate of σ_z.