Single exponential smoothing: forecast a level, choose alpha

Updated

Single exponential smoothing forecasts the next period from a smoothed level that is updated every period: the new level is a weighted mix of the latest observation and the previous level. Recent data count the most, and older data fade out gradually instead of dropping off all at once. It suits series that wander around a slowly changing level with no steady trend or season, such as weekly consumption of tooling, fasteners or consumables.

When to use it

  • The series has no steady trend and no seasonal pattern, but its level drifts over time.
  • You need a short-term forecast that adapts as new data arrive, with almost no computation.
  • You want something smoother than a moving average forecast that still weights recent periods more.
  • You are forecasting many items at once (one per part number) and need a method that runs without tuning each one by hand.

If the series trends, use double exponential smoothing; if it has seasons, use Winters' method.

How it works

With smoothing weight α between 0 and 1, the level Lₜ is updated each period, and the forecast for the next period is the current level:

Lₜ = α·yₜ + (1 − α)·Lₜ₋₁ F(t+1) = Lₜ

Expanding the update shows where the name comes from: the observation k periods back gets weight α(1 − α)ᵏ, which shrinks geometrically. With α = 0.38, the latest week gets 0.38, the week before 0.236, then 0.146, 0.091 and so on.

  • Small α (0.1 to 0.2): a smooth forecast that reacts slowly; good for noisy, stable series.
  • Large α (0.5 and up): a forecast that follows the data closely, including noise.

Two choices affect the result:

  • Starting level. This article starts with L₁ = y₁, the first observation. Other common choices are the mean of the first few observations or a value estimated backward from the data; they change the early errors and slightly change the best α.
  • Choosing α. Either set it from experience or choose the value that minimizes the sum of squared one-step-ahead errors. This article uses the second, searching α in steps of 0.01.

Accuracy is reported as MAPE, MAD and MSD of the one-step-ahead errors yₜ − F(t).

Example

A machining cell tracks carbide inserts used per week. A change in cutting parameters is expected to stretch tool life slowly over the coming months:

WeeksInserts used
1–5218, 219, 213, 204, 204
6–10208, 210, 194, 190, 213
11–15200, 203, 210, 205, 198
16–20200, 178, 204, 193, 188

The level starts at L₁ = 218, so the forecast for week 2 is 218. With α = 0.38, week 2's level is 0.38 × 219 + 0.62 × 218 = 218.38, the forecast for week 3. The value of α that minimizes the squared errors over weeks 2 to 20 is 0.38 (sum of squares 1749.0):

αMAPEMADMSDForecast for week 21
0.38 (optimal)3.757.3792.05192.6
0.204.108.01103.85196.0
Weekly insert use and single exponential smoothing forecast180190200210220InsertsInserts usedForecast, α = 0.382468101214161820Week
Weekly insert use and single exponential smoothing forecast

The level drifts down, from an average of 207.3 inserts a week in weeks 1 to 10 to 197.9 in weeks 11 to 20, which is why the best α is fairly large: a slow forecast (α = 0.2) stays too high and ends at 196.0, while α = 0.38 ends at 192.6. The cell orders against a forecast of about 193 inserts a week for the next few weeks and will revisit α after another quarter of data. The MAD of 7.4 inserts sets the scale for safety stock.

How to read the results

  • The forecast is flat: about 193 inserts for week 21, week 22 and every week after, until new data update the level.
  • α says how much the method trusts the latest observation. An optimal α near 1 means the series behaves like a random walk; near 0, like noise around a fixed mean.
  • MAPE, MAD and MSD are fit measures on past one-step forecasts. Errors several periods ahead will be larger.
  • The residuals (actual minus forecast) should look random. A long run of one sign suggests a trend the method cannot follow.

Common mistakes

  • Using it on trending data. The forecast always lags a trend; use double exponential smoothing.
  • Trusting an optimal α from a short series. With 20 points, the error curve is flat around its minimum: here α = 0.3 gives MSD 93.6 and α = 0.45 gives 92.9, against 92.05 at the optimum.
  • Ignoring the starting level. With few data and a small α, a poor starting value distorts many early forecasts.
  • Confusing it with an EWMA chart. The EWMA chart uses the same smoothing but adds control limits to detect small shifts; it monitors a process rather than forecasting demand.

Frequently asked questions

What value of α should I use?

If you have enough data, let the optimization choose it and check that the answer makes sense. Without data to fit, values from 0.1 to 0.3 are common for stable series.

Single exponential smoothing gives the same forecasts as an ARIMA(0,1,1) model whose moving average coefficient is α − 1 (with the term written with a plus sign). An ARIMA fit can therefore estimate α with a standard error and give prediction intervals.

Why does the forecast not continue the downward drift?

The method has no trend term. It assumes that the current level is the best guess for every future period. If the drift is steady and you want to project it, add a trend with double exponential smoothing.

How does it compare with a moving average?

A moving average weights the last k periods equally and ignores older ones; exponential smoothing weights all periods with geometrically shrinking weights. An α of about 2/(k + 1) gives roughly the same average age of data as a k-period moving average.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab