Dear Stata users:
Many thanks to Kit Baum, our new package - giniinc - is now available on SSC. You could download the package by typing "ssc install giniinc" in Stata.
The package giniinc 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.
You could find some useful examples in the help files, as well as our Stata paper here: https://www.stata-journal.com/articl...article=st0539.
Best,
Long
Many thanks to Kit Baum, our new package - giniinc - is now available on SSC. You could download the package by typing "ssc install giniinc" in Stata.
The package giniinc 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.
You could find some useful examples in the help files, as well as our Stata paper here: https://www.stata-journal.com/articl...article=st0539.
Best,
Long