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

Re: st: GINI Inequality Index Question


From   Roger Newson <roger.newson@kcl.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: GINI Inequality Index Question
Date   Sun, 20 Nov 2005 16:33:51 +0000

A possible solution might be the -somersd- package, which can be downloaded from SSC and which can calculate confidence intervals for Gini coefficients (which are a special case of Somers' D). The package includes a manual -somersd.pdf-, which contains an example of the use of -somersd- to calculate Gini coefficients with frequency weights.

I hope this helps.

Roger


At 14:50 18/11/2005, Di Han wrote:

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/

--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
King's College London

5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
  or 020 7848 6605 International +44 20 7848 6605
Email: roger.newson@kcl.ac.uk
Website: http://phs.kcl.ac.uk/rogernewson/

Opinions expressed are those of the author, not the institution.

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