16.2 General Principles of design (proportions)
Sample size to achieve a specified standard error:
- Standard error: √p(1−p)/n≈0.5/√n
- So n≈(0.5/s.e.)2
Sample size to achieve specified probability (power) of statistical significance:
- For 80% probabilty of 95% statistical significance, the true effect must be 2.8 standard errors from zero
- n=p(1−p)(2.8/(p−p0))2
For comparisons of proportions, you need approximately 4 times the samples.