Log inStart free
LESSON 4.46 · 6 STAGES · 2 CONTROLS · 3 CHECKSPRO · PREVIEW

Exponential smoothing

Watch a forecast weigh recent sales most, then learn a slope and a season.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 4.46 · FORECAST BAYα 0.3 · NEWEST WEIGHT 0.30 · 90% IN 7 QUARTERS
01
Stage 1 of 6 · Weigh the past
Exponential smoothing averages past sales with weights. Each step back multiplies the weight by 0.7.
Explain it simply

Each bar under a dot is that quarter's weight in the forecast. The newest quarter gets alpha, which is 0.3 here. Each step back multiplies the weight by 0.7, so old sales fade but never vanish. The weights add up to 1, like slices of one pie.

Sixteen sales dots with a weight bar under each. The newest bar is 0.30. The newest 7 quarters hold 90% of the weight.

sales, quarters 1–16held-out quarters 17–20weights and αlevel and forecasterrors
20406080148121620quartersalesnowweight0.30weight per step backnewest weight α = 0.3090% in the newest 716 weights sum to 1.00k = 0: 0.300k = 1: 0.210 = 0.300 × 0.7k = 2: 0.147 = 0.210 × 0.7k = 3: 0.103 = 0.147 × 0.7k quarters back:weights in the forecastŷ₁₇ = 0.30·y₁₆ + 0.21·y₁₅ + 0.15·y₁₄ + … = 58.120406080148121620quartersalesnowweight0.30weight per step backnewest weight α = 0.3090% in the newest 716 weights sum to 1.00k = 0: 0.300k = 1: 0.210 = 0.300 × 0.7k = 2: 0.147 = 0.210 × 0.7k = 3: 0.103 = 0.147 × 0.7k quarters back:weights in the forecastŷ₁₇ = 0.30·y₁₆ + 0.21·y₁₅ + 0.15·y₁₄ + … = 58.1
Toy: 20 seeded quarters of sales; the model sees 16
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
y^17=∑kα(1−α)k y16−k\sy{f}{out}{\hat y_{17}} = \sum_{k} \sy{w}{param}{\alpha(1-\alpha)^{k}}\,\sy{y}{data}{y_{16-k}}
y^17=0.30 y16+0.21 y15+0.15 y14+⋯=58.1\hat y_{17} = 0.30\,y_{16} + 0.21\,y_{15} + 0.15\,y_{14} + \dots = 58.1

The forecast adds each past sale times its weight.

Common mix-ups

MYTHA larger α always follows the sales better.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01If α goes from 0.3 to 0.6, does the weight of the newest quarter go up or down?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 2 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.