statsmodels.tsa.statespace.mlemodel.MLEResults.get_forecast

MLEResults.get_forecast(steps=1, **kwargs)[source]

Out-of-sample forecasts and prediction intervals

Parameters:
stepsint, str, or datetime, optional

If an integer, the number of steps to forecast from the end of the sample. Can also be a date string to parse or a datetime type. However, if the dates index does not have a fixed frequency, steps must be an integer. Default

**kwargs

Additional arguments may required for forecasting beyond the end of the sample. See FilterResults.predict for more details.

Returns:
forecastsPredictionResults

PredictionResults instance containing out-of-sample forecasts and results including confidence intervals.

See also

forecast

Out-of-sample forecasts.

predict

In-sample predictions and out-of-sample forecasts.

get_prediction

In-sample predictions / out-of-sample forecasts and results including confidence intervals.