Computes a generalized entropy inequality measure within a vector.
Usage
calcGEI(x, w = NULL, alpha = 1)
Arguments
x
Numeric vector with non-negative values (strictly positive when alpha=0
or alpha=1)
w
Numeric vector of sampling weigths (optional)
alpha
Parameter of the generalized entropy index. Theil index ($TT$) is
calculated for alpha=1, the mean log deviation ($TL$) for
alpha=0.
Value
A list of class "ICI" with components:
ineq
a list with components GEI (value of inequality index)
and alpha (value of parameter)
nas
a list with NA counts, including components xNA, wNA
and totalNA
References
Cowell F.A. (2000) Measurement of Inequality. In Atkinson A.B., Bourguignon F.
(Eds.) Handbook of Income Distribution. Amsterdam, Elsevier,
Vol. 1, pp. 87-166.