Home  >>  Archives  >>  Volume 18 Number 3  >>  st0539

The Stata Journal
Volume 18 Number 3: pp. 692-715



Subscribe to the Stata Journal
cover

giniinc: A Stata package for measuring inequality from incomplete income and survival data

Long Hong
University of Wisconsin
Madison, WI, USA
[email protected]
Guido Alfani
Bocconi University
Milan, Italy
[email protected]
Chiara Gigliarano
University of Insubria
Varese, Italy
[email protected]
Marco Bonetti
Bocconi University
Milan, Italy
[email protected]
Abstract.  Often, observed income and survival data are incomplete because of left- or right-censoring or left- or right-truncation. Measuring inequality (for instance, by the Gini index of concentration) from incomplete data like these will produce biased results. We describe the package giniinc, which contains three independent commands to estimate the Gini concentration index under different conditions. First, survgini computes a test statistic for comparing two (survival) distributions based on the nonparametric estimation of the restricted Gini index for right-censored data, using both asymptotic and permutation inference. Second, survbound computes nonparametric bounds for the unrestricted Gini index from censored data. Finally, survlsl implements maximum likelihood estimation for three commonly used parametric models to estimate the unrestricted Gini index, both from censored and truncated data. We briefly discuss the methods, describe the package, and illustrate its use through simulated data and examples from an oncology and a historical income study.
Terms of use     View this article (PDF)

View all articles by these authors: Long Hong, Guido Alfani, Chiara Gigliarano, Marco Bonetti

View all articles with these keywords: survgini, survbound, survlsl, Gini index, income distribution, inequality, survival analysis, censored data, truncated data

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS