Bootstrapping the PaF income polarization index | R Documentation |
Bootstrapping the PaF income polarization index
paf.boot(y, a, R = 1000)
y |
A numeric vector with income data. |
a |
The value of |
R |
The number of bootstrap resamples to perform. |
The function compute the PaF index of Duclos, Esteban and Ray (2004) for a specific value of \alpha
, the alienation and identification components, the 1 + normalized covariance, and also their bootstrap estimates, the estimated bias, the estimated standard error of each and the percentile bootstrap confidence interval for the PaF index are returned.
A list including:
boot |
A matrix with the bootstrap estimates. |
index |
The estimates. |
info |
A matrix with: the bootstrap based estimates, the bootstrap estimated bias of the estimates, the bootstrap estimated standard errors of the estimates, and the 95% percentile bootstrap confidence intervals for each component. |
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, paf2.boot
y <- rgamma(100, 10, 0.01)
paf.boot(y, 0.25)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.