statsmodels.tsa.holtwinters.ExponentialSmoothing.predict

ExponentialSmoothing.predict(params, start=None, end=None)[source]

In-sample and out-of-sample prediction.

Parameters:
paramsndarray

The fitted model parameters.

startint, 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.

endint, 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:
ndarray

The predicted values.


Last update: Dec 16, 2024