The signal looks as such
The differenced signal obtained by using plot(output.diff()) looks as such
Next the parameters of the ARIMA model were obtained by analyzing the ACF and PACF
The model was fit in the following manner
model = ARIMA(output.values, order=(2,1,1))
model_fit = model.fit(disp=0)
When I used
model_fit.plot_predict(dynamic=False)
plt.show()
It is perfect!
but when i use plt.plot(model_fit.predict(dynamic=False))
It gives a predictions of the differenced signal