Hello,
I have a problem creating Herfindahl-Hirschman Index for my data I tried scc install hhi but it doesn't give a clear result
this is how my table looks like
Loan Firms Percentage
1 A 55
1 B 33
1 C 17
2 B 100
I want The Herfindahl to be calculated using each syndicate member’s share in the loan; and varies from zero to 10,000, with 10,000 being the Herfindahl when a lender holds 100% of the loan
I want the results to look like this
Loan Firms Percentage hhi
1 A 55 2500
1 B 33 1089
1 C 17 289
2 B 100 10000
any Ideas on what command should I use to make it look like this?
Related Posts with Herfindahl-Hirschman Index for banks
Using 'cgmwildboot' _ Standard errors "Null"Dear all, I need some help with running the 'cgmwildboot' command. I intend to utilize a Control Fun…
Creating super tables of proportions in STATAHi, I have 12 variables labeled treat1 - treat12. All the responses are coded as Y/N. I would like t…
How to write the objective function in optimize command?Hi Statalist, I am trying to minimize the below objective function in Stata using optimize command …
(Error) Calculating average by each groupDear all, I have been struggling with computing average by group, and I know that it is done with …
xtgee adjusted R-sqDear All, Hello I'm using xtgee for longitudinal data after I failed to get appropriate results by …
Subscribe to:
Post Comments (Atom)
0 Response to Herfindahl-Hirschman Index for banks
Post a Comment