You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: Add ability to compute residuals from rolling regressions #6986
intercept yes, residuals no. The challenge with residuals is that there are too many of them. For example, if you have 250 observations and use a 60 obs window, you end up with 191 by 60 residual array. We might consider adding these, although I think their computation would need to be deferred since when the number of observations is very large, e.g, 2500, and the window is also large, say 250, then the storage requirement would be pretty big. A better way would be to add a function to the results that could compute these on demand.
changed the title [-]Rolling residuals - rolling regression output[/-][+]ENH: Add ability to compute residuals from rolling regressions[/+]on Aug 24, 2020
Activity
bashtage commentedon Aug 24, 2020
intercept yes, residuals no. The challenge with residuals is that there are too many of them. For example, if you have 250 observations and use a 60 obs window, you end up with 191 by 60 residual array. We might consider adding these, although I think their computation would need to be deferred since when the number of observations is very large, e.g, 2500, and the window is also large, say 250, then the storage requirement would be pretty big. A better way would be to add a function to the results that could compute these on demand.
bashtage commentedon Aug 24, 2020
The intercept is just part of the parameters, so that is how you get it.
[-]Rolling residuals - rolling regression output[/-][+]ENH: Add ability to compute residuals from rolling regressions[/+]ENH: Add on-demand residuals to rolling regression results