Calculating the Atkinson Inequality Index e.g. with respect to regional income
atkinson(x, epsilon = 0.5, na.rm = TRUE)
A numeric
vector (e.g. dataset of regional income)
A single value of the at.epsilon = 0.5
)
logical argument that indicates whether NA values should be excluded before computing results
A single numeric value of the Atkinson Inequality Index (
The Atkinson Inequality Index (
Portnov, B.A./Felsenstein, D. (2010): “On the suitability of income inequality measures for regional analysis: Some evidence from simulation analysis and bootstrapping tests”. In: Socio-Economic Planning Sciences, 44, 4, p. 212-219.
# NOT RUN {
atkinson(c(100,0,0,0), epsilon = 0.8)
atkinson(c(100,100,100,100), epsilon = 0.8)
# }
Run the code above in your browser using DataLab