Hi,
I am a new STATA 15 user. I am doing my assignment on estimating the Total Factor Productivity for panel data in STATA using different methods, such as OLS, Olley and Pake, Ackerberg, Levinsohn and Petrin, and Woodridge. I have some questions as following:
1) I am wondering that it is acceptable to apply the user-developed command such as opreg, levpet, acfest or prodest directly.
2) When I try to run levpet, it always shows the error "repeated time values within panel" even if there is no error when I declare it as panel data. I also checked the duplicates.
3) My data is as this picture. I need to estimate TFP by sub-sectors, for example, isic2=25. When I ran an OLS:
regress va k l m if isic==25
predict TFP_25, resid
I found that the residuals (TFP_25) are calculated for all of the sub-sectors, not only the isic2=25.
Kindly help me to solve these issues. Thank you so much.
Array
Related Posts with Estimating Total Factor Productivity for panel data in Stata
spell-type data/survival time analysesDear stata list, I am running survival time analyses and my goal is to create a survival time varia…
replacing missing valuesHello, I have two variables, one is a code identifier for companies (permno), and another is return…
Using -atjoint- in -margins- targeting only one at() condition when multiple at() are specifiedI am working on a logit model containing one interaction between a continuous and a dummy variable. …
regressionsHello, I have daily stock returns for the market and for companies. I want to run this model (reg r…
Fama FrenchA new day a new question. I have now done a rolling window regression according to CAPM model and th…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating Total Factor Productivity for panel data in Stata
Post a Comment