From | "R.E. De Hoyos" <[email protected]> |
To | <[email protected]> |
Subject | st: Re: Herfindahl index |
Date | Mon, 11 Jul 2005 18:53:41 +0300 |
Hi statalist
I am trying to calculate degree of concentration in an industry by using the
Herfindahl index. I am using the panel data where I have 10 years of time, 50
states, in every state there are a few companies. I am using the following
command
bysort state: generate HERF= (asset/ sum(asset))^2 if repdte==1997
The resulting output use the running sum in the denominator instead of sum of
asset of all companies for year 1997.
Could any one tell me how can I implement The Herfindahl index in stata in this
situation?
regards
--
Dawood Ashraf
--
This mail sent through http://webmail.bangor.ac.uk
*
* 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/
* * 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 |