Professional Documents
Culture Documents
Compiled by G.Gençyılmaz
13 – 1
Forecasting
13 – 2
Forecasting Time Horizons
Short-range forecast
Up to 1 year, generally less than 3 months
Purchasing, job scheduling, workforce levels, job
assignments, production levels
Medium-range forecast
3 months to 3 years
Sales and production planning, budgeting
Long-range forecast
3+ years
New product planning, facility location, research
and development
13 – 3
Distinguishing Differences
13 – 4
Influence of Product Life Cycle
13 – 5
Product Life Cycle
Introduction Growth
Poor time to
Maturity Decline
Company Strategy/Issues
13 – 6
Introduction Growth Maturity Decline
Product design Forecasting
critical Standardization
and Little product
development Product and Fewer product differentiation
OM Strategy/Issues
13 – 7
Strategic Importance of Forecasting
13 – 8
Seven Steps in Forecasting
13 – 9
The Realities!
13 – 10
Forecasting Approaches
Qualitative Methods
13 – 11
Forecasting Approaches
Quantitative Methods
13 – 12
Types of Forecasts
Economic forecasts
Address business cycle – inflation rate,
money supply, housing starts, etc.
Technological forecasts
Predict rate of technological progress
Impacts development of new products
Demand forecasts
Predict sales of existing products and
services
13 – 13
Overview of Qualitative Methods
13 – 14
Overview of Qualitative Methods
13 – 15
Jury of Executive Opinion
13 – 16
Sales Force Composite
13 – 17
Delphi Method
Iterative group
process, continues Decision Makers
(Evaluate
until consensus is responses and
reached make decisions)
3 types of
participants Staff
(Administering
Decision makers survey)
Staff
Respondents
Respondents
(People who can
make valuable
judgments)
13 – 18
Consumer Market Survey
13 – 19
Overview of Quantitative
Approaches
1. Naive approach
2. Moving averages
3. Exponential smoothing time-series
models
4. Trend projection
associative
5. Linear regression model
13 – 20
Time Series Forecasting
13 – 21
Time Series Methods
13 – 22
Time Series Patterns
13 – 23
Time Series Plot
13 – 24
Time Series Plot
Example
13 – 25
Time Series Patterns
13 – 26
Time Series Patterns
Horizontal Pattern
• A horizontal pattern exists when the data
fluctuate around a constant mean.
• Changes in business conditions can often
result in a time series that has a horizontal
pattern shifting to a new level.
• A change in the level of the time series makes
it more difficult to choose an appropriate
forecasting method.
13 – 27
Demand Patterns
Quantity
Time
13 – 28
13 – 29
13 – 30
13 – 31
13 – 32
Time Series Patterns
Trend Pattern
• A time series may show gradual shifts or
movements to relatively higher or lower values
over a longer period of time.
• Trend is usually the result of long-term factors
such as changes in the population,
demographics, technology, or consumer
preferences.
• A systematic increase or decrease might be
linear or nonlinear.
• A trend pattern can be identified by analyzing
multiyear movements in historical data.
13 – 33
Quantity
Time
13 – 34
Time Series Patterns
Seasonal Pattern
• Seasonal patterns are recognized by seeing the
same repeating pattern of highs and lows over
successive periods of time within a year.
• A seasonal pattern might occur within a day,
week, month, quarter, year, or some other
interval no greater than a year.
• A seasonal pattern does not necessarily refer to
the four seasons of the year (spring, summer,
fall, and winter).
13 – 35
Year 1
Quantity
Year 2
| | | | | | | | | | | |
J F M A M J J A S O N D
Months
13 – 36
Time Series Patterns
Trend and Seasonal Pattern
13 – 37
Components of Demand
Trend
component
Demand for product or service
Seasonal peaks
Actual demand
line
Average demand
over 4 years
Random variation
| | | |
1 2 3 4
Time (years)
Figure 4.1
13 – 38
Time Series Patterns
Cyclical Pattern
• A cyclical pattern exists if the time series
plot shows an alternating sequence of
points below and above the trend line
lasting more than one year.
• Often, the cyclical component of a time
series is due to multiyear business
cycles.
• Business cycles are extremely difficult, if
not impossible, to forecast.
• In this chapter we do not deal with
cyclical effects
13 – 39
Quantity
| | | | | |
1 2 3 4 5 6
Years
(d) Cyclical: Data reveal gradual increases and
decreases over extended periods
13 – 40
Key Decisions
Deciding what to forecast
Level of aggregation
Units of measure
13 – 41
Selecting a Forecasting Method
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
13 – 43
Least Squares Method
Values of Dependent Variable
Deviation5 Deviation6
Deviation3
Deviation4
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
Deviation5 Deviation6
Deviation1
(error) Deviation2
Trend line, y^ = a + bx
y^ = a + bx
xy - nxy
b=
x2 - nx2
a = y - bx
13 – 46
Least Squares Example
Time Electrical Power
Year Period (x) Demand x2 xy
2003 1 74 1 74
2004 2 79 4 158
2005 3 80 9 240
2006 4 90 16 360
2007 5 105 25 525
2008 6 142 36 852
2009 7 122 49 854
∑x = 28 ∑y = 692 ∑x2 = 140 ∑xy = 3,063
x=4 y = 98.86
13 – 47
Least Squares Example
Time Electrical Power
Year Period (x) Demand x2 xy
2003 1 74 1 74
2004 2 79 4 158
2005 3 80 9 240
2006 4 90 16 360
2007 5 105 25 525
2008 6 142 36 852
2009 7 122 49 854
∑x = 28 ∑y = 692 ∑x2 = 140 ∑xy = 3,063
x=4 y = 98.86
13 – 48
Least Squares Example
Trend line,
160 –
150 –
y^ = 56.70 + 10.54x
140 –
Power demand
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
2003 2004 2005 2006 2007 2008 2009 2010 2011
Year
13 – 49
Assosiative Forecasting: Linear
Regression
A dependent variable is related to one or more
independent variables by a linear equation
The independent variables are assumed to
“cause” the results observed in the past
Simple linear regression model is a straight line
Y = a + bX
where
Y = dependent variable
X = independent variable
a = Y-intercept of the line
b = slope of the line
13 – 51
Forecasting an outcome based on predictor
variables 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 though
to predict the value of the
dependent variable
13 – 52
Associative Forecasting Example
1.0 –
| | | | | | |
0 1 2 3 4 5 6 7
Area payroll
13 – 53
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
13 – 54
Associative Forecasting Example
Nodel’s sales
3.0 –
13 – 55
Standard Error of the Estimate
13 – 56
Standard Error of the Estimate
∑(y - yc)2
Sy,x =
n-2
13 – 57
Standard Error of the Estimate
13 – 58
Standard Error of the Estimate
13 – 59
Correlation
13 – 60
Correlation Coefficient
nxy - xy
r=
[nx2 - (x)2][ny2 - (y)2]
13 – 61
y y
Correlation Coefficient
nxy - xy
r=
[nx
(a) Perfect positive x
2
- (x)2
][ny
(b) Positive ]
2
- (y) 2
x
correlation: correlation:
r = +1 0<r<1
y y
13 – 64
Linear Regression
Deviation, Regression
Y or error equation:
Y = a + bX
Estimate of
Y from
Dependent variable
regression
equation
Actual
value
of Y
Value of X used
to estimate Y
X
Independent variable
13 – 65
Linear Regression
13 – 66
Using Linear Regression
EXAMPLE 13.1
The supply chain manager seeks a better way to forecast the
demand for door hinges and believes that the demand is
related to advertising expenditures. The following are sales and
advertising data for the past 5 months:
13 – 67
Using Linear Regression
SOLUTION
We used POM for Windows to determine the best values of a, b,
the correlation coefficient, the coefficient of determination, and
the standard error of the estimate
a= –8.135
b= 109.229X
r= 0.980
r2 = 0.960
syx = 15.603
13 – 68
Using Linear Regression
The regression line is shown in Figure 13.3. The r of 0.98
suggests an unusually strong positive relationship between
sales and advertising expenditures. The coefficient of
determination, r2, implies that 96 percent of the variation in
sales is explained by advertising expenditures.
Brass Door Hinge
250 – X
Sales (000 units)
200 – X
150 – X X
Data
X X
100 –
Forecasts
50 –
| |
0– 1.0 2.0
Advertising ($000)
Figure 13.3 – Linear Regression Line for the Sales and Advertising Data
13 – 69
Time Series Methods
13 – 70
Time Series Methods
450 –
430 –
Patient arrivals
410 –
390 –
370 –
350 –
| | | | | |
0 5 10 15 20 25 30
Week
Figure 13.4 – Weekly Patient Arrivals at a Medical Clinic
13 – 71
Moving Averages
13 – 72
Moving Averages
13 – 73
Simple Moving Averages
where
Dt = actual demand in period t
n = total number of periods in the average
Ft+1 = forecast for period t + 1
13 – 74
Moving Average Example
Actual 3-Month
Month Shed Sales Moving Average
January 10
February 12
March 13
April 16 (10 + 12 + 13)/3
13 = 11 2/3
May 19 (12 + 13 + 16)/3 = 13 2/3
June 23 (13 + 16 + 19)/3 = 16
July 26 (16 + 19 + 23)/3 = 19 1/3
13 – 75
Graph of Moving Average
Moving
Average
30 –
28 –
Forecast
26 – Actual
24 – Sales
Shed Sales
22 –
20 –
18 –
16 –
14 –
12 –
10 –
| | | | | | | | | | | |
J F M A M J J A S O N D
13 – 76
Example: Moving Average
13 – 77
Example: Moving Average
3MA Forecast
116.7
120.0
123.3
121.7
125.0
121.7
118.3
118.3
13 – 78
Simple Moving Averages
Et = Dt – Ft
where
Et = forecast error for period t
Dt = actual demand in period t
Ft = forecast for period t
13 – 79
Using the Moving Average Method
EXAMPLE 13.2
a. Compute a three-week moving average forecast for the
arrival of medical clinic patients in week 4. The numbers of
arrivals for the past three weeks were as follows:
13 – 80
Using the Moving Average Method
Week Patient Arrivals
SOLUTION
1 400
a. The moving average forecast at 2 380
the end of week 3 is 3 411
E4 = D4 – F4 = 415 – 397 = 18
13 – 81
Application 13.1a
Estimating with Simple Moving Average using the following
customer-arrival data
13 – 82
Application 13.1a
If the actual number of arrivals in month 5 is 805, what is the
forecast for month 6?
13 – 83
Application 13.1a
Forecast error is simply the difference found by subtracting the
forecast from actual demand for a given period, or
Et = Dt – Ft
E5 = 805 – 780 = 25
13 – 84
Weighted Moving Averages
Weighted Moving Averages
• To use this method we must first select the
number of data values to be included in the
average.
• Next, we must choose the weight for each of
the data values.
The more recent observations are typically given
more weight than older observations.
13 – 85
Weighted Moving Averages
13 – 86
Weights Applied Period
Weighted Moving
3 Average
Last month
2 Two months ago
1 Three months ago
6 Sum of weights
13 – 87
Weighted Moving Averages
13 – 88
Weighted Moving Averages
Week Sales 3WMA
1 110
2 115
3 125
4 120 119.0
5 125 120.5
6 120 123.5
7 130 121.5
8 115 126.0
9 110 120.5
10 130 115.0
13 – 89
Potential Problems With
Moving Average
13 – 90
Moving Average And
Weighted Moving Average
Weighted
moving
30 – average
25 –
Sales demand
20 – Actual
sales
15 –
Moving
10 – average
5 –
| | | | | | | | | | | |
Figure 4.2
J F M A M J J A S O N D
13 – 91
Application 13.1b
Revisiting the customer arrival data in Application 13.1a. Let
W1 = 0.50, W2 = 0.30, and W3 = 0.20. Use the weighted moving
average method to forecast arrivals for month 5.
E5 = 805 – 786 = 19
13 – 92
Application 13.1b
If the actual number of arrivals in month 5 is 805, compute
the forecast for month 6
13 – 93
Exponential Smoothing
13 – 95
Exponential Smoothing
Exponential Smoothing Forecast
where:
Ft+1 = forecast of the time series for period t + 1
Dt = actual value of the time series in period t
Ft = forecast of the time series for period t
α = smoothing constant (0 < α < 1)
and let:
F2 = D1 (to initiate the computations)
13 – 96
Exponential Smoothing
13 – 97
Exponential Smoothing
13 – 98
Example: Exponential Smoothing
13 – 99
Example: Exponential
Smoothing
Using Smoothing Constant Value α = .1
F2 = D1 = 110
F3 = .1D2 + .9F2 = .1(115) + .9(110) = 110.50
F4 = .1D3 + .9F3 = .1(125) + .9(110.5) = 111.95
F5 = .1D4 + .9F4 = .1(120) + .9(111.95) = 112.76
F6 = .1D5 + .9F5 = .1(125) + .9(112.76) = 113.98
F7 = .1D6 + .9F6 = .1(120) + .9(113.98) = 114.58
F8 = .1D7 + .9F7 = .1(130) + .9(114.58) = 116.12
F9 = .1D8 + .9F8 = .1(115) + .9(116.12) = 116.01
F10= .1D9 + .9F9 = .1(110) + .9(116.01) = 115.41
13 – 100
Example: Exponential Smoothing
F2 = = 110
F3 = .8(115) + .2(110) = 114.00
F4 = .8(125) + .2(114) = 122.80
F5 = .8(120) + .2(122.80) = 120.56
F6 = .8(125) + .2(120.56) = 124.11
F7 = .8(120) + .2(124.11) = 120.82
F8 = .8(130) + .2(120.82) = 128.16
F9 = .8(115) + .2(128.16) = 117.63
F10= .8(110) + .2(117.63) = 111.53
13 – 101
Exponential Smoothing
13 – 102
Exponential Smoothing and
Moving Average
3-week MA 6-week MA
450 – forecast
forecast
430 –
410 –
Patient arrivals
390 –
370 –
Exponential
smoothing
= 0.10
| | | | | |
0 5 10 15 20 25 30
Week
13 – 103
Exponential Smoothing Example
13 – 104
Effect of
Smoothing Constants
Weight Assigned to
Most 2nd Most 3rd Most 4th Most 5th Most
Recent Recent Recent Recent Recent
Smoothing Period Period Period Period Period
Constant () (1 - ) (1 - )2
(1 - )3
(1 - )4
13 – 105
Impact of Different
225 –
Actual = .5
demand
200 –
Demand
175 –
= .1
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter
13 – 106
Impact of Different
225 –
Actual = .5
Chose high values
demandof
when underlying average
Demand
200 –
is likely to change
175
Choose
– low values of
when underlying average = .1
is stable
| | | | | | | | |
150 –
1 2 3 4 5 6 7 8 9
Quarter
13 – 107
Using Exponential Smoothing
EXAMPLE 13.3
a. Reconsider the patient arrival data in Example 13.2. It is
now the end of week 3. Using α = 0.10, calculate the
exponential smoothing forecast for week 4.
b. What was the forecast error for week 4 if the actual demand
turned out to be 415?
c. What is the forecast for week 5?
13 – 108
Using Exponential Smoothing
SOLUTION
a. The exponential smoothing method requires an initial
forecast. Suppose that we take the demand data for the first
two weeks and average them, obtaining (400 + 380)/2 = 390
as an initial forecast. (POM for Windows and OM Explorer
simply use the actual demand for the first week as a default
setting for the initial forecast for period 1, and do not begin
tracking forecast errors until the second period). To obtain
the forecast for week 4, using exponential smoothing with
and the initial forecast of 390, we calculate the average at
the end of week 3 as
13 – 109
Using Exponential Smoothing
b. The forecast error for week 4 is
E4 = 415 – 392 = 23
13 – 110
Application 13.1c
Suppose the value of the customer arrival series average in month
3 was 783 customers (let it be F4). Actual arrivals in month 4 is 790.
Use exponential smoothing with α = 0.20 to compute the forecast
for month 5.
Ft+1 = Ft + α(Dt – Ft) = 783 + 0.20(790 – 783) = 784.4
E5 = 805 – 784 = 21
13 – 111
Application 13.1c
13 – 112
Choosing
13 – 113
Forecast Accuracy
13 – 114
Forecast Accuracy
13 – 115
Forecast Accuracy
Mean Error
A simple measure of forecast accuracy is the
mean or average of the forecast errors. Because
positive and negative forecast errors tend to offset
one another, the mean error is likely to be small.
Thus, the mean error is not a very useful measure.
Mean Absolute Error/Deviation (MAE)/(MAD)
This measure avoids the problem of positive
and negative errors offsetting one another. It is
the mean of the absolute values of the forecast
errors.
13 – 116
Common Measures of Error
13 – 117
Forecast Accuracy
n
∑100|Actuali - Forecasti|/Actuali
MAPE = i=1
n
13 – 119
Forecast Accuracy
13 – 120
Forecast Accuracy
13 – 121
Forecast Accuracy
1 110 (115-110)/115=0.0435
2 115 110 5 5 25 4.35
3 125 115 10 10 100 8.00
4 120 125 -5 5 25 4.17
5 125 120 5 5 25 4.00
6 120 125 -5 5 25 4.17
7 130 120 10 10 100 7.69
8 115 130 -15 15 125 13.04
9 110 115 -5 5 25 4.55
10 130 110 20 20 400 15.38
Total 80 850 65.35
13 – 122
Forecast Accuracy
80
MAE 8.89
9
850
MSE 94.44
9
65.35
MAPE 7.26%
9
13 – 123
Example: Moving Average
3MA Forecast
116.7
120.0
123.3
121.7
125.0
121.7
118.3
118.3
13 – 125
Example: Moving Average
13 – 126
Example: Moving Average
53.3
MAE 7.61
7
489.45
MSE 69.92
7
44.22
MAPE 6.32%
7
13 – 127
Weighted Moving Averages
13 – 128
Example: Weighted Moving Average
13 – 129
Example: Weighted Moving Average
53.5
MAE 7.64
7
547.25
MSE 78.18
7
44.15
MAPE 6.31%
7
The 3-WMA approach (with weights of .2, .3,
and .5) provided accuracy very close to that of the
3-MA approach for this data.
13 – 130
Example: Exponential Smoothing
F2 = D1 = 110
F3 = .1D2 + .9F2 = .1(115) + .9(110) = 110.50
F4 = .1D3 + .9F3 = .1(125) + .9(110.5) = 111.95
F5 = .1D4 + .9F4 = .1(120) + .9(111.95) = 112.76
F6 = .1D5 + .9F5 = .1(125) + .9(112.76) = 113.98
F7 = .1D6 + .9F6 = .1(120) + .9(113.98) = 114.58
F8 = .1D7 + .9F7 = .1(130) + .9(114.58) = 116.12
F9 = .1D8 + .9F8 = .1(115) + .9(116.12) = 116.01
F10= .1D9 + .9F9 = .1(110) + .9(116.01) = 115.41
13 – 132
Example: Exponential Smoothing
F2 = = 110
F3 = .8(115) + .2(110) = 114.00
F4 = .8(125) + .2(114) = 122.80
F5 = .8(120) + .2(122.80) = 120.56
F6 = .8(125) + .2(120.56) = 124.11
F7 = .8(120) + .2(124.11) = 120.82
F8 = .8(130) + .2(120.82) = 128.16
F9 = .8(115) + .2(128.16) = 117.63
F10= .8(110) + .2(117.63) = 111.53
13 – 133
Example: Exponential Smoothing (= .1)
13 – 134
Example: Exponential Smoothing (α = .1)
Forecast Accuracy
82.95
MAE 9.22
9
974.22
MSE 108.25
9
66.98
MAPE 7.44%
9
13 – 135
Example: Exponential Smoothing (α = .8)
13 – 136
Example: Exponential Smoothing (α = .8)
Forecast Accuracy
75.19
MAE 8.35
9
847.52
MSE 94.17
9
61.61
MAPE 6.85%
9
Exponential smoothing (with = .8) provided
more accurate forecasts than ES with = .1, but
less accurate than the 3-MA.
13 – 137
Comparison of Forecast Error
Rounded Absolute Rounded Absolute
Actual Forecast Deviation Forecast Deviation
Tonnage with for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1 180 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 175.02 29.98 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
13 – 138
Comparison of Forecast Error
∑ |deviations|
Rounded Absolute Rounded Absolute
MADActual
= Forecast Deviation Forecast Deviation
Tonnage n
with for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1
For =
180
.10 175 5.00 175 5.00
2 168 = 82.45/8
175.5 = 10.31
7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 For 175
= .50 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 = 98.62/8
175.02 = 12.33
29.98 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
13 – 139
Comparison of Forecast Error
∑ (forecast
Rounded
errors) 2
Absolute Rounded Absolute
MSE = Actual Forecast Deviation Forecast Deviation
Tonnage n
with for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1
For =
180
.10 175 5.00 175 5.00
2 = 1,526.54/8
168 175.5 = 190.82
7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 For 175
= .50 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 = 1,561.91/8
205 175.02 = 195.24
29.98 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
13 – 140
Comparison of Forecast Error
n
∑100|deviation
Rounded i|/actual
Absolute Rounded
i Absolute
MAPE = i=1
Actual Forecast Deviation Forecast Deviation
Tonnage with for with for
Quarter Unloaded = .10 n = .10 = .50 = .50
1
For 180
= .10 175 5.00 175 5.00
2 168 = 44.75/8
175.5 = 7.50
5.59% 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 For 175
= .50 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 = 54.05/8
175.02 =29.98
6.76% 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
MSE 190.82 195.24
13 – 141
Comparison of Forecast Error
Rounded Absolute Rounded Absolute
Actual Forecast Deviation Forecast Deviation
Tonnage with for with for
Quarter Unloaded = .10 = .10 = .50 = .50
1 180 175 5.00 175 5.00
2 168 175.5 7.50 177.50 9.50
3 159 174.75 15.75 172.75 13.75
4 175 173.18 1.82 165.88 9.12
5 190 173.36 16.64 170.44 19.56
6 205 175.02 29.98 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
MSE 190.82 195.24
MAPE 5.59% 6.76%
13 – 142
Including a Trend(Holt’s Method)
13 – 143
Exponential Smoothing with Trend
Adjustment
13 – 144
Including a Trend
For each period, we calculate the At (average) and the Tt
(trend):
At = α(Demand this period)
+ (1 – α)(Average last period + Trend estimate last period)
At = αDt + (1 – α)(At–1 + Tt–1)
Tt = β(Average this period – Average last period)
+ (1 – β)(Trend estimate last period)
Tt = β(At – At–1) + (1 – β)Tt–1
Ft+1 = At + Tt
where
At =exponentially smoothed average(estimate) of the series in period t
Tt =exponentially smoothed average of the trend in period t (trend
estimate)
α =smoothing parameter for the average, with a value between 0 and 1
β =smoothing parameter for the trend, with a value between 0 and 1
Ft+1 =forecast for period t + 1
13 – 145
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (Dt) Estimate, At Trend Estimate, Tt Trend, FITt
1 12 11 2 13.00
2 17
3 20
4 19
5 24
6 21
7 31
8 28
9 36
10
Table 4.1
13 – 146
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (Dt) Estimate, At Trend Estimate, Tt Trend, FITt
1 12 11 2 13.00
2 17
3 20
4 19
5 24 Step 1: Forecast for Month 2
6 21
7 31 A2 = D1 + (1 - )(A1 + T1)
8 28
9 36
A2 = (.2)(12) + (1 - .2)(11 + 2)
10 = 2.4 + 10.4 = 12.8 units
Table 4.1
13 – 147
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (Dt) Forecast, At Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80
3 20
4 19
5 24 Step 2: Trend Estimate for Month 2
6 21
7 31 T2 = (A2 - A1) + (1 - )T1
8 28
9 36
T2 = (.4)(12.8 - 11) + (1 - .4)(2)
10 = .72 + 1.2 = 1.92 units
Table 4.1
13 – 148
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (Dt) Forecast, At Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80 1.92
3 20
4 19
5 24 Step 3: Calculate FIT for Month 2
6 21
7 31 FIT2 = A2 + T2
8 28
FIT2 = 12.8 + 1.92
9 36
10 = 14.72 units
Table 4.1
13 – 149
Exponential Smoothing with Trend
Adjustment Example
Forecast
Actual Smoothed Smoothed Including
Month(t) Demand (Dt) Forecast, At Trend, Tt Trend, FITt
1 12 11 2 13.00
2 17 12.80 1.92 14.72
3 20 15.18 2.10 17.28
4 19 17.82 2.32 20.14
5 24 19.91 2.23 22.14
6 21 22.51 2.38 24.89
7 31 24.11 2.07 26.18
8 28 27.14 2.45 29.59
9 36 29.28 2.32 31.60
10 32.48 2.68 35.16
Table 4.1
13 – 150
Exponential Smoothing with Trend
Adjustment Example
35 –
Actual demand (At)
30 –
Product demand
25 –
20 –
15 –
10 –
Forecast including trend (FITt)
with = .2 and = .4
5 –
0 – | | | | | | | | |
1 2 3 4 5 6 7 8 9
Figure 4.3
Time (month)
13 – 151
Using Trend-Adjusted Exponential
Smoothing
EXAMPLE 13.4
Medanalysis, Inc., provides medical laboratory services
Managers are interested in forecasting the number of blood
analysis requests per week
There has been a national increase in requests for standard
blood tests
Medanalysis recently ran an average of 28 blood tests per
week and the trend has been about three additional patients
per week
This week’s demand was for 27 blood tests
We use α = 0.20 and β = 0.20 to calculate the forecast for
next week
13 – 152
Using Trend-Adjusted Exponential
Smoothing
SOLUTION
A0 = 28 patients and T0 = 3 patients
The forecast for week 2 (next week) is
A1 = 0.20(27) + 0.80(28 + 3) = 30.2
T1 = 0.20(30.2 – 28) + 0.80(3) = 2.8
F2 = 30.2 + 2.8 = 33 blood tests
If the actual number of blood tests requested in week 2
proved to be 44, the updated forecast for week 3 would be
13 – 153
Using Trend-Adjusted Exponential
Smoothing
TABLE 13.1 | FORECASTS FOR MEDANALYSIS USING THE TREND-ADJUSTED EXPONENTIAL
| SMOOTHING MODEL
Calculations to Forecast Arrivals for Next Week
Smoothed Trend
Forecast for This Week
Week Arrivals Average Average Forecast Error
(Forecast including Trend)
(estimate) (estimate)
0 28 28.00 3.00
1 27
2 44
3 37
4 35
5 53
6 38
7 57
8 61
9 39
10 55
11 54
12 52
13 60
14 60
15 75
13 – 154
Using Trend-Adjusted Exponential
Smoothing
TABLE 13.1 | FORECASTS FOR MEDANALYSIS USING THE TREND-ADJUSTED EXPONENTIAL
| SMOOTHING MODEL
Calculations to Forecast Arrivals for Next Week
Smoothed Trend
Week Arrivals Forecast for This Week Forecast Error
Average Average
0 28 28.00 3.00
1 27 30.20 2.84 28.00 + 3.00 = 31.00 –4
2 44 35.23 3.28 30.20 + 2.84 = 33.04 10.96
3 37 38.21 3.22 35.23 + 3.28 = 38.51 –1.51
4 35 40.14 2.96 38.21 + 3.22 = 41.43 –6.43
5 53 45.08 3.36 40.14 + 2.96 = 43.10 9.90
6 38 46.35 2.94 45.08 + 3.36 = 48.44 –10.44
7 57 50.83 3.25 46.35 + 2.94 = 49.29 7.71
8 61 55.46 3.52 50.83 + 3.25 = 54.08 6.92
9 39 54.99 2.72 55.46 + 3.52 = 58.98 –19.98
10 55 57.17 2.62 54.99 + 2.72 = 57.71 –2.71
11 54 58.63 2.38 57.17 + 2.62 = 59.79 –5.79
12 52 59.21 2.02 58.63 + 2.38 = 61.01 –9.01
13 60 60.99 1.97 59.21 + 2.02 = 61.23 –1.23
14 60 62.37 1.86 60.99 + 1.97 = 62.96 –2.96
15 75 66.38 2.29 62.37 + 1.86 = 64.23 10.77
13 – 155
Using Trend-Adjusted Exponential
Smoothing
80 –
Trend-adjusted
70 – forecast
Patient arrivals
60 –
50 –
Actual blood
test requests
40 –
30 –
| | | | | | | | | | | | | | | |
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Week
Figure 13.5 – Trend-Adjusted Forecast for Medanalysis
13 – 156
Application 13.2
The forecaster for Canine Gourmet dog breath fresheners
estimated (in March) the sales average to be 300,000 cases sold
per month and the trend to be +8,000 per month. The actual
sales for April were 330,000 cases. What is the forecast for May,
assuming α = 0.20 and β = 0.10?
13 – 157
Application 13.2
Suppose you also wanted the forecast for July, three months
ahead. To make forecasts for periods beyond the next period,
we multiply the trend estimate by the number of additional
periods that we want in the forecast and add the results to the
current average.
13 – 158
Seasonal Patterns
13 – 159
Multiplicative Seasonal Method
13 – 160
Seasonal Variations In Data
Steps in the process:
1. Find average historical demand for each season
2. Compute the average demand over all seasons
3. Compute a seasonal index for each season
4. Estimate next year’s total demand
5. Divide this estimate of total demand by the
number of seasons, then multiply it by the
seasonal index for that season
13 – 161
Seasonal Index Example
Demand Average Average Seasonal
Month 2007 2008 2009 2007-2009 Monthly Index
Jan 80 85 105 90 94
Feb 70 85 85 80 94
Mar 80 93 82 85 94
Apr 90 95 115 100 94
May 113 125 131 123 94
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
13 – 162
Seasonal Index Example
Demand Average Average Seasonal
Month 2007 2008 2009 2007-2009 Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 85 80 94
Mar 80 93 Average
82 85 monthly 94
2007-2009 demand
Seasonal90index95= 115
Apr 100 94
Average monthly demand
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
13 – 163
Seasonal Index Example
Demand Average Average Seasonal
Month 2007 2008 2009 2007-2009 Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 85 80 94 0.851
Mar 80 93 82 85 94 0.904
Apr 90 95 115 100 94 1.064
May 113 125 131 123 94 1.309
Jun 110 115 120 115 94 1.223
Jul 100 102 113 105 94 1.117
Aug 88 102 110 100 94 1.064
Sept 85 90 95 90 94 0.957
Oct 77 78 85 80 94 0.851
Nov 75 72 83 80 94 0.851
Dec 82 78 80 80 94 0.851
13 – 164
Seasonal Index Example
Demand Average Average Seasonal
Month 2007 2008 2009 2007-2009 Monthly Index
Jan 80 85 105 90 94 0.957
Feb 70 85 Forecast
85 for802010 94 0.851
Mar 80 93 82 85 94 0.904
Apr 90Expected
95 115annual demand
100 = 1,200
94 1.064
May 113 125 131 123 94 1.309
Jun 110 115 120 1,200 115 94 1.223
Jul
Jan
100 102 113 12
x .957 = 96 94
105 1.117
Aug 88 102 110 100 94 1.064
1,200
Sept 85 Feb
90 95 x90.851 = 85 94 0.957
Oct 77 78 85 12 80 94 0.851
Nov 75 72 83 80 94 0.851
Dec 82 78 80 80 94 0.851
13 – 165
Seasonal Index Example
2010 Forecast
140 – 2009 Demand
130 – 2008 Demand
2007 Demand
120 –
Demand
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time
13 – 166
Using the Multiplicative Seasonal
Method
EXAMPLE 13.5
The manager of the Stanley Steemer carpet cleaning company
needs a quarterly forecast of the number of customers
expected next year. The carpet cleaning business is seasonal,
with a peak in the third quarter and a trough in the first quarter.
Following are the quarterly demand data from the past 4 years:
Quarter Year 1 Year 2 Year 3 Year 4
1 45 70 100 100
2 335 370 585 725
3 520 590 830 1160
4 100 170 285 215
Total 1000 1200 1800 2200
13 – 167
Using the Multiplicative Seasonal
Method
SOLUTION
Figure 13.6 shows the solution using the Seasonal Forecasting
Solver in OM Explorer. For the Inputs the forecast for the total
demand in year 5 is needed. The annual demand has been
increasing by an average of 400 customers each year (from
1,000 in year 1 to 2,200 in year 4, or 1,200/3 = 400). The
computed forecast demand is found by extending that trend,
and projecting an annual demand in year 5 of 2,200 + 400 =
2,600 customers.
The Results sheet shows quarterly forecasts by multiplying the
seasonal factors by the average demand per quarter. For
example, the average demand forecast in year 5 is 650
customers (or 2,600/4 = 650). Multiplying that by the seasonal
index computed for the first quarter gives a forecast of 133
customers (or 650 × 0.2043 = 132.795).
13 – 168
Using the Multiplicative Seasonal
Method
Year 1 Year 2
Average
Quarter Demand Index Demand Index Index
1 100 0.40 192 0.64 0.52
2 400 1.60 408 1.36 1.48
3 300 1.20 384 1.28 1.24
4 200 0.80 216 0.72 0.76
Average 250 300
13 – 170
Application 13.3
13 – 171
Seasonal Patterns
| | | | | | | | | | | | | | | |
0 2 4 5 8 10 12 14 16
Period
13 – 172
Seasonal Patterns
| | | | | | | | | | | | | | | |
0 2 4 5 8 10 12 14 16
Period
13 – 173
Choosing a Time-Series Method
13 – 174
Measures of Forecast Error
(Et – E )2
CFE = Et =
n–1
CFE |Et |
E= n MAD =
n
13 – 175
Calculating Forecast Errors
EXAMPLE 13.6
The following table shows the actual sales of upholstered
chairs for a furniture manufacturer and the forecasts made for
each of the last eight months. Calculate CFE, MSE, σ, MAD, and
MAPE for this product.
CFE = –15
13 – 178
Calculating Forecast Errors
Standard deviation:
|Et | 195
MAD = n = = 24.4
8
13 – 179
Calculating Forecast Errors
13 – 180
Monitoring and Controlling
Forecasts
Tracking Signal
Measures how well the forecast is
predicting actual values
Ratio of cumulative forecast errors to
mean absolute deviation (MAD)
Good tracking signal has low values
If forecasts are continually high or low, the
forecast has a bias error
13 – 181
Monitoring and Controlling
Forecasts
∑(Actual demand in
period i -
Forecast demand
Tracking in period i)
signal = ∑|Actual - Forecast|/n)
13 – 182
Tracking Signal
Acceptable
0 MADs range
Time
13 – 183
Tracking Signal Example
Cumulative
Absolute Absolute
Actual Forecast Cumm Forecast Forecast
Qtr Demand Demand Error Error Error Error MAD
13 – 184
Tracking Signal Example
Cumulative
Tracking Absolute Absolute
Actual Signal
Forecast Cumm Forecast Forecast
Qtr (CummDemand
Demand Error/MAD)
Error Error Error Error MAD
1 90-10/10
100= -1 -10 -10 10 10 10.0
2 95
-15/7.5
100= -2 -5 -15 5 15 7.5
3 115 0/10
100= 0 +15 0 15 30 10.0
4 100-10/10
110= -1 -10 -10 10 40 10.0
5 125
+5/11110
= +0.5+15 +5 15 55 11.0
6 140
+35/14.2
110= +2.5
+30 +35 30 85 14.2
CFE
Tracking signal =
MAD
13 – 186
Tracking Signals
σ = ( /2)(MAD) 1.25(MAD)
13 – 187
Tracking Signals
Out of control
+2.0 –
Control limit
+1.5 –
+1.0 –
Tracking signal
+0.5 –
0–
–0.5 –
–1.0 –
Control limit
–1.5 –
| | | | |
0 5 10 15 20 25
Observation number
13 – 188
Criteria for Selecting Methods
13 – 189
Using Multiple Techniques
13 – 190
Forecasting as a Process
13 – 191
Forecasting as a Process
Finalize Review by
Revise
and Operating
forecasts
communicate Committee
4
6 5
13 – 192
Forecasting Principles
13 – 193
Solved Problem 1
The monthly demand for units manufactured by the Acme
Rocket Company has been as follows:
Month Units Month Units
May 100 September 105
June 80 October 110
July 110 November 125
August 115 December 120
13 – 195
Solved Problem 1
b.
Absolute
Actual Percent
Demand, Forecast, Error, Absolute Error,
Month, t Dt Ft Et = Dt – Ft Error, |Et| (|Et|/Dt)(100)
June 80 104 –24 24 30.0%
July 110 99 11 11 10.0
August 115 101 14 14 12.0
September 105 104 1 1 1.0
October 110 104 6 6 5.5
November 125 105 20 20 16.0
December 120 109 11 11 9.2
Total 765 39 87 83.7%
13 – 196
Solved Problem 1
c. As of the end of December, the cumulative sum of forecast
errors (CFE) is 39. Using the mean absolute deviation
calculated in part (b), we calculate the tracking signal:
CFE 39
Tracking signal = = = 3.14
MAD 12.4
13 – 197
Solved Problem 2
The Polish General’s Pizza Parlor is a small restaurant catering
to patrons with a taste for European pizza. One of its
specialties is Polish Prize pizza. The manager must forecast
weekly demand for these special pizzas so that he can order
pizza shells weekly. Recently, demand has been as follows:
13 – 198
Solved Problem 2
SOLUTION
a. The simple moving average method and the weighted
moving average method give the following results:
13 – 199
Solved Problem 2
b. The mean absolute deviation is calculated as follows:
0+3+6 0+2+2
MAD = =3 MAD = = 2.3
3 3
13 – 200
Solved Problem 3
Chicken Palace periodically offers carryout five-piece chicken
dinners at special prices. Let Y be the number of dinners sold
and X be the price. Based on the historical observations and
calculations in the following table, determine the regression
equation, correlation coefficient, and coefficient of
determination. How many dinners can Chicken Palace expect
to sell at $3.00 each?
Observation Price (X) Dinners Sold (Y)
1 $2.70 760
2 $3.50 510
3 $2.00 980
4 $4.20 250
5 $3.10 320
6 $4.05 480
Total $19.55 3,300
Average 550
$3.258
13 – 201
Solved Problem 3
SOLUTION
We use the computer to calculate the best values of a, b, the
correlation coefficient, and the coefficient of determination
a= 1,454.60
b= –277.63
r= –0.84
r2= 0.71
The regression line is
Y = a + bX = 1,454.60 – 277.63X
For an estimated sales price of $3.00 per dinner
Y = a + bX = 1,454.60 – 277.63(3.00)
= 621.71 or 622 dinners
13 – 202
Solved Problem 4
The Northville Post Office experiences a seasonal pattern of
daily mail volume every week. The following data for two
representative weeks are expressed in thousands of pieces of
mail:
Day Week 1 Week 2
Sunday 5 8
Monday 20 15
Tuesday 30 32
Wednesday 35 30
Thursday 49 45
Friday 70 70
Saturday 15 10
Total 224 210
13 – 203
Solved Problem 4
SOLUTION
a. Calculate the average daily mail volume for each week. Then
for each day of the week divide the mail volume by the
week’s average to get the seasonal factor. Finally, for each
day, add the two seasonal factors and divide by 2 to obtain
the average seasonal factor to use in the forecast.
13 – 204
Solved Problem 4
Week 1 Week 2
Average
Mail Seasonal Factor Mail Seasonal Factor Seasonal Factor
Day Volume (1) Volume (2) [(1) + (2)]/2
Sunday 5 5/32 = 0.15625 8 8/30 = 0.26667 0.21146
Monday 20 20/32 = 0.62500 15 15/30 = 0.50000 0.56250
Tuesday 30 30/32 = 0.93750 32 32/30 = 1.06667 1.00209
Wednesday 35 35/32 = 1.09375 30 30/30 = 1.00000 1.04688
Thursday 49 49/32 = 1.53125 45 45/30 = 1.50000 1.51563
Friday 70 70/32 = 2.18750 70 70/30 = 2.33333 2.26042
Saturday 15 15/32 = 0.46875 10 10/30 = 0.33333 0.40104
Total 224 210
224/7 =
Average 210/7 = 30
32
13 – 205
Solved Problem 4
b. The average daily mail volume is expected to be
230,000/7 = 32,857 pieces of mail. Using the average
seasonal factors calculated in part (a), we obtain the
following forecasts:
13 – 206