Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Calculation of Gini Coeffiecent


From   "philippe van kerm" <[email protected]>
To   <[email protected]>
Subject   RE: st: Calculation of Gini Coeffiecent
Date   Fri, 15 Dec 2006 12:09:53 +0100

>st: Calculation of Gini Coeffiecent
>From 	  Katrin Auspurg <[email protected]>
>To 	  "[email protected]" <[email protected]>
>Subject 	  st: Calculation of Gini Coeffiecent
>Date 	  Fri, 15 Dec 2006 11:31:49 +0100
>
>I am estimating the Gini Coefficient using the ado inequal.
>Unfortunately, I can`t find any information if this entails an
>adjustion for small numbers of cases (to the range from 0 to 1, the so
>called "Lorenz- M�nzner-Coefficient"). 

The Gini coefficient returned by -inequal- is not the adjusted version that you mention. 

Note that you probably want to use more up-to-date versions of the package which corrects some problems in -inequal-, namely -inequal7- available on the SSC archive:

	ssc install inequal7

(In particular, tied values pose problem with -inequal-) 

Alternatively you can also consider -ineqdeco-.

All these packages return the "unadjusted" index. You'd need to compute the adjusted value by hand, e.g.

sysuse auto
inequal7 price
di `r(gini)'*(_N/(_N-1))


Hope this helps

Philippe  


<<<<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>>>> 
 Philippe Van Kerm                                        
 IRISS - Integrated Research Infrastructure in the        
    Socio-Economic Sciences                               
 CEPS/INSTEAD
 BP48, L-4501 Differdange, Luxembourg
<<<<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>>>> 
 Research:      http://econpapers.repec.org/RAS/pva19.htm 
 IRISS:                          http://www.ceps.lu/iriss 
 CEPS/INSTEAD:                         http://www.ceps.lu 
<<<<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>><<<>>>>> 
 

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept 
**********************************************************************



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