Course Name: Quantitative Trading Strategies and Models, Section No: 5, Unit No: 23, Unit type: Notebook
The problem is that when I execute the program, the next line gives me an error: model.fit(start_params=model_fit_0.params)
The error is: IndexError: index 4 is out of bounds for axis 0 with size 4 .
I'm using: 'statsmodels.tsa.arima.model import ARIMA' as the one you use is being deprecated for this one.