Logo

statsmodels.tsa.arima_model.ARMAResults.predict

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

In-sample and out-of-sample prediction.

Parameters:

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.

Previous topic

statsmodels.tsa.arima_model.ARMAResults.normalized_cov_params

Next topic

statsmodels.tsa.arima_model.ARMAResults.pvalues

This Page