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
Long Panel: I use AB but It is better PVAR or panel ARDL?Hello, My sample is 27 countries over the period 1970-2020. Code: * Example generated by -dataex-…
Reshapes wide to long without wave identifierHi I have a follow-up tricky reshape that I would like some help with please. I would like to resha…
Using racial/ethnic demographics as the independent variables in multivariate linear regression?Hello! I am conducting multivariate linear regression using -regress- of Google trend interest (a 10…
Using return matrix from polychoric correlationHello all, I am using stata version 17. I ran a polychoric correlation on about 100 variables. The…
Report the goodness of fit for the relogit model in StataDear all, I am running the relogit model on a binary dependent variable characterised by 10,890 zer…
Subscribe to:
Post Comments (Atom)
0 Response to caculating industry level TFP growth rate
Post a Comment