The formula is:
\[ n = \left(\frac{Z}{E}\right)^2 * p * (1-p) \]
where:
- n is the sample size
- Z is the Z-score, which corresponds to the desired confidence level
- E is the desired margin of error
- p is the estimated population proportion
Show more…