size.ci.cv | R Documentation |
Computes an approximate sample size required to estimate a population coefficient of variation (CV) with desired confidence interval precision. Set the CV planning value to the largest value within a plausible range for a conservatively large sample size.
size.ci.cv(alpha, CV, w)
alpha |
alpha level for 1-alpha confidence |
CV |
planning value of coefficient of variation |
w |
desired confidence interval width |
Returns the required sample size
size.ci.cv(.05, .25, .10)
# Should return:
# Sample size
# 60
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.