Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Calculating Gini


From   Edwin Leuven <[email protected]>
To   [email protected]
Subject   Re: st: RE: Calculating Gini
Date   Thu, 2 Sep 2004 12:09:52 +0200 (CEST)

i've written a small egen extension that calculates gini coefs

you would call it as follows:

. egen ginigr = gini(income), by(state district) weight(weight)

and you can get it as follows

. net from http://www1.fee.uva.nl/scholar/mdw/leuven/stata
. net install ineqegen
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index