Loading tsb runtime…
Simple Exponential Smoothing, Holt linear trend, and full Holt-Winters seasonal models.
Mirrors statsmodels.tsa.holtwinters.ExponentialSmoothing.
SimpleExpSmoothing fits ETS(A,N,N): level-only smoothing with
parameter α. All h-step forecasts equal the final level. α is estimated by
minimising SSE via Nelder-Mead.
Holt extends SES with a trend component β (ETS(A,A,N)).
Optionally damps the trend with φ (ETS(A,Ad,N)) to prevent over-shooting.
ExponentialSmoothing with trend: "add" and
seasonal: "add" models data with a linear trend plus additive
seasonal fluctuations. Classic Holt-Winters ETS(A,A,A).
Use seasonal: "mul" when the amplitude of seasonal swings
grows with the level (common in economic time series). ETS(A,A,M).
forecastWithCI(steps, alpha) returns point forecasts plus
(1 − α) % prediction intervals. Intervals widen with forecast horizon.
Compare SES, Holt, and Holt-Winters using information criteria. Lower AIC/BIC indicates a better balance of fit and parsimony.
You can supply fixed smoothing parameters or initial state values.
Use initializationMethod: "known" to set the initial state
directly without estimating it.