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
Exclusions in a loopHi everyone, just upfront: I am pretty new to Stata so please excuse certain rookie mistakes that mi…
Dummy variable in random effects panel regressionDear Statalist members, I found answers to many of my Stata- or statistics-related questions before …
Stata 17 neededDear all, First of all, I hope this post find you all fine. Second of all, I know that my request c…
sample size calculation when there are three groups Hi, We are planning to conduct an RCT comparing nitroglycerine patches to decrease the failure rat…
Fixing a sample so observations between specifications are the same to enable comparisonsIn my regressions, I add variables across five specifications in which the last contains all the var…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating Total Factor Productivity for panel data in Stata
Post a Comment