Dear All,
I hope you are staying well and keeping safe. I am new to variable creating codes and would be very grateful if you could advise on the following issue that I have been struggling with for the last few days.
I have a panel dataset and need to calculate an innovation score for each firm within the same industry using the following formula:
Innovation score = (number of firms with a worse value + (number of firms with the same value as the current firm's value/2))/ total number of firms. For example, let say there 10 firms in one industry and the focal firm's value is 80. There is another firm that has the same value. All other firms have scores lower than 80. So the score will be = (8 + (2/2))/10 = 0.90.
I need to calculate for all firms within other industries.
Many thanks in advance and best wishes.
Related Posts with Calculating a score for each firm within the same industry
SVAR estimation with growth and inflation - Impulse responsesHello I am estimating an SVAR model with growth, taken as the first difference of log(GDP) and infl…
marginsplot mlabel format valuesDear Statalister, my first post, so forgive me if I get something wrong. My problem is this. By usin…
Inquire about "regress is"This is a question from Wooldridge textbook. Using just the years 1990 and 1993, estimate the …
Panel data of M&A's and patenting activityHello, I have a question that is a bit general, but hopefully somebody can help me since I’m quite …
variance ratio test resultArray Hi.I did the variance ratio test after two samples using groups t test and the result is as se…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating a score for each firm within the same industry
Post a Comment