Professional Documents
Culture Documents
Ft
Ft = a + bt
0 1 2 3 4 5
3-1
Calculating a and b
n (ty) - t y
b =
n t 2 - ( t) 2
y - b t
a =
n
3-2
( t) = 2 2 5
t
1
4
9
16
25
y
S a le s
150
157
162
166
177
ty
150
314
486
664
885
t2 = 5 5
y = 812
ty = 2 4 9 9
3-3
812 - 6.3(15)
a =
= 143.5
5
y = 143.5 + 6.3t
Week (t)
Sales (y)
Sales (y)
6
7
181.3
187.6
3-4
Y
19
18
tY
19
36
15
45
20
80
5
6
18
22
90
132
20
140
28
132
542
b=
n tY t Y 7(542) 28(132)
=
= .50
2
2
7(140) 28(28)
n t ( t )
a=
Y b t 132 .50(28)
=
= 16.86
n
7
Y= a + bt
Product demand
30
25
20
15
10
5
0
|
1
2011 Pearson Education, Inc.
publishing as Prentice Hall
|
2
|
3
|
4
|
5
|
6
Time (month)
|
7
|
8
|
9
Figure 4.3
7
Exponentially
smoothed (Ft) +
forecast
Exponentially
smoothed
trend
(Tt)
Step 2: Compute Tt
! Tt
= (Ft - Ft - 1) + (1 - )Tt - 1
Smoothed
Trend, Tt
2
Forecast
Including
Trend, FITt
13.00
Table 4.1
10
Actual
Smoothed
Smoothed
Month(t)Demand (At)Forecast, Ft
Trend, Tt
1
12
11
2
2
17
3
20
4
19
Step 1: Forecast for Month 2
5
24
6
21
F2 = A1 + (1 - )(F1 + T1)
7
31
F2 = (.2)(12) + (1 - .2)(11 + 2)
8
28
9
36
= 2.4 + 10.4 = 12.8 units
10
Table 4.1
11
Actual
Smoothed
Smoothed
Month(t)Demand (At)Forecast, Ft
Trend, Tt
1
12
11
2
2
17
12.80
3
20
4
19
Step 2: Trend for Month 2
5
24
6
21
T2 = (F2 - F1) + (1 - )T1
7
31
T2 = (.4)(12.8 - 11) + (1 - .4)(2)
8
28
9
36
= .72 + 1.2 = 1.92 units
10
Table 4.1
12
Actual
Smoothed
Smoothed
Month(t)Demand (At)Forecast, Ft
Trend, Tt
1
12
11
2
2
17
12.80
1.92
3
20
4
19
Step 3: Calculate FIT for Month 2
5
24
6
21
FIT2 = F2 + T2
7
31
FIT2 = 12.8 + 1.92
8
28
9
36
= 14.72 units
10
Table 4.1
13
Smoothed
Trend, Tt
2
1.92
2.10
2.32
2.23
2.38
2.07
2.45
2.32
2.68
Forecast
Including
Trend, FITt
13.00
14.72
17.28
20.14
22.14
24.89
26.18
29.59
31.60
35.16
Table 4.1
14
Product demand
30
25
20
15
10
5
0
|
1
2011 Pearson Education, Inc.
publishing as Prentice Hall
|
2
|
3
|
4
|
5
|
6
Time (month)
|
7
|
8
|
9
Figure 4.3
15
The multiplicative
seasonal model
can adjust trend
data for seasonal
variations in
demand
16
140
130
Demand
120
110
100
90
80
70
|
J
|
F
|
M
|
A
|
M
|
J
|
J
|
A
|
S
|
O
|
N
|
D
Time
2011 Pearson Education, Inc. publishing as Prentice Hall
17
18
80
70
80
90
113
110
100
88
85
77
75
82
85
85
93
95
125
115
102
102
90
78
72
78
105
85
82
115
131
120
113
110
95
85
83
80
1050
1120
1204
Average
2007-2009
90
80
85
100
123
115
105
100
90
80
80
80
Average
Monthly
Seasonal
Index
94
94
94
94
94
94
94
94
94
94
94
94
AVE
-
93.72
19
Average
2007-2009
Average Seasonal
Monthly
Index
Jan
80
85 105
90
94
Feb
70
85
85
80
94
2007-2009
demand
Mar
80
93 Average
82
85 monthly 94
Seasonal90index95= Average
monthly
Apr
115
100demand 94
May
113 125 131
123
94
= 90/94 = .957
Jun
110 115 120
115
94
Jul
100 102 113
105
94
Aug
88 102 110
100
94
Sept
85
90
95
90
94
Oct
77
78
85
80
94
Nov
75
72
83
80
94
Dec
82
78
80
80
94
2011 Pearson Education, Inc. publishing as Prentice Hall
0.957
20
80
70
80
90
113
110
100
88
85
77
75
82
85
85
93
95
125
115
102
102
90
78
72
78
Average
2007-2009
105
85
82
115
131
120
113
110
95
85
83
80
90
80
85
100
123
115
105
100
90
80
80
80
Average Seasonal
Monthly
Index
94
94
94
94
94
94
94
94
94
94
94
94
0.957
0.851
0.904
1.064
1.309
1.223
1.117
1.064
0.957
0.851
0.851
0.851
21
Average
2007-2009
Average Seasonal
Monthly
Index
80
85 105
90
for 2010
70
85 Forecast
85
80
80
93
82
85
= 1,200
90Expected
95 annual
115 demand100
113 125 131
123
110 115 120 1,200
115
Jan 113 12
x
.957 =
100 102
105
88 102 110 1,200
100
85
90
Feb 95 12
x90
.851 =
77
78
85
80
75
72
83
80
82
78
80
80
96
85
94
94
94
94
94
94
94
94
94
94
94
94
0.957
0.851
0.904
1.064
1.309
1.223
1.117
1.064
0.957
0.851
0.851
0.851
22
140
130
Demand
120
110
100
90
80
70
|
J
|
F
|
M
|
A
|
M
|
J
|
J
|
A
|
S
|
O
|
N
|
D
Time
2011 Pearson Education, Inc. publishing as Prentice Hall
23
Associative Forecasting
Used when changes in one or more independent
variables can be used to predict the changes in the
dependent variable. Some examples
!
-Sales of mountain bikes may be related to the
percentage of the young population living in that area.
-Ice cream sales can be related to temperature
- Increase in fuel cost leads to price increases in
products and services
!
!
! Most common technique is linear regression
! analysis same technique just as we did in the
time series example
2011 Pearson
24
Associative Forecasting
Forecasting an outcome based on predictor
variables using the least squares technique
^
y = a + bx
^
25
Associative Forecasting
Example
4.0
3.0
Sales
Sales
Area Payroll
($ millions), y($ billions), x
2.0
1
3.0
3
2.5
4
2.0
2
2.0
1
3.5
7
2.0
1.0
0
2011 Pearson Education, Inc. publishing as Prentice Hall
|
1
|
2
|
|
|
|
3
4
5
6
Area payroll
|
7
26
Associative Forecasting
Example
Sales, y
Payroll, x
2.0
1
3.0
3
2.5
4
2.0
2
2.0
1
3.5
7
y = 15.0
x = 18
x = x/6 = 18/6 = 3
x2
1
9
16
4
1
49
x2 = 80
xy
2.0
9.0
10.0
4.0
2.0
24.5
xy = 51.5
51.5 - (6)(3)(2.5)
xy - nxy
b=
= 80 - (6)(32)
= .25
2
2
x - nx
Associative Forecasting
Example
^
y = 1.75 + .25x
3.0
3.25
2.0
1.0
|
1
|
2
|
|
|
|
3
4
5
6
Area payroll
|
7
28
Forecast Accuracy
Error: difference between actual value and
predicted value
Mean Absolute Deviation (MAD)
3-29
Actual
forecast
n
MSE
( Actual
forecast) 2
n -1
MAPE =
3-30
Easy to compute
Weights errors linearly
MSE
Squares error
More weight to large errors
MAPE
3-31
Example 10
Period
1
2
3
4
5
6
7
8
MAD=
MSE=
MAPE=
Actual
217
213
216
210
213
219
216
212
Forecast
215
216
215
214
211
214
217
216
(A-F)
2
-3
1
-4
2
5
-1
-4
-2
|A-F|
2
3
1
4
2
5
1
4
22
(A-F)^2 (|A-F|/Actual)*100
4
0.92
9
1.41
1
0.46
16
1.90
4
0.94
25
2.28
1
0.46
16
1.89
76
10.26
2.75 (22 / 8 )
10.86 ( 76 / 7 )
1.28 (10.26 / 8)
3-32
Tracking Signal
Tracking signal
Ratio of cumulative error to MAD
Tracking signal =
(Actual-forecast)
MAD
3-33
Choosing a
Forecasting Technique
No single technique works in every situation
Two most important factors
Cost
Accuracy
Historical data
Computers
Time needed to gather and analyze the data
Forecast horizon
3-34