r.is | R Documentation |
Computes the income share of the top p %.
r.is(x, weight, p)
x |
the vector of income |
weight |
vector of weights |
p |
the order of quantile. Must be in [0,1] as probability |
The most popular measure of richness which takes a form (with weights w_1,w_2,...,w_n
):
R^{IS}(\boldsymbol{x},\boldsymbol{w},p) = \frac{\sum_{i=1}^n{x_iw_i}\boldsymbol{1}_{x_i>q_{w(1-p)}}}{\sum_{i=1}^n{x_iw_i}},
where q_{w(1-p)}
is the (1-p)
quantile of the population and \boldsymbol{1}_{(\cdot)}
denotes the indicator function, which is equal to 1 when its argument is true and 0 otherwise.
There is always p
% of rich individualsa in the population.
r.2 |
the value of index |
Alicja Wolny-Dominiak, Anna Saczewska-Piotrowska
Brzezinski M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.
data(affluence)
r.is(affluence$income, weight = NULL, 0.9)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.