size.ci.cv {statpsych} | R Documentation |
Sample size for a coefficient of variation
Description
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.
Usage
size.ci.cv(alpha, CV, w)
Arguments
alpha |
alpha level for 1-alpha confidence |
CV |
planning value of coefficient of variation |
w |
desired confidence interval width |
Value
Returns the required sample size
Examples
size.ci.cv(.05, .25, .10)
# Should return:
# Sample size
# 60
[Package statpsych version 1.8.0 Index]