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

Re: st: about gini


From   "John GIBSON" <jkgibson@mngt.waikato.ac.nz>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: about gini
Date   Thu, 03 Oct 2002 23:49:15 +1200

Dear Ye Xu

Try

. ineqdeco, by(district)

and it should give what you want.

John


<<< "Ye Xu" <evaxuye@hotmail.com> 10/ 3 11:16p >>>
Question:

What I want to do is to compute an index of land inequality
at the regional level. Let's call the region a district.
I start out with household (hh) level data  (and each hh has an ID, 
"oldhhid").
for each hh, I know the amount of land owned in acres (this
goes from zero to some large number).
each hh lives in a district (a region) and in my data this
is identified by the ID "iddist".
I want to find inequality in land-distribution within each
district.
I have already checked stata's ado file listthere is a program that 
calculates the gini coefficient.
but if I use it direclty on household data I will get
1 gini coeff for the whole of data. I want a different
gini coeff for each district. (ie I want gini (or inequality)
BY DISTTICT).


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

*
*   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/

*
*   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