cv: Function to calculate the regular (which is also biased)...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Returns the estimated coefficient of variation or the unbiased estimate of the coefficient of variation.

Usage

1
cv(C.of.V=NULL, mean=NULL, sd=NULL, N=NULL, unbiased=FALSE)

Arguments

C.of.V

Usual estimate of the coefficient of variation (C.of.V=sd/mean)

mean

observed mean

sd

observed standard deviation (based on N-1 in the denominator of the variance)

N

sample size

unbiased

return the unbiased estimate of the coefficient of variation

Details

A function to calculate the usual estimate of the coefficient of variation or its unbiased estimate.

Value

Returns the estimated coefficient of variation (regular but biased estimate or unbiased estimate.

Author(s)

Ken Kelley (University of Notre Dame; KKelley@ND.Edu)

See Also

ci.cv

Examples

1
2
3
cv(mean=100, sd=15)
cv(mean=100, sd=15, N=50, unbiased=TRUE)
cv(C.of.V=.15, N=2, unbiased=TRUE)


Search within the MBESS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.