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

Re: st: RE: Calculating Gini


From   Edwin Leuven <e.leuven@uva.nl>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index