r.hc.sub | R Documentation |
Computes the richness headcount ratio in subpopulation.
r.hc.sub(x.sub, x, weight.sub, weight, k)
x.sub |
income vector of subpopulation |
x |
income vector of population |
weight.sub |
weight vector of subpopulation |
weight |
weight vector of population |
k |
multiple of the median income |
count.rich |
the number of the rich |
r.hc |
the value of the index |
Alicja Wolny-Dominiak, Anna Saczewska-Piotrowska
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).
r.hc
data(affluence)
affluence$weight <- rep(1, nrow(affluence))
aff.sub <- subset(affluence, education == 2)
r.hc.sub(aff.sub$income, affluence$income, aff.sub$weight, affluence$weight, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.