I'm trying to learn how to forecast data based on the ARIMA model that is in the library Statsmodel, but I keep running into issues. Currently i'm just trying to line up my prediction next to the actual to test my model but i cant get the ARIMA model results to cooperate
import statsmodels.api as sm
model = sm.tsa.arima.ARIMA(train, order=(4,1,2))
result = model.fit()
result.summary()
step = 10
fc, se, conf = result.forecast(step)
This all works but the last step is throwing this error
ValueError Traceback (most recent call last)
Input In [57], in <module>
1 step = 10
----> 3 fc, se, conf = result.forecast(step)
ValueError: too many values to unpack (expected 3)
I've been reading the documentation for hours but I cant get anywhere with it. Any help would be greatly appreciated