gap {affluenceIndex} | R Documentation |
Computes the affluence gap.
gap(x, k)
x |
income vector |
k |
multiple of the median income |
Medeiros (2006) defined an affluence gap:
R^{Med}(\mathbf{x})=\frac{1}{n} ∑_{i=1}^{n}(x_i - ρ)_{+}=\frac{1}{n} ∑_{i=1}^{n} \max ≤ft\{x_i-ρ,0 \right\},
where x_i is an income of individual i, n is the number of individuals, ρ is the richness line. Medeiros' index is not standarized and is an absolute measure of richness.
the gap value
Alicja Wolny-Dominiak
Medeiros M. (2006) The rich and the poor: the construction of an affluence line from the poverty line. Social Indicators Research, 78, pp. 1-18.
data(affluence) gap(affluence$income,2)