23.6 Sample Size Determination
The appropriate sample size depends on the margin of error, confidence level, and population variability. A commonly used formula for estimating the required sample size for a proportion is:
n=Z2p(1−p)E2 where:
Z is the Z-score corresponding to the confidence level
p is the estimated proportion
E is the margin of error