Last answered:

14 Oct 2024

Posted on:

19 Jan 2023

0

start_ar_lags parameter

The statsmodels.tsa.arima_model has been replaced by statsmodels.tsa.arima.model. The codes in the resources cannot be run directly. I've tried to modify to code but still stuck with the start_ar_lags parameter which does not exist in the fit method.

2 answers ( 0 marked as helpful)
Posted on:

10 Jan 2024

0

have you got any solution for this?


Posted on:

14 Oct 2024

0
I guess they don't care about us...

But ChatGPT does.

To update this to the new version of statsmodels (which no longer uses start_ar_lags), you don't need to combine these two settings directly. The order=(3,1,2) already specifies the AR and MA orders for the model. The start_ar_lags argument was mainly used for initialization during model fitting, but now statsmodels handles this automatically.

Still, statsmodels has changed so significantly, this course needs a complete overhaul I think - it's something like 7 years old.

Submit an answer