statsmodels.tsa.holtwinters.Holt.predict

Holt.predict(params, start=None, end=None)

Returns in-sample and out-of-sample prediction.

Parameters:
  • params (array) – The fitted model 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.
Returns:

predicted values

Return type:

array

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.tsa.holtwinters.Holt.predict.html