r.med: Average affluence gap

Description Usage Arguments Details Value Author(s) References Examples

View source: R/r.med.R

Description

Computes the average affluence gap of population.

Usage

1
r.med(x, weight, k)

Arguments

x

income vector

weight

vector of weights

k

multiple of the median income

Details

Medeiros (2006) defined an average affluence gap. Weighted gap (with weights w_1,w_2,...,w_n) is given by:

R^{Me}= \frac{∑_{i=1}^n \max\{x_i-ρ_w,0\}w_i}{∑_{i=1}^nw_i},

where x_i is an income of individual i, n is the number of individuals, ρ_w is the richness line. Medeiros' index is not standarized and is an absolute measure of richness.

Value

gap

the value of the average affluence gap

Author(s)

Alicja Wolny-Dominiak, Anna Saczewska-Piotrowska

References

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.

Examples

1
2
data(affluence)
r.med(affluence$income, weight = NULL, 2)

affluenceIndex documentation built on Jan. 5, 2022, 5:07 p.m.