r.is {affluenceIndex} | R Documentation |
Computes income share of the top p %.
r.is(x, p)
x |
the vector of income |
p |
the order of quantile. Must be in [0,1] as probability |
The most popular measure of richness which takes a form:
R^{IS}(\mathbf{x},p)=\frac{∑_{i=1}^n x_i \mathbf{1}_{x_i>q_{1-p}}}{∑_{i=1}^n x_i},
where q_{1-p} is the (1-p) quantile of the population and \mathbf{1} denotes the indicator function, which is equal to 1 when its argument is true and 0 otherwise. There is always p % of rich units in the population.
the value of index
Alicja Wolny-Dominiak, Anna Sączewska-Piotrowska
Brzeziński M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.
data(affluence) r <-r.is(affluence$income,0.9) print(r)