statsmodels.tsa.holtwinters.HoltWintersResults.forecast

HoltWintersResults.forecast(steps=1)[source]

Out-of-sample forecasts

Parameters:

steps (int) – The number of out of sample forecasts from the end of the sample.

Returns:

forecast – Array of out of sample forecasts

Return type:

ndarray