Hello Stata community,
I am calculating firms TFP for the period 1990-2015 with an unbalanced panel. I am trying to used the OLS, the FE and the LP.
For the OLS I think I have clear the syntax to obtain the value of TFP:
regress ln_va ln_capital ln_labor, vce(cluster firm)
predict ln_TFP_OLS , resid
gen TFP_OLS=exp(ln_TFP_OLS)
But for FE and LP(Levinsohn and Petrin) I am not sure of the syntax.
For the FE I start with:
xtreg ln_va ln_capital ln_labor, fe vce(cluster firm)
However I do not know the predict syntax and if I need to calculated the exponential value too.
The same problem for PL where I start with:
levpet ln_va, free(ln_labour) proxy(ln_intermediate_inputs) capital(ln_capital) valueadded reps(250)
But I do not know hot to continue.
Does anyone know the complete syntax to obtain the value of TFP with FE and LP?
Thank you very much!
Guido
Related Posts with Total Factor Productivity syntax with OLS, FE and LP
Confusion about create matching pair id for conditional logistic regressionDear Statalisters, I use -ccmatch- creating match pair of fdz (0 1) base on condition of (size0 ind…
dynamic panel estimation using OLS - what am I missing?I am writing up research using the excellent xtabond2 to estimate correlates of economic growth usin…
How to explain the results of t2way5 i.e. Tukey's Two-Way Analysis by MediansDear Stata users, Nick Cox had written a command named -t2way5- (SSC) to execute Tukey's Two-Way An…
converting nominal stock returns into real stock returnsHi This is a basic question but thought someone in macroeconomics or finance (or any related discip…
Fisher LSD test following MANOVA?Hey everyone, I'm wondering if there is any way to use Fisher's post hoc LSD test after a MANOVA in…
Subscribe to:
Post Comments (Atom)
0 Response to Total Factor Productivity syntax with OLS, FE and LP
Post a Comment