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
Model's forecast accuracy evaluationHi everyone, I want to evaluate forecasting accuracy of ARIMA (1,1,1) model. I use only one variabl…
unbalanced panelHi everyone I'm running a regression with fixed effects of individuals: reg y x i.firm i.year i.indi…
Cleaning for missing observations (cross-sectional data) for a range of variablesDear all, I have a particular problem. I have a data of probability of default for 2000 entities an…
combining foreach and by with stringsHello, I found similar topics on the forum but the solutions provided do not seem to fit my case. …
Finding max and min of a numbers' list stored in macroDear All, I am looking for a solution to find maximum and minimum numbers stored in a local/global …
Subscribe to:
Post Comments (Atom)
0 Response to caculating industry level TFP growth rate
Post a Comment