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

st: Re: GINI Inequality Index Question


From   "R.E. De Hoyos" <[email protected]>
To   <[email protected]>
Subject   st: Re: GINI Inequality Index Question
Date   Fri, 18 Nov 2005 16:41:35 -0000

Di,

ssc install ineqfac

ineqfac inc1 inc2...incK [aw=population]

This will give you the contribution of each factor "k" to total income inequality, regardless of the inequality index used. For the theoretical background see Shorrocks (1982), Econometrica.

Best,
Rafa
________________________
R.E. De Hoyos
Faculty of Economics
University of Cambridge
CB3 9DE, UK
www.econ.cam.ac.uk/phd/red29/

----- Original Message ----- From: "Di Han" <[email protected]>
To: <[email protected]>
Sent: Friday, November 18, 2005 2:50 PM
Subject: st: GINI Inequality Index Question



Hello,
I have a problem regarding Gini Coefficient. I have data like this
region population income(total) income source1 income source2
Beijing 1072 2000 1500 500
Tianjin
.
.
.
.
provinces

I want to calculate the Gini coefficient weighted by population. And I want to decompose the contribution of each resource to the Gini Coefficient. So which ado file I shoule use in STATA and how about the command?
I used inequal, and used command "inequal income(total)", but it seems that it just calculated the gini index and did not take the population into consideration. So could you help me?
Thanks very much!!
yours
Di Han
*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index