predict(params, start=None, end=None, exog=None, dynamic=False, **kwargs)¶
ARMA model in-sample and out-of-sample prediction
The fitted parameters of the model.
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.
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. However, if the dates index does not have a fixed frequency, end must be an integer index if you want out of sample prediction.
If the model is an ARMAX and out-of-sample forecasting is requested, exog must be given. exog must be aligned so that exog is used to produce the first out-of-sample forecast. The number of observation in exog should match the number of out-of-sample forecasts produced. If the length of exog does not match the number of forecasts, a SpecificationWarning is produced.
The dynamic keyword affects in-sample prediction. If dynamic is False, then the in-sample lagged values are used for prediction. If dynamic is True, then in-sample forecasts are used in place of lagged dependent variables. The first forecast value is start.
The predicted values.
Use the results predict method instead.