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


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

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

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!!
Di Han
* For searches and help try:

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

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

*   For searches and help try:

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