Repository navigation
prevent _make_arma_names from adding exog_names when already present - #2526
Conversation
|
We still have the trend choice as argument in fit. It will work for repeated calls with identical keywords |
|
I think having If we remove trend from I think we should merge this for 0.7 to fix the bug for the main usecase when we call fit repeatedly with different optimizer options and starting values. This case looks properly covered by this PR. |
There was a problem hiding this comment.
to make the test stronger, you can copy the same assert_equal also after the first call to fit
|
@josef-pkt Thanks.
You are right. It's possible to handle, but it means leaking the logic of |
|
I'm merging this as the first step to the more general fix. |
BUG: prevent _make_arma_names from adding exog_names when already present
closes #1691
I have some doubts about my approach here. It looks like exog_names was added to address Issue #626 back in the day, but it almost seems to assume that
_make_arma_names(and hencefit) is run at most once against the model.