Forecasting Practice Problems: Moving Average, Exponential Smoothing and MAPE, With Solutions
Calculator: Forecast accuracy. Do this calculation with your own numbers.
Eight forecasting problems on one dataset, each with a worked solution. They cover the methods and error measures that come up in every operations course and every demand planner interview.
Want to forecast and then see what demand really did? On Play Supply Chain, free challenge 5 is about forecasting: you buy a forecast and plan production against it. Create a free account.
The data
Monthly demand for one product:
| Month | Jan | Feb | Mar | Apr | May | Jun |
|---|---|---|---|---|---|---|
| Demand | 120 | 132 | 128 | 140 | 150 | 146 |
The methods are explained in Moving Average and Exponential Smoothing and Forecast Accuracy: MAPE, WAPE and Bias.
Problems
1. Forecast July with a 3-month moving average.
2. Forecast July with a weighted moving average. Weights: 0.5 for the latest month, 0.3 for the month before and 0.2 for the one before that.
3. Use exponential smoothing with α = 0.3. Take 120 as the forecast for January. Calculate the forecasts for February to July.
4. Calculate the MAPE of the exponential smoothing forecast for February to June.
5. For the same forecast, calculate the MAD, the bias and the tracking signal. What do they tell you?
6. Compare the 3-month moving average with exponential smoothing over April, May and June. Which has the lower MAD?
7. Demand is clearly rising. Make a simple trend forecast for July from the average monthly increase.
8. A different product sold 80, 120, 160 and 40 units in the four quarters of last year. Calculate the seasonal index of each quarter. Next year's total forecast is 480 units. Forecast quarters 3 and 4.
Solutions
1. (140 + 150 + 146) ÷ 3 = 145.3.
2. 0.5 × 146 + 0.3 × 150 + 0.2 × 140 = 73 + 45 + 28 = 146.
3. New forecast = old forecast + α × (actual − old forecast).
| Month | Actual | Forecast | Error (actual − forecast) |
|---|---|---|---|
| Jan | 120 | 120.0 | 0.0 |
| Feb | 132 | 120.0 | 12.0 |
| Mar | 128 | 123.6 | 4.4 |
| Apr | 140 | 124.9 | 15.1 |
| May | 150 | 129.4 | 20.6 |
| Jun | 146 | 135.6 | 10.4 |
| Jul | 138.7 |
Example for March: 120 + 0.3 × (132 − 120) = 123.6.
4. Absolute percentage errors for February to June: 9.1%, 3.4%, 10.8%, 13.7% and 7.1%. Their average is 8.8%.
5. MAD = (12.0 + 4.4 + 15.1 + 20.6 + 10.4) ÷ 5 = 12.5 units. Bias = sum of the errors = +62.4 units: every month the forecast was too low. Tracking signal = 62.4 ÷ 12.5 = 5.0. A tracking signal beyond 4 in either direction means the forecast is biased and the method needs to change. Here the cause is the upward trend, which simple exponential smoothing always follows from behind.
6. Moving average forecasts: April (120 + 132 + 128) ÷ 3 = 126.7, May 133.3, June 139.3. Errors: 13.3, 16.7 and 6.7. MAD = 12.2. Exponential smoothing over the same three months: errors 15.1, 20.6 and 10.4. MAD = 15.3. The moving average is closer here. Compare methods on the same months, or the comparison is not fair.
7. Demand rose from 120 to 146 over 5 months, an average of 5.2 a month. July = 146 + 5.2 = 151.2. This is higher than every method above, because those methods average the past and a rising series is always above its own past.
8. Total = 400, average per quarter = 100. Seasonal indices: 80 ÷ 100 = 0.8, 1.2, 1.6 and 0.4. Next year's average quarter = 480 ÷ 4 = 120. Quarter 3 = 120 × 1.6 = 192. Quarter 4 = 120 × 0.4 = 48.
What the eight problems teach
- Averaging methods lag behind a trend. The tracking signal detects it.
- A low MAPE can hide a forecast that is wrong in the same direction every month. Always look at bias too.
- A higher α reacts faster and is noisier. A lower α is smoother and slower.
- Seasonal indices must average 1.0.
Questions people ask
How do I choose α?
Try several values on past data and pick the one with the lowest error, checking that bias stays near zero. Values between 0.1 and 0.3 are common for stable products.
What is a good MAPE?
It depends on the product and the level of detail. Monthly forecasts for a product family are far more accurate than weekly forecasts for one item in one shop.
Why does my first forecast matter?
With few data points, the starting value still carries weight. With 20 or more periods its influence is almost gone.
Practise it
In Play Supply Chain's Planning War Room you choose a forecasting method, correct the history for one-off events, build a supply plan and then see what demand really did. It sits in Premium, further along the path: how it plays. The path starts with five free challenges. Create a free account.
Related reading
Don't just read about supply chains. Play them.
- The first 5 challenges are free, with the same game engines and debriefs as Premium
- Your stars and your level are saved to your profile
- No credit card, no spam
More in Planning
- Beer Game Strategy: How to Win the Beer Distribution Game
- Inventory Management Game: A Dice Exercise That Teaches Reorder Points
- Safety Stock and Reorder Point Practice Problems With Solutions
- EOQ Practice Problems With Step-by-Step Solutions
- Supply Chain Case Study With Solution: A Stockout Problem Solved Step by Step
- WAPE vs MAE vs MAPE vs RMSE: Which Forecast Error Metric to Use
- Push vs Pull Supply Chain: The Difference, With Examples
- Reorder Point Formula: When to Order, With a Worked Example