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]
Re: st: Gini coefficient
From
Roger Newson <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Gini coefficient
Date
Thu, 18 Nov 2010 15:39:36 +0000
I presume that you want to produce a Lorenz curve. If you type, in Stata,
findit lorenz
then you will find a choice of programs to plot a Lorenz curve.
For future reference, you might want to use -scsomersd- (rather than
-somersd-) to calculate the Gini coefficient (with confidence limits).
The -scsomersd- package is downloadable from SSC, and calculates the
Gini coefficient in one line, as detailed in the on-line help.
I hope this helps.
Best wishes
Roger
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/
Opinions expressed are those of the author, not of the institution.
On 18/11/2010 15:11, momo wrote:
Dear statalisters
I use stata to calculate the Gini coefficient and I found this command
"somersd", but actually I dont know how to do the inequality graph by stata.
So is there any specific command to do it or what.
Thanks for help
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/