Double exponential smoothing (Holt's method) for trending data

Updated

Double exponential smoothing, also called Holt's method, forecasts a series that has a trend. It keeps two smoothed quantities, the current level and the current slope, and updates both every period. Forecasts continue the latest slope in a straight line. Unlike a fitted trend line, the slope can change over time, so the forecast adapts when growth speeds up or slows down.

When to use it

  • The series grows or declines, with no seasonal pattern.
  • The rate of growth may change over time, so a single straight line for the whole history is too rigid.
  • You need short- to medium-term forecasts that update as each month's data arrive.
  • Single exponential smoothing leaves a run of same-signed errors because it cannot follow the trend.

If the series also has seasons, use Winters' method. If the trend is steady and you want one equation for the whole history, use trend analysis.

How it works

With a level weight α and a trend weight γ (some texts call it β), both between 0 and 1, each period updates the level Lₜ and the trend Tₜ:

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

The level mixes the new observation with where the previous level and trend said it would be. The trend mixes the latest change in level with the previous trend. The forecast h periods ahead extends the current level by h steps of the current trend.

  • α controls how fast the level reacts; γ controls how fast the slope reacts. A small γ keeps the slope stable; a large γ lets it swing with every bump.
  • Starting values. This article starts from a least-squares line through the first six periods: L₀ is its intercept at period 0 and T₀ its slope. Other starts, such as the first difference or a line through all the data, are also common.
  • Choosing the weights. This article picks the pair that minimizes the sum of squared one-step-ahead errors, searching both in steps of 0.01.

Example

A distributor tracks monthly orders for a hydraulic fitting over two years:

MonthsOrders
1–6298, 312, 323, 302, 308, 315
7–12332, 333, 343, 344, 346, 350
13–18351, 361, 353, 361, 370, 383
19–24371, 372, 380, 394, 391, 405

The line through the first six months gives L₀ = 304.47 and T₀ = 1.486. The best weights are α = 0.41 and γ = 0.14 (sum of squared errors 1790.6). The first step:

  • Forecast for month 1: 304.47 + 1.486 = 305.95. Actual: 298.
  • L₁ = 0.41 × 298 + 0.59 × 305.95 = 302.69.
  • T₁ = 0.14 × (302.69 − 304.47) + 0.86 × 1.486 = 1.03.
  • Forecast for month 2: 302.69 + 1.03 = 303.72.
Monthly fitting orders and one-step-ahead Holt forecasts300325350375400OrdersOrdersForecast, α = 0.41, γ = 0.141471013161922Month
Monthly fitting orders and one-step-ahead Holt forecasts

The slope starts low, because the first six months happen to be noisy, and climbs to about 4 orders a month by month 10 as the data show steady growth. By month 24 the level is 399.40 and the trend is 4.51 orders per month. Accuracy and forecasts:

WeightsMAPEMADMSDMonths 25–30
α = 0.41, γ = 0.142.087.1474.61403.9, 408.4, 412.9, 417.4, 421.9, 426.4
α = 0.30, γ = 0.102.197.5379.90401.9, 406.1, 410.2, 414.3, 418.5, 422.6

For month 25: 399.40 + 4.51 = 403.9. The two weight pairs differ by less than 4 orders after six months, so the forecast is not sensitive to the exact weights. The distributor plans purchases of the fitting at about 404 to 426 a month over the next half year.

How to read the results

  • The final level is the smoothed current value of the series; the final trend is the current growth per period (4.5 orders a month here).
  • The forecast is a straight line from the final level with the final slope. It does not curve.
  • The weights say how quickly each part adapts. A γ near 0 means the slope barely changes; the method then behaves like a trend line that follows the level.
  • MAPE, MAD and MSD describe one-step-ahead errors on past data. Errors several months ahead will be larger, and they grow with h.

Common mistakes

  • Extrapolating a trend too far. A straight-line forecast twelve or more periods out assumes growth continues unchanged; the further out, the riskier.
  • Using it on seasonal data. The seasonal swing would be read as changes in trend; use Winters' method.
  • Large γ on noisy data. The slope then chases noise and long-range forecasts swing from period to period.
  • Ignoring the starting values. With short series, a poor initial slope can distort the first year of forecasts, as the low T₀ does here in the first months.

Frequently asked questions

What is the difference between double exponential smoothing and trend analysis?

Trend analysis fits one line to all the data, with equal weight on every period. Double exponential smoothing lets the level and slope change, giving recent data more weight. Here a line through all 24 months has a slope of 4.17 orders a month, while the current smoothed trend is 4.51.

Should I damp the trend?

A damped trend shrinks the slope gradually in long-range forecasts, so the forecast levels off. It often gives safer forecasts many periods ahead, at the cost of one more parameter.

Holt's method gives the same forecasts as an ARIMA(0,2,2) model with matching coefficients. Fitting that ARIMA model gives prediction intervals.

Why is it called "double"?

An older version, Brown's method, applies single exponential smoothing twice with one weight. Holt's version uses two weights, one for the level and one for the trend, and both names are used for the method.

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