Logo

statsmodels.tsa.arima_model.ARMA.predict

ARMA.predict(params, start=None, end=None, exog=None)[source]

In-sample and out-of-sample prediction.

Parameters :

params : array-like

The fitted parameters of the model.

start : int, str, or datetime

Zero-indexed observation number at which to start forecasting, ie., the first forecast is start. Can also be a date string to parse or a datetime type.

end : int, str, or datetime

Zero-indexed observation number at which to end forecasting, ie., the first forecast is start. Can also be a date string to parse or a datetime type.

exog : array-like, optional

If the model is an ARMAX and out-of-sample forecasting is requestion, exog must be given.

Notes

Consider using the results prediction.

Previous topic

statsmodels.tsa.arima_model.ARMA.loglike_kalman

Next topic

statsmodels.tsa.arima_model.ARMA.score

This Page