Margaret R. answered 05/04/22
Experienced Algebra, Statistics and Pre-Cal Tutor, HS and College
To determine a required sample size based on a desired margin of error, we rearrange the formula used to determine the margin of error in a confidence interval.
For a Proportion:
Margin of error = Z.99 √(p*(1-p)/n)
where p is the sample proportion, n is sample size
If you do not have an estimate for the proportions, you will use p=.5
rearranging and squaring we get the equation:
n=((Z99)2 (.5)(.5)) / Margin of error2
For a mean with population standard deviation (σ) known, you would use this formula:
n= ((Z99 * σ)/Margin of error))2