# r.hc: Richness headcount ratio In affluenceIndex: Affluence (Richness) Indices

## Usage

 1 r.hc(x, weight, k) 

## Arguments

 x the income vector weight weight vector of population k multiple of the median income

## Details

Richness headcount ratio is a proportion of the population with incomes above the affluence line. Weighted version (with weights w_1,w_2,...,w_n) of this ratio is given by:

R^{HC}(\boldsymbol{x},\boldsymbol{w},ρ_w) = \frac{∑_{i=1}^n \boldsymbol{1}_{x_i > ρ_w}w_i}{∑_{i=1}^n{w_i}},

where x_i is an income of individual i, n is the number of individuals, ρ_w is the richness line,\boldsymbol{1}_{(\cdot)} denotes the indicator function, which is equal to 1 when its argument is true and 0 otherwise.

## Value

 count.rich the number of the rich r.hc the value of index

## Author(s)

Alicja Wolny-Dominiak, Anna Saczewska-Piotrowska

## References

1. Brzezinski M. (2010) Income affluence in Poland. Social Indicators Research, 99, pp. 285-299.
2. Saczewska-Piotrowska A. (2015) Identification of determinants of income richness using logistic regression model. Zarzadzanie i Finanse. Journal of Management and Finance, 4, Part 2, pp. 241-259 (in Polish).

## Examples

 1 2 3 data(affluence) affluence$weight <- rep(1, nrow(affluence)) r.hc(affluence$income, affluence\$weight, 3) 

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