Hello. I have some questions.
I have panel dataset, firm i, industry j, year t.
I have firm's TFP which is log value of firm's total factor productivity.
Firm's TFP growth rate=TFP- l.TFP
Firm i belong to industry j. Industry j's TFP growth rate is as follows.
bysort industry year: egen industrytfpmean=mean (TFP)
gen indstrytfpmeangrowth= industrytfpmean- l.industrytfpmean
Now I have a problem. I would like to caculate the industry k's TFP growth rate (k is not equal to j).
I want to caculate the other industries' TFP growth rate which firm i does not belong to.
Could you please help me?
Thank you in advance.
Related Posts with caculating industry level TFP growth rate
Generating a new variable (0/1) based on multiple variables and excluding missing variablesHi I am having some trouble. What I want to do is create a variable lets call it Var_1. I want this …
How to measure firm's industry stock beta?Hi everyone, I am trying to measure firm's industry stock beta following the methodology used in th…
Change letter spacingDear all, When plotting a graph, is there an option to change the distance between characters (lett…
Coefplot merging two graphs into oneDear Statalist, I am trying to merge two graphs (as shown in the attached graph file) into one usin…
Generating a new variable (0/1) based on multiple variables and excluding missing valuesHi I am having some trouble. What I want to do is create a variable lets call it Var_1. I want this …
Subscribe to:
Post Comments (Atom)
0 Response to caculating industry level TFP growth rate
Post a Comment