Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Request for urgent response


From   <[email protected]>
To   <[email protected]>
Subject   st: Request for urgent response
Date   Fri, 23 Aug 2013 09:14:11 +0000

Date: Thu, 22 Aug 2013 20:22:57 +0530
From: Soumitra Ghosh <[email protected]>
Subject: st: Request for urgent response

Hi,

I have used the following commands to estimate the concentration index.

glcurve income [aw=weight], pvar(rank) nograph
qui sum yis [fw=intweight]
scalar mean=r(mean)
cor yis rank [fw=intweight], c
sca c=(2/mean)*r(cov_12)
sca list c

Kindly let me know how to derive confidence interval for the 
concentration index calculated using the above STATA commands.

================

In addition to the useful comments already received (including using informative Subject headers), please say where programs derive from. -glcurve- is on SSC.  

You have apparently not read the help file for -glcurve- properly. The second paragraph in the Notes explicitly warns you against using -glcurve- output to calculate concentration indices. There is the issue of using grouped versus unit record data, and also one has to be sure that ties in the data are treated correctly (proper calculation of fractional ranks). For proper calculation of concentration indices, see also the -sgini- package by Philippe Van Kerm at http://medim.ceps.lu/?id=software , with extensive pdf documentation. He also indicates how to derive bootstrapped standard errors.

I have not checked the World Bank package that was cited (regression based), nor Roger Newson's, to see how they treat fractional ranks. (I hasten to say that in general I think very highly of Roger's -somersd- and related packages.)

Stephen (-glcurve- co-author, with Philippe Van Kerm)
------------------
Stephen P. Jenkins <[email protected]>

Please access the attached hyperlink for an important electronic communications disclaimer: http://lse.ac.uk/emailDisclaimer

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index