Forecasting
Forecasting
4
PowerPoint presentation to accompany
Heizer, Render, Munson
Operations Management, Twelfth Edition, Global Edition
Principles of Operations Management, Tenth Edition, Global Edition
Figure 2.5
Copyright © 2017 Pearson Education, Ltd. 4 - 14
Product Life Cycle
Introduction Growth Maturity Decline
Product design and Forecasting critical Standardization Little product
development Product and Fewer rapid differentiation
critical process reliability product changes, Cost
Frequent product Competitive more minor minimization
and process changes
Strategy/Issues
product Overcapacity in
OMStrategy/Issues
Product
improvement and
cost cutting
Figure 2.5
Copyright © 2017 Pearson Education, Ltd. 4 - 15
Types of Forecasts
1. Economic forecasts
▶ Address business cycle – inflation rate, money
supply, housing starts, etc.
2. Technological forecasts
▶ Predict rate of technological progress
▶ Impacts development of new products
3. Demand forecasts
▶ Predict sales of existing products and services
▶ Decision makers
▶ Staff
▶ Respondents Respondents
(People who can make
valuable judgments)
Copyright © 2017 Pearson Education, Ltd. 4 - 25
Sales Force Composite
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
Copyright © 2017 Pearson Education, Ltd. 4 - 34
Random Component
▶ Erratic, unsystematic, ‘residual’
fluctuations
▶ Due to random variation or unforeseen
events
▶ Short duration
and nonrepeating
M T W T
Copyright © 2017 Pearson Education, Ltd. F 4 - 35
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 ∑ Weight for period n Demand in period n
moving =
)( ))
average ∑ Weights
30 –
25 –
Sales demand
20 –
15 – Actual sales
10 – Moving average
(from Example 1)
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)
WEIGHT ASSIGNED TO
MOST 2ND MOST 3RD MOST 4th MOST 5th MOST
RECENT RECENT RECENT RECENT RECENT
SMOOTHING PERIOD PERIOD PERIOD PERIOD PERIOD
CONSTANT (a ) a(1 – a) a(1 – a)2 a(1 – a)3 a(1 – a)4
a = .1 .1 .09 .081 .073 .066
Actual a = .5
demand
200 –
Demand
175 –
a = .1
150 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Quarter
Copyright © 2017 Pearson Education, Ltd. 4 - 50
Impact of Different a
225 –
Actual a = .5
Choose high
▶200 – of a values
demand
when underlying average
Demand
is likely to change
175 –
▶ Choose low values of a
when underlying average a = .1
is–stable
150 | | | | | | | | |
1 2 3 4 5 6 7 8 9
Quarter
Copyright © 2017 Pearson Education, Ltd. 4 - 51
Selecting the Smoothing
Constant
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 according to one of three preferred
measures:
▶ Mean Absolute Deviation (MAD)
▶ Mean Squared Error (MSE)
▶ Mean Absolute Percent Error (MAPE)
Copyright © 2017 Pearson Education, Ltd. 4 - 52
Common Measures of Error
∑ Actual - Forecast
MAD =
n
Σ|Deviations|
MAD = 10.31 12.33
n
MSE =
∑ (Forecast errors)
n
MSE =
∑ (Forecast errors)
= 1,526.52 / 8 = 190.8
n
Copyright © 2017 Pearson Education, Ltd. 4 - 57
Common Measures of Error
1 12 6 21
2 17 7 31
3 20 8 28
4 19 9 36
5 24 10 ?
a = .2 b = .4
25 –
20 –
15 –
10 – Forecast including trend (FITt)
5 – with a = .2 and b = .4
0 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Time (months)
Copyright © 2017 Pearson Education, Ltd. 4 - 74
Trend Projections
Fitting a trend line to historical data points to
project into the medium to long-range
Linear trends can be found using the least
squares technique
y^ = a + bx
where y^ = computed value of the variable to be predicted
(dependent variable)
a = y-axis intercept
b = slope of the regression line
x = the independent variable
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 - 76
Least Squares Method
Equations to calculate the regression variables
ŷ = a + bx
∑ xy − nxy
b= 2 2
∑ x − nx
a = y − bx
ELECTRICAL ELECTRICAL
YEAR POWER DEMAND YEAR POWER DEMAND
1 74 5 105
2 79 6 142
3 80 7 122
4 90
∑ x 28 ∑ y 692
x= = =4 y= = = 98.86
n 7 n 7
∑
Demandx in ∑
28year 8 = 56.70 y+ 10.54(8)
692
x= = =4 y= = = 98.86
n 7 = 141.02,
n or 141
7 megawatts
140 –
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
1 2 3 4 5 6 7 8 9
Year Figure 4.5
Copyright © 2017 Pearson Education, Ltd. 4 - 81
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
Copyright © 2017 Pearson Education, Ltd. 4 - 90
San Diego Hospital
Trend Data Figure 4.6
10,200 –
10,000 –
Inpatient Days
9,800 – 9745
9659 9702
9573 9616 9766
9,600 – 9530 9680 9724
9594 9637
9,400 – 9551
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 - 91
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 - 93
San Diego Hospital
Period 67 68 69 70 71 72
10,200 –
10,068
10,000 – 9,911 9,949
Inpatient Days
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 - 95
Adjusting Trend Data
y^ = a + bx
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)
Copyright © 2017 Pearson Education, Ltd. 4 - 100
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
∑ x 18 ∑ y 15
x= = =3 y= = = 2.5
6 6 6 6
∑ xy − nxy 51.5 − (6)(3)(2.5)
b= 2
= 2
= .25 2
a = y − bx = 2.5 − (.25)(3) = 1.75
∑ x − nx 80 − (6)(3 )
∑ x 18 ∑ y 15
x= = =3 y= = = 2.5
6 6 6 6
∑ xy − nxy 51.5 − (6)(3)(2.5)
b= 2
= 2
= .25 2
a = y − bx = 2.5 − (.25)(3) = 1.75
∑ x − nx 80 − (6)(3 )
Sales = $3,250,000
If payroll next
4.0 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)
probability 1.0 –
distribution | | | | | | |
0 1 2 3 4 5 6 7
Figure 4.9 Area payroll (in $ billions)
2
∑ ( y − y c
)
S y,x =
n−2
S y,x =
∑ − a∑ y − b∑ xy
y
n−2
S y,x =
∑ − a∑ y − b∑ xy
y
=
39.5 −1.75(15.0) − .25(51.5)
n−2 6−2
= .09375
= .306 (in $ millions)
3.6 –
Nodel’s sales 3.5 – + .306
(in $ millions) 3.4 –
3.3 –
The standard error 3.2 –
of the estimate is 3.1
3.0
–
–
– .306
$306,000 in sales 2.9 –
5 6
Area payroll (in $ billions)
x x
(a) Perfect negative (e) Perfect positive
correlation, r = –1 y correlation, r = 1
y
y
x x
(b) Negative correlation (d) Positive correlation
x
(c) No correlation, r = 0
–1.0 –0.8 –0.6 –0.4 –0.2 0 0.2 0.4 0.6 0.8 1.0
Correlation coefficient values
n∑ xy − ∑ x∑ y
r=
# &#
2 &2
2
%$n∑ x − ( ) 2
∑ x ('%$n∑ y − ( )
∑ y ('
(6)(51.5) – (18)(15.0)
r=
!(6)(80) – (18)2 #!(16)(39.5) – (15.0)2 #
" $" $
309 − 270 39 39
= = = = .901
(156)(12) 1,872 43.3
ŷ = a + b1x1 + b2 x2
0 MADs Acceptable
range
–
Lower control limit
Time
Figure 4.11
∑ Forecast errors 85
At the end of quarter 6, MAD = = = 14.2
n 6
Cumulative error 35
Tracking signal = = = 2.5 MADs
MAD 14.2
Copyright © 2017 Pearson Education, Ltd. 4 - 120
Adaptive Smoothing
▶ It’s possible to use the computer to
continually monitor forecast error and
adjust the values of the a and b
coefficients used in exponential
smoothing to continually minimize
forecast error
▶ This technique is called adaptive
smoothing
20% –
Figure 4.12
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