The Atkinson index is an inequality measure and is useful in determining which end of the distribution contributed most to the observed inequality.
Atkinson(x, n = rep(1, length(x)), parameter = 0.5, na.rm = FALSE)
a vector containing at least non-negative elements.
a vector of frequencies, must be same length as x.
parameter of the inequality measure (if set to
logical. Should missing values be removed? Defaults to FALSE.
the value of the Akinson Index.
This function was previously published as
ineq() in the ineq package and has been
integrated here without logical changes, but with some extensions for
NA-handling and the use of weights.
Achim Zeileis <Achim.Zeileis@R-project.org>
Cowell, F. A. (2000) Measurement of Inequality in Atkinson, A. B. / Bourguignon, F. (Eds): Handbook of Income Distribution. Amsterdam.
Cowell, F. A. (1995) Measuring Inequality Harvester Wheatshef: Prentice Hall.
Marshall, Olkin (1979) Inequalities: Theory of Majorization and Its Applications. New York: Academic Press.
Atkinson, A. B. (1970): On the Measurment of Inequality, Journal of Economic Theory, Vol. 2(3), pp. 244-263.
Rosenbluth for concentration measures and
ineq() in the package ineq for additional inequality measures
# generate vector (of incomes) x <- c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261) # compute Atkinson coefficient with parameter=1 Atkinson(x, parameter=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.