size.ci.cv: Sample size for a coefficient of variation

View source: R/statpsych1.R

size.ci.cvR 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
 


statpsych documentation built on June 10, 2025, 5:11 p.m.