我正在尝试将 ARMA/ARIMA 与statsmodel Python 包一起使用,以预测气体消耗。我尝试使用这种格式的数据集:

仅使用气柱。
from pandas.tseries.offsets import *
arma_mod20 = sm.tsa.ARMA(januaryFeb[['gas [m3]']], (5,3)).fit()
predict_sunspots = arma_mod20.predict('2012-01-13', '2012-01-14', dynamic=True)
ax = januaryFeb.ix['2012-01-13 00:00:00':'2012-01-15 22:00:00']['gas [m3]'].plot(figsize=(12,8))
ax = predict_sunspots.plot(ax=ax, style='r--', label='Dynamic Prediction');
ax.legend();

为什么预测这么差?