Description Usage Arguments Value References Examples
Calculate sample size needed to estimate a proportion within a given margin of error for a finite (known) population size.
1 | finitePropSampleSize(N, moe, p = 0.5, conf = 0.95)
|
N |
population size |
moe |
margin of error expressed as a proportion (0 < moe < 1) |
p |
estimated proportion (default = 0.5); leave as is for most conservative estimate. |
conf |
confidence level associated with margin of error (default = 0.95) |
Estimated sample size needed to estimate a proportion within a given margin of error for a finite (known) population size.
Hogg, R. V. and Tanis, E. A. (2006), Probability and Statistical Inference 7e, Pearson, New Jersey.
1 | finitePropSampleSize(N=3000, moe=0.03)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.