I believe there is a bug in the asreg function. When I run rolling window regressions on panel data (firm * quarter), the predictions and residuals are identical in each quarter. E.g. when I run...
asreg y x, by(qtr) fitted window(qtr 4)
... all predicted values in a particular quarter are identical, and so are all residuals.
This problem does *not* occur when I do not specify a window, ie when running
asreg y x, by(qtr) fitted
Something seems be wrong with the "window" option.
Has anybody had the same issue?
Related Posts with Bug in asreg?
How to run a 2SLS model with a weak instrumentF-statistic is below Stock and Yogo's critical values. However, R squared and Shea's partial R squar…
what are the commands for a PVAR type model on stata?salut! Je suis nouveau sur ce forum et aussi dans l'utilisation du logiciel stata. J'utilise la vers…
what are the commands for a PVAR type model on stata?Hello! I am new on this forum and also in the use of the stata software. I'm using version 15.0 of S…
Ranking observations by a variable within two groups by yearI am working with some data on NCAA football players. For the purposes of this question, it looks so…
Filling missing values with meanHello everyone, I am struggling with filling missing values with mean values, because I have to sep…
Subscribe to:
Post Comments (Atom)
0 Response to Bug in asreg?
Post a Comment