Forecasting Error Metrics
Forecasting Error Metrics
Calculate the “totals” of the 3 right hand side columns, reflect on what they represent and calculate
the following forecast accuracy measures. Note: The denominator of MAD, MSE and MAPE is n
which represents the # of forecast errors. In this example, n = 4.
An alternative method to calculate MAD, MSE and MAPE in Excel is to take the average of the 3
right hand side columns. Another valuable Excel functions that can be used here is: =abs( )
Please Note: When calculating MAD, MSE and MAPE for SES, we do not include the forecasting
error of the first period (Jan. in this case). The reason for this is because January’s forecast of 10 is
a starting estimate (thus, it would be a forecast error of 0) and therefore we will exclude it when
calculating forecast error. Your Chapter handout also uses the same convention (see Figure 11.8
on page 512)
Please complete the following exercise at home: Now use Excel at Home to create the same table to
calculate the MAD, MSE and MAPE for the Wallace Shed Sales example for MA = 4 and SES (0.1).
When completed, compare the forecasting accuracy measures and draw a conclusion as to which
model is performing the best. Compare your answers to the solutions posted in Moodle in the
filename called “Wallace Gardens posted answers.xlsx”
Important Question: Will your above conclusions with reference to “the best model” always hold
true?
Part I : Using MA – See Section 11.3 for the same exercise in your textbook!
Create both a 2-month and a 4-month Moving average forecast in columns C and D respectively.
Next, calculate the MSE for both forecasts in cells C28 and D28 to compare these methods. The formula
for calculating MSE in one cell in EXCEL is:
=SUMXMY2(array_x,array_y) / count()
where:
SUMXMY2 stands for SUM of squares of differences of corresponding values in
two arrays. That is, the SUM of X Minus Y to the power of 2!!
array_x is the array of actual sales values
array_y is the array of predicted values
MSE:
MA = 2
MA = 4
View the plot of the data and the forecasts using k = 2 and k = 4. Describe in words the difference between
the MA2 forecast line and the MA4 forecast line. Which forecast seems more responsive to the actual
sales?
__________________________________________________________________________
__________________________________________________________________________
Which of the 2 forecasting methods, k = 2 or k = 4, is performing the best only over the last 12 periods (i.e.,
from periods 13 to 24). Hint: Modify your MSE formula so that it only considers the last 12 periods. Which
forecast is performing better? k = 2 or k = 4? Fill in the following:
MSE:
MA = 2
MA = 4
MA = 10
Create a MA forecast using k = 10. Calculate MSE over the last 12 periods and fill in the table above. Draw
a conclusion with respect to the best choice of k for MA applied to the DVR sales.
Exercise #2 Part II – Using SES. See Page 510 for the same exercise!!!
Create an exponential smoothing forecast for the DVR Sales data in cells C3 to cells C26. To
begin, let alpha = 0.5. Evaluate the forecasting error using the MSE. See Figure 11.8 on page
512 to guide you if you’re having difficulty.
Which forecast reacts quicker to changes in the sales data: alpha = 0.1 or alpha = 0.9?
Describe in words the difference between the alpha 0.1 forecast line and the alpha 0.9 forecast
line:________________________________________________________.
See Figure 11.9 and 11.10 to determine the optimal value for alpha that minimizes the MSE.
Solver is an “Addin” software that may require you to “add it into Excel”. See pages 5 of this
handout for help “adding it into” Excel.
Once you have entered the solver settings as shown in your Chapter handout as shown in Figure
11.9, press Solve to determine the optimal alpha that minimizes the MSE. Your spreadsheet
should like identical to that of Figure 11.10. The minimized MSE should be 0.268.
Finally, draw a conclusion with respect to the DVR Sales data for:
the best alpha to be used for Exponential Smoothing
Next, click onto “Add-Ins” and then “Go” at the bottom of the Window.
Put a check mark in the box to the left of “Solver” and click okay. Go back to the toolbar and click onto
Data. Solver should appear on the top right hand side.