Forecasting: © 2014 Pearson Education, Inc
Forecasting: © 2014 Pearson Education, Inc
© 2014
© 2014
Pearson
Pearson
Education,
Education,
Inc.Inc. 4-1
Outline
Trend Cyclical
Seasonal Random
Seasonal peaks
Actual demand
line
Average demand
over 4 years
Random variation
| | | |
1 2 3 4
Time (years)
Figure 4.1
0 5 10 15 20
© 2014 Pearson Education, Inc. 4 - 29
Random Component
► Erratic, unsystematic, ‘residual’
fluctuations
► Due to random variation or unforeseen
events
► Short duration
and nonrepeating
M T W T
© 2014 Pearson Education, Inc. F 4 - 30
Naive Approach
► Assumes demand in next
period is the same as
demand in most recent period
► e.g., If January sales were 68, then
February sales will be 68
► Sometimes cost effective and
efficient
► Can be good starting point
Weighted
moving
average
30 –
25 –
Sales demand
20 –
Actual sales
15 –
Moving average
10 –
5–
| | | | | | | | | | | |
J F M A M J J A S O N D
Figure 4.2 Month
Ft = Ft – 1 + a(At – 1 - Ft – 1)
225 –
Actual a = .5
demand
200 –
Demand
175 –
a = .1
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter
© 2014 Pearson Education, Inc. 4 - 44
Impact of Different
225 –
Actual a = .5
► Choose high of values
demand
when
200 – underlying average
Demand
is likely to change
► Choose low values of
175 –
when underlying average a = .1
is stable
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter
© 2014 Pearson Education, Inc. 4 - 45
Choosing
The objective is to obtain the most
accurate forecast no matter the
technique
We generally do this by selecting the
model that gives us the lowest forecast
error
Σ|Deviations|
MAD = 10.31 12.33
n
Quarter Unloaded
n
with
a = .10
for
a = .10
with
a = .50
for
a = .50
1 For a180
= .10 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 = 1,526.54/8
159 174.75 = 190.82
15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 For a190
= .50 173.36 16.64 170.44 19.56
6 205 175.02
= 1,561.91/8 = 29.98
195.24 180.22 24.78
7 180 178.02 1.98 192.61 12.61
8 182 178.22 3.78 186.30 4.30
82.45 98.62
MAD 10.31 12.33
Deviation5 Deviation6
Deviation3
Least squares method minimizes the
sum of Deviation
the squared
4
errors (deviations)
Deviation1
(error) Deviation2
Trend line, ^y = a + bx
| | | | | | |
1 2 3 4 5 6 7
Figure 4.4
Time period
© 2014 Pearson Education, Inc. 4 - 68
Least Squares Method
Equations to calculate the regression variables
ELECTRICAL ELECTRICAL
YEAR POWER DEMAND YEAR POWER DEMAND
1 74 5 105
2 79 6 142
3 80 7 122
4 90
150 –
Power demand (megawatts)
140 –
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Year Figure 4.5
© 2014 Pearson Education, Inc. 4 - 73
Least Squares Requirements
The multiplicative
seasonal model can
adjust trend data for
seasonal variations
in demand
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
© 2014 Pearson Education, Inc. 4 - 83
Problem
George Kyparisis owns a company that manufactures sailboats. Actual
demand for George’s sailboats during each of the past four seasons was
as follows:
George has forecasted that annual demand for his sailboats in year 5 will
equal 5,600 sailboats. Based on this data and the multiplicative seasonal
model, what will the demand level be for George’s sailboats in the spring of
year 5?
10,200 –
10,000 –
Inpatient Days
9745
9,800 – 9659 9702
9573 9616 9766
9,600 – 9530 9680 9724
9594 9637
9551
9,400 –
9,200 –
| | | | | | | | | | | |
9,000 –
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
67 68 69 70 71 72 73 74 75 76 77 78
Month
© 2014 Pearson Education, Inc. 4 - 85
San Diego Hospital
Seasonality Indices for Adult Inpatient Days at San Diego Hospital
1.06 –
1.04 1.04
Index for Inpatient Days
1.04 – 1.03
1.02
1.02 – 1.01
1.00
1.00 – 0.99
0.98
0.98 – 0.99
0.96 – 0.97 0.97
0.96
0.94 –
| | | | | | | | | | | |
0.92 –
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
67 68 69 70 71 72 73 74 75 76 77 78
Month
© 2014 Pearson Education, Inc. 4 - 87
San Diego Hospital
Period 67 68 69 70 71 72
10,200 – 10068
9949
10,000 – 9911
Inpatient Days
9764 9724
9,800 – 9691
9572
9,600 –
9520 9542
9,400 –
9411
9265 9355
9,200 –
| | | | | | | | | | | |
9,000 –
Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec
67 68 69 70 71 72 73 74 75 76 77 78
Month
© 2014 Pearson Education, Inc. 4 - 89
Adjusting Trend Data
Quarter I:
Quarter II:
Quarter III:
Quarter IV:
^
y = a + bx
^ where y = value of the dependent variable (in our
example, sales)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
4.0 –
Nodel’s sales
(in$ millions)
3.0 –
2.0 –
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
© 2014 Pearson Education, Inc. 4 - 93
Associative Forecasting
Example
SALES, y PAYROLL, x x2 xy
2.0 1 1 2.0
3.0 3 9 9.0
2.5 4 16 10.0
2.0 2 4 4.0
2.0 1 1 2.0
3.5 7 49 24.5
Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5
2.5 4 16 10.0
(in$ millions)
3.0 –
2.0 2 4 4.0
2.0 2.0 – 1 1 2.0
3.5 7 49 24.5
1.0 –
Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
Sales = $3,250,000
a) Graph these data to see whether a linear equation might describe the
relationship between the group’s television shows
and guitar sales.
If payroll4.0
next
–
year is estimated to be $6 billion,
then: 3.25
Nodel’s sales
(in$ millions)
3.0 –
2.0 –
Sales (in$ millions) = 1.75 + .25(6)
1.0 –
= 1.75 + 1.5 = 3.25
| | | | | | |
0 1 2 3 4 5 6 7
Sales = $3,250,000
Area payroll (in $ billions)
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Figure 4.9 Area payroll (in $ billions)
S y,x
y 2
a y b xy
39.5 1.75(15.0) .25(51.5)
n2 62
.09375
.306 (in $ millions)
4.0 –
Nodel’s sales3.25
(in$ millions)3.0 –
The standard error 2.0 –
of the estimate is
1.0 –
$306,000 in sales
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll (in $ billions)
x x
(a) Perfect negative (e) Perfect positive
correlation y correlation
y
y
x x
(b) Negative correlation (d) Positive correlation
x
(c) No correlation
–1.0 –0.8 –0.6 –0.4 –0.2 0 0.2 0.4 0.6 0.8 1.0
Correlation coefficient values
Acceptable
0 MADs range
Time
15% –
10% –
5% –
10% –
8% –
6% –
4% –
2% –
0% – 2 4 6 8 10 12 2 4 6 8 10 12
A.M. P.M.
Hour of day