I'm running this code using sm.tsa.arima.ARIMA on my time series data
model = sm.tsa.arima.ARIMA(df.Sales, order=(1,1,1))
model_fit = model.fit()
print(model_fit.summary())
# Actual vs Fitted
model_fit.plot_predict(dynamic=False)
plt.show()
When I tried to plot the results, it gave me this error:
'ARIMAResults' object has no attribute 'plot_predict'
My version of statsmodels.__version__ is '0.13.2'