Professional Documents
Culture Documents
Forecasting
Outline:
1. Measuring forecast error
2. The multiplicative time series model
3. Naïve extrapolation
4. The mean forecast model
5. Moving average models
6. Weighted moving average models
7. Constructing a seasonal index using a centered
moving average
8. Exponential smoothing
Forecast error
Predicted
Time
Average Absolute Error (AAE) is given by:
m
1
AAE
m
Y
t 1
t Yˆt
Predicted
Time
Mean Square Error (MSE) is given by:
m
1
MSE
m
i i
(Y
t 1
Yˆ ) 2
Predicted
Time
Root Mean Square Error (root MSE) is given by:
1 m
rootMSE
m t 1
(Yt ˆ
Y t ) 2
20 Trend = 10 – 25t
-20
-40
3000
1000
0
10 20 30 40 50 60 70 80 90 100
Non-linear, decreasing trend
1000
-1000
-2000
-3000
-4000
-5000
10 20 30 40 50 60 70 80 90 100
The seasonal component (S)
The Data
Sales of Home Furnishing Stores, 1992-2007
(millions of dollars, NSA)
7000
6000
5000
4000
3000
2000
1000
92 94 96 98 00 02 04 06
Year/Month
Source: Economagic.com
Our first step is to estimate the
trend component of our series.
This is accomplished using a
ordinary least squares, or OLS for short.
187
MIN . (Y t Yˆt ) 2
t 1
We estimate a linear
trend function with Excel.
It is displayed on the next
slide.
Linear Trend Line Fitted to
Home Furnishing Data
7000
4000
3000
2000
1000
0
0 20 40 60 80 100 120 140 160 180 200
t
Actual and Trend Values of Hom Furniture Sales (in millions)
7000
6000
5000
4000
3000
2000
1000
92 94 96 98 00 02 04 06
Year/Month
Actual TREND
Seasonal Index
Month Index
Jan 0.8799 •If you sum the
Feb 0.8475 monthly values and
Mar 0.9823 divide by 12, you
Apr 0.9004 get 1.00.
May 0.9939
•Later we show a
Jun 1.0197
simple technique
Jul 0.9729
Aug 1.0487 for computing a
Sep 1.0042 seasonal index.
Oct 0.9962
Nov 1.123
Dec 1.2969
Performing an in-sample forecast of home
furnishing sales
•An in-sample forecast means we are forecasting
home furshing sales for those months for which we
already have data that have been used to estimate the
trend, seasonal, and other components. Comparing
forecasted, or fitted values of home furnishing sales
with actual time series data gives us an idea of how
well this performs.
•We will assume that the cyclical index is equal to 1
(Ct = 1). This is a poor assumption since our period
contains two business cycle contractions.
Let’s give an example how we
use this model to Home
furnishing sales for a
particular month, say, April
1998 . t = 76 for this month
FˆApr98 Tt St Ct
6000
5000
4000
3000
2000
1000
94 96 98 00 02 04 06
Year/Month
Multiplcative model Home furnishing sales (millions)
Residuals from In-sample Forecast of Home Furnishing Sales (in millions)
300
Recession is shaded
200
100
-100
-200
-300
94 96 98 00 02 04 06
Year/Month
MSE $103.275
Forecasting Using the Multiplicative
Model