I'm using statsmodels to fit a ARMA model.
import statsmodels.api as sm
arma = sm.tsa.ARMA(data, order =(4,4));
results = arma.fit( full_output=False, disp=0);
Where data
is a one-dimensional array. I know to get in-sample predictions:
pred = results.predict();
Now, given a second data set data2
, how can I use the previously calibrated model to generate a series with forecasts (predictions) based in this observations?