Professional Documents
Culture Documents
Forecasting
To accompany
Quantitative Analysis for Management, Tenth Edition,
by Render, Stair, and Hanna © 2008 Prentice-Hall, Inc.
Power Point slides created by Jeff Heyl © 2009 Prentice-Hall, Inc.
Learning Objectives
After completing this chapter, students will be able to:
5.1 Introduction
5.2 Types of Forecasts
5.3 Scatter Diagrams and Time Series
5.4 Measures of Forecast Accuracy
5.5 Time-Series Forecasting Models
5.6 Monitoring and Controlling Forecasts
5.7 Using the Computer to Forecast
Figure 5.1
Consumer Decomposition
Market Survey
(a)
330 – Sales appear to be
Annual Sales of Televisions
| | | | | | | | | |
0 1 2 3 4 5 6 7 8 9 10
Time (Years)
Figure 5.2
(b)
420 –
Sales appear to be
400 –
increasing at a
Annual Sales of Radios
380 –
constant rate of 10
360 –
radios per year
340 –
320 –
Sales = 290 + 10(Year)
300 – A reasonable
280 – estimate of sales in
| | | | | | | | | |
year 11 is 400
0 1 2 3 4 5 6 7 8 9 10 televisions
Time (Years)
Figure 5.2
180 –
accurate because
of variation from
160 –
year to year
140 – Sales appear to be
120 – increasing
100 – A forecast would
probably be a
| | | | | | | | | | larger figure each
0 1 2 3 4 5 6 7 8 9 10 year
Time (Years)
Figure 5.2
MAD
forecast error
n
MSE
( error) 2
n
The mean absolute percent error
error
actual
MAPE 100%
n
And bias is the average error
Trend
Component
Seasonal Peaks
Actual
Demand
Line
Average Demand
over 4 Years
| | | |
Demand = T x S x C x R
Demand = T + S + C + R
Yt Yt 1 ... Yt n1
Ft 1
n
where
Ft 1 for time period t + 1
= forecast
= actualYvalue
t in time period t
n = number of periods to average
Ft 1
( Weight in period i )( Actual value in period)
( Weights )
Mathematically
w1Yt w2Yt 1 ... w nYt n1
Ft 1
w1 w2 ... w n
ere
wi = weight for the ith observation
© 2009 Prentice-Hall, Inc. 5 – 28
Wallace Garden Supply Example
6
Sum of the weights
Program 5.1A
© 2009 Prentice-Hall, Inc. 5 – 31
Wallace Garden Supply Example
Program 5.1B
© 2009 Prentice-Hall, Inc. 5 – 32
Exponential Smoothing
Exponential smoothing is easy to use and
requires little record keeping of data
It is a type of moving average
Ft 1 Ft (Yt Ft )
re
Ft+1 = new forecast (for time period t + 1)
Ft = pervious forecast (for time period t)
= smoothing constant (0 ≤ ≤ 1)
Yt = pervious period’s actual demand
Table 5.5
© 2009 Prentice-Hall, Inc. 5 – 37
Selecting the Best Value of
ACTUAL FORECAST ABSOLUTE ABSOLUTE
TONNAGE WITH = DEVIATIONS FORECAST DEVIATIONS
QUARTER UNLOADED 0.10 FOR = 0.10 WITH = 0.50 FOR = 0.50
Program 5.2A
© 2009 Prentice-Hall, Inc. 5 – 39
Port of Baltimore Example
Program 5.2B
Tt 1 (1 )T1 ( Ft 1 Ft )
where
Tt+1 = smoothed trend for period t + 1
Tt = smoothed trend for preceding period
= trend smooth constant that we select
Ft+1 = simple exponential smoothed
forecast for period t + 1
Ft = forecast for pervious period
© 2009 Prentice-Hall, Inc. 5 – 42
Selecting a Smoothing Constant
Yˆ b0 b1 X
where
= predicted
Ŷ value
b0 = intercept
b1 = slope of the line
X = time period (i.e., X = 1, 2, 3, …, n)
* Dist3 *
Dist4
Dist1 * Dist2
*
*
Notice code
instead of
actual years
Program 5.3A
© 2009 Prentice-Hall, Inc. 5 – 48
Midwestern Manufacturing
Company Example
Program 5.3B
© 2009 Prentice-Hall, Inc. 5 – 49
Midwestern Manufacturing
Company Example
The forecast equation is
Yˆ 56.71 10.54 X
Likewise for X = 9
Yˆ 56.71 10.54 X
120 –
110 –
100 –
90 –
80 –
70 – Actual Demand Line
60 –
50 –
| | | | | | | | |
Program 5.4A
Program 5.4B
© 2009 Prentice-Hall, Inc. 5 – 53
Seasonal Variations
Recurring variations over time may
indicate the need for seasonal
adjustments in the trend line
A seasonal index indicates how a
particular season compares with an
average season
When no trend is present, the seasonal
index can be found by dividing the
average value for a particular season by
the average of all the data
1,200 1,200
Jan. 0.957 96 July 1.117 112
12 12
1,200 1,200
Feb. 0.851 85 Aug. 1.064 106
12 12
1,200 1,200
Mar. 0.904 90 Sept. 0.957 96
12 12
1,200 1,200
Apr. 1.064 106 Oct. 0.851 85
12 12
1,200 1,200
May 1.309 131 Nov. 0.851 85
12 12
1,200 1,200
June 1.223 122 Dec. 0.851 85
12 12
© 2009 Prentice-Hall, Inc. 5 – 57
Seasonal Variations with Trend
When both trend and seasonal components are
present, the forecasting task is more complex
Seasonal indices should be computed using a
centered moving average (CMA)
CMA approach
There are four steps in computing CMAs
1. Compute the CMA for each observation
(where possible)
2. Compute the seasonal ratio =
Observation/CMA for that observation
3. Average seasonal ratios to get seasonal
indices
4. If seasonal indices do not add to the number
of seasons, multiply each index by (Number
of seasons)/(Sum of indices)
© 2009 Prentice-Hall, Inc. 5 – 58
Turner Industries Example
The following are Turner Industries’ sales figures
for the past three years
Table 5.9
Seasonal
Definite trend pattern
© 2009 Prentice-Hall, Inc. 5 – 59
Turner Industries Example
To calculate the CMA for quarter 3 of year 1 we
compare the actual sales with an average quarter
centered on that time period
We will use 1.5 quarters before quarter 3 and 1.5
quarters after quarter 3 – that is we take quarters
2, 3, and 4 and one half of quarters 1, year 1 and
quarter 1, year 2
0.5(108) + 125 + 150 + 141 + 0.5(116)
CMA(q3, y1) = = 132.00
4
200 – CMA
150 –
100 –
Sales
50 –
1 2 3 4 5 6 7 8 9 10 11 12
Time Period
Figure 5.6
b1 = 2.34 b0 = 124.78
Table 5.12
days = (9,532)(1.0436)
= 9,948 (trend and seasonal)
© 2009 Prentice-Hall, Inc. 5 – 69
San Diego Hospital Example
Program 5.5A
© 2009 Prentice-Hall, Inc. 5 – 70
San Diego Hospital Example
Program 5.5B
Yˆ a b1 X 1 b2 X 2 b3 X 3 b4 X 4
where
X1 = time period
X2 = 1 if quarter 2, 0 otherwise
X3 = 1 if quarter 3, 0 otherwise
X4 = 1 if quarter 4, 0 otherwise
Program 5.6A
where
MAD
forecast error
n
Signal Tripped
Upper Control Limit Tracking Signal
+
Acceptable
0 MADs Range
–
Lower Control Limit
Time
Figure 5.7
MAD
forecast error 85
14.2
n 6
RSFE 35
Tracking signal 2.5MADs
MAD 14.2
© 2009 Prentice-Hall, Inc. 5 – 79
Adaptive Smoothing
Adaptive smoothing is the computer
monitoring of tracking signals and self-
adjustment if a limit is tripped
In exponential smoothing, the values of
and are adjusted when the computer
detects an excessive amount of variation