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
It's a good point. Without looking at details I think it should be in the __init__. Can then cleanup some of the code for this to make sure it's not a stale model.
If there's already a constant present, then nothing is done because there's a check in add_constant. It's also documented to not do this.
The check would fail in the presence of full rank dummies. We could also add a rank check and set hasconst internally (this is what it's for).
Closing as unfixable. The solution is to guild users to SARIMAX or possible a light-weight shim'd version for AR(I)MA, which I believe is @ChadFulton 's idea.
Activity
jseabold commentedon Aug 15, 2013
It's a good point. Without looking at details I think it should be in the
__init__. Can then cleanup some of the code for this to make sure it's not a stale model.If there's already a constant present, then nothing is done because there's a check in add_constant. It's also documented to not do this.
The check would fail in the presence of full rank dummies. We could also add a rank check and set hasconst internally (this is what it's for).
josef-pkt commentedon Jul 14, 2015
see also #2531 issue closed as duplicate of this
bashtage commentedon Jul 23, 2019
Closing as unfixable. The solution is to guild users to SARIMAX or possible a light-weight shim'd version for AR(I)MA, which I believe is @ChadFulton 's idea.