Chapter 9
Chapter 9
Chapter 9
Forecasting
Techniques
Universityof Windsor
Learning Objectives
• Forecasting
ForecastingTechniques
Techniques
• Qualitative
Qualitativeandandjudgmental
judgmental techniques
techniques
• Statistical
Statisticaltime-series
time-series models
models
• Types
TypesofofTime
TimeSeries
Series Forecasting
Forecasting Models
• Moving
MovingAverage
Average Models
• Exponential
ExponentialSmoothing
Smoothing Models
• Forecasting
ForecastingModels
Modelswith
withaaLinear
Linear Trend
Trend
• Double
DoubleExponential
Exponential Smoothing
Smoothing
• Regression-based
Regression-based Forecasting
Forecasting Models
• Forecasting
Forecasting Time
Time Series
Series with
with Seasonality
Seasonality
• Regression-based
Regression-based Forecasting
Forecasting Models with Seasonality
• Holt-Winters
Holt-WintersForecasting
Forecasting Models
Models with
with Seasonality
Seasonality
• Holt-Winters
Holt-WintersAdditive
Additive Seasonality
Seasonality Model
• Holt-Winters
Holt-WintersMultiplicative
Multiplicative Seasonality
Seasonality Model
• Explanatory/causal
Explanatory/causal models
models
1
7/5/26
Forecasting Techniques
• Managers
Managers require
require good
good forecasts of future events for decision-making
For example,
• Forecasts of interest rates and economic indicators are needed for financial planning
• Sales forecasts are needed for production planning
• Consumer behaviour forecasts are needed for strategic planning
• Business
Business Analysts
Analysts use
use three
three major
major categories
categories of
of forecasting
forecasting approaches
• Qualitative and judgmental techniques
• Statistical time-series models
• Explanatory/causal models
Universityof Windsor
• They
Theyare
areused
used when
when historical
historical data
data is not available
• Some
Somecommon
commonJudgmental
Judgmental Forecasting
Forecasting Techniques
Techniques include
• Historical
HistoricalAnalogy
Analogy (Similarity)
(Similarity)
• Delphi
DelphiMethod
Method
• Indicators
Indicatorsand
andIndexes
Indexes
Universityof Windsor
2
7/5/26
Historical Analogy
• Historical Analogy (Similarity) approach forecasts based on comparative analysis with
prior situations
• For
For example
example
• IfIfaanew
newproduct
productisisintroduced
introduced in
in the
the market
market
• The
Theresponse
responseofofconsumers
consumerstotomarketing
marketingcampaigns
campaigns is expected to be similar to
previous products
• AllAllfactors
factorsare
arenot
notfully
fullyconsidered
consideredin
in such
such an
an approach
• However,
However,some someinsight
insightcan
canoften
oftenbe
begained
gainedthrough
through an
an analysis
analysis of
of past
past experiences
experiences
Universityof Windsor
• Mid-1998 – oil price dropped to $11 a barrel because of oversupply and high production
in non-OPEC regions
Universityof Windsor
3
7/5/26
Delphi Method
• Delphi
DelphiMethod
Methoduses
usesaapanel
panel of
of experts
experts to
to make
make a forecast
• A questionnaire about the forecast is circulated 2-3 times in order to reach a convergence of
opinion on the forecasted variable
• After each round of responses, every expert’s opinions help to reinforce those in agreement and
further refine the questions about disagreement
Universityof Windsor
4
7/5/26
Universityof Windsor
• Statistical
Statisticaltime-series
time-seriesmodels
modelsare
arevery
verygood
goodfor
forshort-range
short-range forecasting
forecasting problems
Time series forecasts are based on the assumption that the future is an extrapolation of the past
Universityof Windsor
10
5
7/5/26
11
Universityof Windsor
12
6
7/5/26
• 1960s
1960s (Low),
(Low), 1980s
1980s (High),
(High), 2000s (Low)
Universityof Windsor
13
Universityof Windsor
14
7
7/5/26
• Moving Average Models: the next observation is the mean of every past observation
• Exponential Smoothing Models:
–– In simple moving average, the past observations are weighted equally
–– In exponential smoothing, exponentially decreasing weights are assigned for events that
occurred too much in the past
Universityof Windsor
15
• The
Thesimple
simplemoving
moving average
average forecast
forecast for the next period is computed as the average of the
most recent k observations
(9.1)
Ft+1 = Forecast value in period
period (t+1)
(t+1)
Universityof Windsor
16
8
7/5/26
– The file contains the number of Computer units sold over the past 17 weeks
– Use a three-period moving average window to forecast the number of units sold for week 18
Universityof Windsor
17
18
9
7/5/26
• Three-period
Three-periodmoving
movingaverage
average forecast for week 18
Universityof Windsor
19
• Although
Althoughthe
theforecast
forecast tracks
tracks the actual data fairly well, notice that
– The
– The forecast overestimates the actual value when the trend is down
– While
– While it underestimates the actual value when the trend is up
This is because it uses past data, and thus lags the changes in the data
Universityof Windsor
20
10
7/5/26
– Use a three-period moving average window to forecast the number of units sold for week 18,
using the Data Analysis pack
Universityof Windsor
21
22
11
7/5/26
Universityof Windsor
23
• Error
Erroror
orResidual
Residual in
in aa forecast
forecast is the difference between the forecast and the actual value
• Three
Threeerror
errormetrics,
metrics,which
whichcompare
compare forecasts
forecasts with
with actual
actual observations
observations are commonly used
Universityof Windsor
24
12
7/5/26
Error Metrics
– Mean absolute deviation (M A D) (9.2)
Universityof Windsor
25
• Open
Openthe
theExcel
Excel file
fileExample
Example 1:
1: Moving
Moving Average
Average
• Use
Useerror
errormetrics
metricsto
tocompare
compare 2-period,
2-period,3-period,
3-period,and
and4-period
4-periodmoving
moving average
average models
26
13
7/5/26
• For
For2-period
2-periodMoving
Moving Average
Average (k = 2)
– InIn the cell C6, use the function = =AVERAGE(B4:B5)
–
– Copy
– Copy and paste cell C6 from C7:C20
–– Error
Error = Actual – Forecast (cell D6 = B6 – C6)
– Absolute
– Absolute Deviation
Deviation (cell E6 = ABS(D6)), MAD (cell E21 = AVERAGE(E6:E20))
–– Squared Deviation (cell
Squared Deviation (cell F6
F6 == D6^2),
D6^2), MSE
MSE (cell
(cell F21 = AVERAGE(F6:F20))
–– Absolute
Absolute % error
error (cell
(cell G6 == ABS(D6/B6)*100),
ABS(D6/B6)*100), MSE (cell G21 = AVERAGE(G6:G20))
• For
For3-period
3-periodMoving
Moving Average
Average (k = 3)
– InIn the cell H7, use the function = =AVERAGE(B4:B6)
–
– Rest
– Rest ofof the
the procedure
procedure is the same
• For
For4-period
4-periodMoving
Moving Average
Average (k = 4)
– InIn the cell M8,
– M8, use
use the function = =AVERAGE(B4:B7)
– Rest
– Rest ofof the
the procedure
procedure is the same
Universityof Windsor
27
• The
The2-period
2-periodmodel
modelhas
has the
the lowest
lowest error
error metric
metric values
values and
and is the best model
A 8 C D M N P
Tablet Computer Sales
k=2 K=3 k=
Week Units Sold Forecast ErrorAbsolute Squared AbsoluteForecast ErrorAbsolute Squared Absolute Forecast Error Absolute Squared Absolute
1 88 Deviation Error %Error Deviation Error %Error Deviation Error %Error
2 44
3 60 66.006.00 6.00 36.00 10.00
97
4 56 52.004.00 4.00 16.00 7.14 64.00-8.00 8.00 64.00 14.29
5 70 58.0012.00 12.00 144.00 17.14 53.3316.67 16.67 277.78 23.81 62.00 8.00 8.00 64.00 11.43
67 91
54
63.0028.00
80.50-28.50
28.00
26.50
784.00
702.25
30.77
49.07
62.0029.00
72.33-18.33
29.00
18.33
841.00
336.11
31.87
33.95
57.50
69.25
33.50
-15.25
33.50 1122.25
15.25 232.56
36.81
28.24
8 60 72.50-12.50 12.50 158.25 20.83 71.67-11.67 11.67 136.11 19.44 67.75 -7.75 7.75 60.06 12.92
12 48 57.009.00 9.00 81.00 18.75 68.33-20.33 20.33 413.44 42.36 68.75 -20.75 20.75 430.56 43.23
13 10 35 54.00-19.00 19.00 361.00 54.29 54.00-19.00 19.00 361.00 54.29 63.25 -28.25 28.25 798.06 80.71
11 49 41.507.50 7.50 56.25 15.31 47.671.33 1.33 1.78 2.72 49.25 -0.25 0.25 0.06 0.51
12 44 42.002.00 2.00 4.00 4.55 44.00 0.00 0.00 0.00 0.00 48.00 -4.00 4.00 16.00 9.09
13 61 46.5014.50 14.50 210.25 23.77 42.6718.33 18.33 336.11 30.05 44.00 17.00 17.00 289.00 27.87
14 68 52.5015.50 15.50 240.25 22.79 51.3316.67 16.67 277.78 24.51 47.25 20.75 20.75 430.56 30.51
15 82 64.5017.50 17.50 306.25 21.34 57.6724.33 24.33 592.11 29.67 55.50 26.50 26.50 702.25 32.32
16 71 75.004.00 4.00 16.00 5.63 70.330.67 0.67 0.44 0.94 63.75 7.25 7.25 52.56 10.21
17 50 76.50-26.50 26.50 702.25 53.00 73.67-23.67 23.67 560.11 47.33 70.50 -20.50 20.50 420.25 41.00
28
14
7/5/26
(9.6)
Universityof Windsor
29
• Use
Usethe
theexponential
exponential smoothing (𝛼==0.10
smoothing model (𝛼 0.10𝑡𝑜
𝑡𝑜 1.0
1.0)) to forecast sales for weeks 1 to 17
30
15
7/5/26
Universityof Windsor
31
32
16
7/5/26
• Use
Usethe
theExcel
Excelexponential
exponential smoothing (𝛼==0.10
smoothing tool (𝛼 0.10)) to forecast sales for weeks 1 to 17
Universityof Windsor
33
34
17
7/5/26
Universityof Windsor
35
• These
Theseare
arebased
based on
on the
the linear
linear trend
trend equation
Universityof Windsor
36
18
7/5/26
(9.8)
• Initial
Initial values are chosen for a1 as A1 and b1 as (A2 – A1)
values are
• The
Theforecast
forecast for
for kk periods
periods beyond the last period (period T) is
Universityof Windsor
37
Universityof Windsor
38
19
7/5/26
(9.8)
• Initial
Initial values are chosen for a1 as A1 and b1 as (A2 – A1)
values are
• For
For a1, cell C8 = B8
• For
For b1, cell D8 = B9 - B8
• For
For a2, cell C9 = $B$4*B9+(1-$B$4)*(C8+D8)
• For
For b2, cell D9 = $B$5*(C10-C9)+(1-$B$5)*D9
• Copy
Copy and
and paste
paste cell C9 to C10:C17
• Copy
Copy and
and paste
paste cell D9 to D10:D17
Universityof Windsor
39
• KK == 11 for
for the
the next
next period
• Forecast
Forecast
• Cell
Cell E10
E10 == C9
C9 + D9
• Copy
Copy and
and paste cell E10 to E11:E18
• The
The forecast
forecast for year 11 = 588,716,009 tons
Universityof Windsor
40
20
7/5/26
Universityof Windsor
41
42
21
7/5/26
• Simple
Simplelinear
linearregression
regression can
can be
be applied
applied to
to forecasting
forecasting using time as the independent variable
• Example:
Example: Coal
Coal Production
Production with
with aa linear trendline
– Regression equation can predict the value of coal production for any year (x) within the data
– Not used for future forecasts
Universityof Windsor
43
– Multiple Regression Models with categorical variables for the seasonal components
Universityof Windsor
44
22
7/5/26
Universityof Windsor
45
• We
Wehave
haveto
toadd
add(k(k−−11==11)
11)dummy
dummyvariables
variables (Feb-Dec),
(Feb-Dec),with
withJanuary
Januarybeing
being the
the reference
reference month
• The
Thevalues
valuesinindummy
dummy variables
variables are
are 00 except
except for that month, which is 1
Universityof Windsor
46
23
7/5/26
• Run
Runthe
theregression
regressionmodel
modelwith
withgas
gas usage
usage as the Y variable and rest as the input variables
Universityof Windsor
47
• Because the data show no clear linear trend, the variable Labels Constant is Zero
SB$30
• The dummy variable for February was probably O Output Range:
ONew Worksheet Ply:
insignificant because the historical gas usage for both O New Workbookl
Residuals
January and February were very close to each other
Residuals Residual Plots
Standardized Residuals Line Fit Plots
Normal Probability
Universityof Windsor
48
24
7/5/26
• The regression equation can be used to forecast gas usage for any month (use 1 for the month for
which gas usage is being estimated, and 0 for all others)
UniversityofWindsor
49
Holt-Winters Models for Forecasting Time Series with Seasonality and No Trend
• The Holt-Winters additive seasonality model with no trend applies to time series with relatively stable
seasonality and is based on the equation
(9.10)
• The Holt-Winters multiplicative seasonality model with no trend applies to time series whose
amplitude increases or decreases over time and is
(9.11)
A plot of the time series should be carefully viewed first to identify the appropriate type of model to use
Universityof Windsor
50
25
7/5/26
Level componenta=aA-S-s+1-a
Seasonal component:S=yA-a)+(1-y)S- (9.12)
Universityof Windsor
51
Universityof Windsor
52
26
7/5/26
Universityof Windsor
53
54
27
7/5/26
• The multiplicative seasonal model has the same basic smoothing structure as the additive
seasonal model with some key differences:
Levelcomponenta=aA/S+1-aa
Seasonal componentS=yA/a+1-yS (9.15)
Universityof Windsor
55
No Seasonality Seasonality
No trend Simple moving average Holt-Winters additive or multiplicative
or simple exponential seasonality models without trend or
smoothing multiple regression
Trend Double exponential Holt-Winters additive or multiplicative
smoothing seasonality models with trend
Universityof Windsor
56
28
7/5/26
Universityof Windsor
57
58
29
7/5/26
Universityof Windsor
59
60
30
7/5/26
Regression Statistics
Multiple R 0.93052853
R Square 0.86588334
Adjusted R S0.8275643
Standard Err1235.40033
Observations 10
ANOVA
df SS MS Significance F
Regression 268974748.734487374.322.59668370.00088347
Residual 710683497.81526213.97
Total 979658246.5
UniversityofWindsor
61
31