The PaF income polarization index | R Documentation |
The PaF income polarization index
paf(y, a)
pafF(y, a)
y |
A numeric vector with income data. |
a |
The value of |
The functions compute the PaF index of Duclos, Esteban and Ray (2004) for either a specific value, or for a range of values, of \alpha
. The pafF() estimates the index using Eq. (8) and (9) in the paper, whereas paf() is faster as it uses Eq. (3) of the paper.
The paf() function, for a single value of \alpha
, returns a vector with the PaF index, the alienation (twice the Gini index) and identification components and 1 + the normalized covariance. If a range of values of \alpha
are given, it will return a matrix with the same components, where each row corresponds to a specific value of \alpha
.
The pafF() function returns only the PaF index for either one or more values of \alpha
.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
Duclos J. Y., Esteban, J. and Ray D. (2006). Polarization: concepts, measurement, estimation. In The Social Economics of Poverty (pp. 54–102). Routledge.
Duclos J. Y., Esteban, J. and Ray D. (2004). Polarization: concepts, measurement, estimation. Econometrica, 72(6): 1737–1772.
paf.boot
y <- rgamma(100, 10, 0.01)
paf(y, 0.25)
paf( y, c(0.25, 0.5, 0.75, 1) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.