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: RE: HHI


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: HHI
Date   Mon, 20 Jun 2011 16:43:15 +0100

By Hirshman I presume you mean Hirschman: see

http://en.wikipedia.org/wiki/Albert_O._Hirschman

-ineq- from SSC can do this. 

Even if it couldn't, this is at most two calls to -egen-, to get totals and then to get totals of proportions squared, i.e. (value / total)^2, with appropriate use of -by:-. 

Nick 
n.j.cox@durham.ac.uk 

Salima Bouayad Agha

does anybody has any solution to compute an HHI (Hirshman-Herfindahl  
Index) on panel data.
We had observation on a regional desagregated level (i) for 3  
sectors(k), many years(t) and many countries (j) and we wanted to  
compute this index at the contry level for each year.


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


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