I have recently found and been using “asreg” command for Stata. I find it incredibly useful. I am having trouble completing one task and wonder if someone might be able to shed some light on how to achieve this with asreg. I have a dynamic panel data set with multiple individuals over multiple years. I am trying to run both year specific (relatively easy) and person specific regressions (rolling over the prior 10 year period). Both of which are easily achievable using asreg. The trouble I am having is that I would like to capture the RMSE of each of these regressions. While I can save the residual of the latest observation in the window, I cannot figure out how to either save all residuals or how to save the RMSE. Any suggestions on how this might be possible?
-
Login or Register
- Log in with

Comment