entropy {acid}R Documentation

Measures of the Generalised Entropy Family

Description

This function computes the Measures of the Generalised Entropy Family for a vector of observations.

Usage

entropy(x, alpha = 1)

Arguments

x

a vector of observations.

alpha

the parameter for the generalised entropy family of measures, denoted by alpha by Cowell (2000). Note that this parameter notation differs from the notation used in the ineq package.

Value

returns the entropy measure.

Author(s)

Alexander Sohn

References

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

See Also

ineq

Examples

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

[Package acid version 1.1 Index]