Learn R Programming

affluenceIndex (version 2.2)

r.hc.sub: Richness headcount ratio in subpopulation

Description

Computes the richness headcount ratio in subpopulation.

Usage

r.hc.sub(x.sub, x, weight.sub, weight, k)

Value

count.rich

the number of the rich

r.hc

the value of the index

Arguments

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

Author

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).

See Also

r.hc

Examples

Run this code
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)

Run the code above in your browser using DataLab