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
How to Append .txt fileHi, how can I append a dataset with another using files that are in .txt format? I tried to use the …
Panel vs Pooled cross sectionHi all, I want to ask for your advice. I will research the difference in wages of minority and majo…
gsem mlogit: set base categoryHi, I've estimated a latent profile analysis in Stata 17.0 with three continuous dependent variables…
calculate averages of groups of observations separated by groups of missing observationsHi everybody, I have panel data with a few variables that have a somewhat random pattern. I need to…
Mark all observations that has one variable in commonHello, I'm quite new to stata. I have searched in this forum, but can not find the answer I need, th…
Subscribe to:
Post Comments (Atom)
0 Response to caculating industry level TFP growth rate
Post a Comment