Chapter 8
Chapter 8
Causal Models:
Explores cause-and-effect relationships
Uses leading indicators to predict the future
E.g. housing starts and appliance sales
Composition
of Time Series Data
Data = historic pattern + random
variation
Historic pattern may include:
Level (long-term average)
Trend
Seasonality
Cycle
Time Series Patterns
Methods of Forecasting the
Level
Naïve Forecasting
Simple Mean
Moving Average
Weighted Moving Average
Exponential Smoothing
Time Series Problem
Determine forecast for Period Orders
periods 11 1 122
Naïve forecast 2 91
Simple average 3 100
3- and 5-period moving 4 77
average 5 115
6 58
3-period weighted moving
7 75
average with weights 0.5,
0.3, and 0.2
8 128
9 111
Exponential smoothing
10 88
with alpha=0.2 and 0.5
11
Time Chart of Orders Data
140
120
100
80
60
40
20
0
1 2 3 4 5 6 7 8 9 10
Naïve Forecasting
Next period forecast = Last
Period’s actual:
Ft 1 At
Simple Average (Mean)
Next period’s forecast = average
of all historical data
At At 1 At 2 .............
Ft 1
n
Moving Average
Next period’s forecast = simple
average of the last N periods
At At 1 ......... At N 1
Ft 1
N
The Effect of the
Parameter N
A smaller N makes the forecast
more
responsive
A larger N makes the forecast
more
stable
Weighted Moving Average
Ft 1 C1 At C2 At 1 ......... C N At N 1
where
C1 C2 .........C N 1
Exponential Smoothing
Ft 1 At 1 Ft
where
0 1
The Effect of the
Parameter
A smaller makes the forecast
more
stable
A larger makes the forecast more
responsive
Time Series Problem
Solution
11 88 97 109 92 103 99 98
Forecast Accuracy
Forecasts are rarely perfect
Need to know how much we should rely
on our chosen forecasting method
Measuring forecast error:
Et At Ft
Note that over-forecasts = negative
errors and under-forecasts = positive
errors
Tracking Forecast Error
Over Time
Mean Absolute Deviation
(MAD):
MAD
actual forecast
A good measure of the actual n
error in a forecast
2
actual - forecast
Mean Square Error (MSE):MSE
n
Penalizes extreme errors
Method A Method B
Month Actu F’cas Error Cum Trackin F’cas Error Cum. Tracking
al t . g t Error Signal
sales Signal
Error
Jan. 30 28 2 2 2 28 2 2 1
Feb. 26 25 1 3 3 25 1 3 1.5
Marc 32 32 0 3 3 29 3 6 3
h
April 29 30 -1 2 2 27 2 8 4
May 31 30 1 3 3 29 2 10 5
MAD 1 2
MSE 1.4 4.4
Forecasting Trends
Trend-adjusted exponential
smoothing
Three step process:
St At (1
Smooth 1 Tt 1of
)( Stlevel
the ) the series:
Tt ( St Stthe
Smooth 1 )Tt 1
1 ) (trend:
b
XY n XY
Sales $ Adv.$ XY X^2 Y^2 2
(Y) (X) X nX2
n XY
X Y
r
n X X * n Y Y
2 2
2 2
(4)30,282 (205)589
r 2
.888
4(10,533) - (205) * 487,165 589
2
r 2 .982 .788
2
2
Coefficient of determination r ( ) measures the amount of variation
in the dependent
2
variable about its mean that is explained by the
regressionr line. Values of ( ) close to 1.0 are desirable.
Factors for Selecting a
Forecasting Model
The amount & type of available
data
Degree of accuracy required
Length of forecast horizon
Presence of data patterns