I have a time series with seasonal components. I installed statsmodels ARIMA using
model = tsa.arima_model.ARIMA(data, (8,1,0)).fit()
For instance. Now I understand that ARIMA is changing my data. How to compare results from
prediction = model.predict() fig, ax = plt.subplots() data.plot() prediction.plot()
since the data will be the original data, and the prediction will be different, and therefore has an average value of about 0, different from the average value of the data?
source share