From baselines to a real model
In b2 you shipped the baselines - naive, drift, seasonal-naive - and decomposed the Lumen series. Tonight you climb one rung: exponential smoothing, the family that quietly powers a huge share of real business forecasts because it is fast, robust, and needs little data. You will build all three members (level, then trend, then seasonality) and, at the end, drive a live forecaster that computes their accuracy in front of you.
Recent past matters more 6 min live
A moving average treats the last 7 days as equally important and everything older as worthless. Exponential smoothing is smarter: every past point counts, but its weight decays geometrically as it recedes. One parameter, alpha, sets how fast the memory fades - high alpha reacts quickly, low alpha is steady.
LiveThe three members of the ETS family3 min▶
You add one component at a time:
- Simple exponential smoothing (SES) - tracks the level only. Good for a flat, trendless, seasonless series. One parameter: alpha.
- Holt's linear trend - adds a smoothed trend term (beta). Now the forecast can slope up or down instead of going flat.
- Holt-Winters - adds a smoothed seasonal term (gamma). This is the one that captures Lumen's weekly rhythm - and the one that wins on this data.
ETS is the workhorse. Exponential smoothing is often the quiet default in retail and operations forecasting: it needs little data, trains in milliseconds, and is hard to beat on short horizons. Many teams ship Holt-Winters and only reach for ARIMA or ML when a backtest proves it earns its keep.
Level, trend, and season, each updated 5 min live
Holt-Winters keeps three running estimates and nudges each one every day: the level (where we are), the trend (how fast we are moving), and the seasonal offsets (the repeating weekly shape). The forecast is simply level + horizon x trend + the right seasonal offset.
Self-studyBuild all three in statsmodels2 min read▶
statsmodels' ExponentialSmoothing covers the whole family - you just switch trend and seasonal on:
On the Lumen series the ranking is unambiguous: Holt-Winters, which alone captures the weekly season, posts the lowest error.
The live forecaster ★ real math in your browser
This is a genuine forecaster, not a mock-up. It computes moving-average, exponential-smoothing, seasonal-naive, and Holt-Winters forecasts on a synthetic Lumen series right here, draws an 80% prediction interval, and scores each on a held-out horizon. Switch the method and the horizon, and watch the MAPE move. Notice the two methods that capture the weekly pattern - seasonal-naive and Holt-Winters - leave the flat baseline far behind.
Forecast Lumen with a prediction interval ★ 8 min · build your own
Fit Holt-Winters and report the interval, not just the point.
Fit ExponentialSmoothing with additive trend and 7-day seasonality on the train set.
Forecast the horizon and pull a prediction interval from the model's residual spread.
Score MAPE on the holdout and compare it to the seasonal-naive baseline from b1.
Simple, but not naive. Exponential smoothing has a formal statistical form (the ETS state-space models in FPP3) that produces principled prediction intervals and can auto-select the best trend/season combination. That is why it remains a first-line production method - you get calibrated uncertainty almost for free.
Try it yourself - this week ◐ 30-45 min total
- Fit SES, Holt, and Holt-Winters on your own daily series and rank them by holdout MAPE.
- Vary alpha by hand (0.1 vs 0.8) and watch how twitchy vs steady the forecast becomes.
- Report an 80% prediction interval, not just a point, and sanity-check that it widens with the horizon.
- Compare your best ETS model to the seasonal-naive baseline. Did it earn its complexity?
- Optional: read FPP3 chapter 8 (exponential smoothing) for the state-space ETS formulation.
Sources covered (cited)
Taught from the forecasting canon. This session covers:
Three questions before you go 🎯 ◐ 90 seconds
1 · What does the alpha parameter in exponential smoothing control?
Alpha sets the decay of the weights. High alpha weights the recent past heavily (twitchy); low alpha spreads weight further back (steady).
2 · Which ETS member captures a weekly pattern?
SES tracks level only; Holt adds trend; Holt-Winters adds the seasonal term (gamma) that models the repeating weekly offsets.
3 · Why report a prediction interval with the forecast?
Forecasts are uncertain. The interval communicates that honestly, and it should widen further out because uncertainty compounds with the horizon.