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
How to adjust response rates in repeated cross-sectonal studies?Hello, I am investigating changes in lifestyle during adolescence. Use a dataset that combines mult…
Creating a reelection variable from panel data based on the name of candidatesHi all. I have panel data containing the variables: "year", municipal ID code ("ibge_mun_code"), the…
missing standard error of coefficientHi everyone! I have a data set that I enclosed here. My dependent variable is tariff. The variable …
Editing household IDsDear Users, I have the following household IDs: ID 0009f6b339824d57a39f5696c9c385a6 0011e7ca5a06…
Different results between etregress and FE/OLSDear Statalisters, Using panel data, I estimated treatment effect with different timings of introduc…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating Total Factor Productivity for panel data in Stata
Post a Comment