coeffvar: Coefficient of Variation

Description Usage Arguments Value Warning Author(s) References See Also Examples

Description

This function computes the Coefficient of Variation for a vector of observations.

Usage

1

Arguments

x

a vector of observations.

Value

cv

returns the coefficient of variation without bias correction.

bccv

returns the coefficient of variation with bias correction.

Warning

Weighting is not properly accounted for in the sample adjustment of bccv!

Author(s)

Alexander Sohn

References

Atkinson, A.B. and Bourguignon, F. (2000): Income Distribution and Economics, in: Atkinson and Bourguignon (eds.), Handbook of Income Distribution, pp. 1-86, Elsevier, Amsterdam.

See Also

ineq

Examples

1
2
3
# generate vector (of incomes)
x <- c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261)
coeffvar(x)

acid documentation built on May 1, 2019, 10:14 p.m.