Description Usage Arguments Details Value Author(s) References See Also Examples
Estimates the Gini inequality index of an income distribution.
1 |
dataset |
a data.frame containing variables obtained by using the setupDataset function. |
ci |
logical; if TRUE, 95 percent confidence interval is given for the Gini coefficient. |
rep |
a number to do the confidence interval using boostrap technique. |
verbose |
logical; if TRUE the confindence interval is plotted. |
The Gini index is calculated using the equivalized disposable income of each individual. Two types of equivalence scales can be used, the modified OECD scale and the parametric scale of Buhmann et al. (1988). The default is the modified OECD scale (see setupDataset).
The value of the Gini index.
A. Berihuete, C.D. Ramos and M.A. Sordo
B. Buhmann et al. (1988) Equivalence scales, well-being, inequality and poverty: sensitivity estimates across ten countries using the Luxembourg Income Study (LIS) database, Review of Income and Wealth, 34, 115–142.
E. Ferreira and A. Gar<c3><ad>n (1997) Una nota sobre el c<c3><a1>lculo del <c3><ad>ndice de Gini, Estad<c3><ad>stica Espa<c3><b1>ola, 39(142), 207–218.
http://ec.europa.eu/eurostat/statistics-explained/index.php/Glossary:Gini_coefficient
setupDataset
1 2 3 | data(eusilc2)
ATdataset <- setupDataset(eusilc2, country = "AT", s = "OECD")
gini(ATdataset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.