Skip to content

Time-series components, moving averages and exponential smoothing

Forecast the next quarter's sales with a three-quarter moving average and with exponential smoothing, and compare the forecasts by MAD, MSE and MAPE.

It opens on

Northgate's sales have trended up over twelve quarters. If each quarter is forecast as the mean of the previous three quarters, will the forecasts mostly be above the actual sales or mostly below?

Why it matters

Every budget and stocking plan rests on a forecast, and a manager must know how a simple smoothing forecast is made and how to judge whether it is accurate enough.

Good to know first

  • mean of a list

Step by step

  1. Components and the moving average

    Name the components of a time series and forecast with a three-quarter moving average, seeing how it lags a trend.

    (52 + 55 + 53) ÷ 3 = 160 ÷ 3 = 53.33, and the actual was 58, so the error is 58 − 53.33 = 4.67.

    F(4) = 53.33; error = 4.67

    A common mix-up

    A moving average predicts the trend.

    In fact: It averages past values, so in a rising series it lags behind, and in a falling one it stays above.

  2. Exponential smoothing

    Compute exponential smoothing forecasts with α = 0.3, and see how α sets the weight on recent values.

    Quarter 2's actual was 55. The forecast for quarter 3 is 0.3 × 55 + 0.7 × 52 = 16.5 + 36.4 = 52.90.

    F(3) = 52.90

    A common mix-up

    Exponential smoothing uses only the last value.

    In fact: Every past value counts, but with weights that fall away geometrically.

  3. Measuring forecast accuracy

    Compute MAD, MSE and MAPE for the two methods and choose between them.

    A common mix-up

    A forecast method with the smallest error on past data will be best in the future.

    In fact: It is the best fit to the past, and the next quarters may behave differently, so new data must be checked.

Try it

Using the sales 61, 57, 63, what is the three-quarter moving average forecast for the next quarter, and its error if the actual is 66?Answer

60.33, error 5.67

Hint: Mean of the three, then actual minus forecast

With α = 0.3, the old forecast is 60 and the latest actual is 70. What is the next forecast?Answer

0.3 × 70 + 0.7 × 60 = 63

Hint: Blend the two

Forecast errors are 2, −4, 3, −1. Find MAD and MSE.Answer

MAD = 2.5 and MSE = (4 + 16 + 9 + 1) ÷ 4 = 7.5

Hint: Absolute values, then squares

What is the forecast for quarter 5, from quarters 2, 3 and 4?Answer

55.33

Quarter 3's actual was 53. What is the forecast for quarter 4?Answer

52.93 (0.3 × 53 + 0.7 × 52.90)

Time-series components, moving averages and exponential smoothing

30 minutes every month. No card.