Two-proportion test
Comparing defect rates or pass rates between two groups, and why it takes large samples.
The two-proportion test compares two rates, such as the defective rate before and after a change.
Proportions need big samples
Pass/fail data carry little information per unit. To show that a 2% defective rate fell to 1% with 80% power at takes roughly 2,300 parts per group. Whenever you can, measure the characteristic instead and compare means and spreads; see Data types and measurement scales.
Small counts
When defectives are few, the normal approximation is poor. Use Fisher's exact test.
Over time
To watch a proportion over time rather than compare two fixed groups, use a p chart.
Stat > 2 Proportions with normal approximation and exact p-values.
See also
References
- Agresti, A. An Introduction to Categorical Data Analysis. Wiley.