Forecasting
Forecasting
August
August 29,
29, Wednesday
Wednesday
Course
Structure Introduction
Operations Strategy & Competitivenes
Quality Management
Strategic Decisions (some)
Design
Process Selection
Capacity and
of and Design
Facility Decisions
Forecastin
Produc
ts g
and
Servic
Forecasting
What is forecasting?
Types of forecasts
Time-Series forecasting
Naïve
Moving Average
Exponential Smoothing
Regression
Good forecasts
What is Forecasting?
Process of predicting a future
event based on historical data
Educated Guessing
Underlying basis of
all business decisions
Production
Inventory
Personnel
Facilities
Why do we need to forecast?
Long-range forecast
> 2 years Design
New product planning of system
Qualitative
Methods
Forecasting During the Life Cycle
Time
Qualitative Forecasting Methods
Qualitative
Forecasting
Models
Sales Delphi
Executive Market
Force Method
Judgement Research/
Composite
Survey
Smoothing
Qualitative Methods
Briefly, the qualitative methods are:
.
Quantitative Forecasting Methods
Quantitative
Forecasting
2. Moving 3. Exponential
1. Naive
Average Smoothing
a) simple a) level
b) weighted b) trend
c) seasonality
Quantitative Forecasting Methods
Quantitative
Forecasting
2. Moving 3. Exponential
1. Naive
Average Smoothing
a) simple a) level
b) weighted b) trend
c) seasonality
Time Series Models
Random Trend
Seasonal Composite
Product Demand over Time
Demand for product or service
Actual
Random demand line
variation
Year Year Year Year
1 2 3 4
Now let’s look at some time series approaches to forecasting…
Borrowed from Heizer/Render - Principles of Operations Management, 5e, and Operations Management, 7e
Quantitative Forecasting Methods
Quantitative
Time Series
Models
Models
2. Moving 3. Exponential
1. Naive
Average Smoothing
a) simple a) level
b) weighted b) trend
c) seasonality
1. Naive Approach
Weights
decrease for older data
sum to 1.0 Simple
Simple moving
moving
average
average models
models
weight
weight all
all previous
previous
periods
periods equally
equally
FFt t 11 ==ww11AAt t ++ww22AAt -t1-1++ww33AAt -t2-2++......++wwnnAAt -tn-n11
2b. Weighted Moving Average: 3/6, 2/6, 1/6
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
et
Ft+1
Need
Need
= Forecast value for time t+1
initia
initia
At forecast
forecast
= Actual value at time t FF
= Smoothing constant
to
to start.
start.
3a. Exponential Smoothing – Example 1
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
i Ai
Week Demand
1 820 Given
Given the
the weekly
weekly demand
demand
2 775 data
data what
what are
are the
the exponential
exponential
3 680 smoothing
smoothing forecasts
forecasts for
for
4 655 periods
periods 2-10 using =0.10?
2-10 using =0.10?
5 750
6 802 Assume
Assume FF11=D
=D11
7 798
8 689
9 775
10
3a. Exponential Smoothing – Example 1
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
i Ai Fi
Week Demand = 0.1 0.6
1 820 820.00 820.00
2 775 820.00 820.00
3 680 F2815.50
= F1+ (A793.00
1–F1) =820+(820–820)
4 655 801.95 725.20=820
5 750 787.26 683.08
6 802 783.53 723.23
7 798 785.38 770.49
8 689 786.64 787.00
9 775 776.88 728.20
10 776.69 756.28
3a. Exponential Smoothing – Example 1
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
i Ai Fi
Week Demand = 0.1 0.6
1 820 820.00 820.00
2 775 820.00 820.00
3 680 815.50 793.00
F3 = F2+ (A2–F2) =820+(775–820)
4 655 801.95 725.20
5 750 787.26 683.08=815.5
6 802 783.53 723.23
7 798 785.38 770.49
8 689 786.64 787.00
9 775 776.88 728.20
10 776.69 756.28
3a. Exponential Smoothing – Example 1
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
i Ai Fi
Week Demand = 0.1 0.6
1 820 820.00 820.00
2 775 820.00 820.00
3 680 815.50 793.00
4 655 801.95 725.20
5 750 787.26 683.08
6 802 783.53 723.23This process
7 798 785.38 770.49 continues
8 689 786.64 787.00
through week 10
9 775 776.88 728.20
10 776.69 756.28
3a. Exponential Smoothing – Example 1
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
i Ai Fi
Week Demand = 0.1 = 0.6
1 820 820.00 820.00
2 775 820.00 820.00
3 680 815.50 793.00
4 655 801.95 725.20
5 750 787.26 683.08 What if the
6 802 783.53 723.23 constant
7 798 785.38 770.49 equals 0.6
8 689 786.64 787.00
9 775 776.88 728.20
10 776.69 756.28
3a. Exponential Smoothing – Example 2
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
i Ai Fi
Month Demand = 0.3 = 0.6
January 120 100.00 100.00
February 90 106.00 112.00
March 101 101.20 98.80
April 91 101.14 100.12
May 115 98.10 94.65 What if the
June 83 103.17 106.86 constant
July 97.12 92.54 equals 0.6
August
September
3a. Exponential Smoothing – Example 3
Company
Company A, A, aa personal
personal computer
computer producer
producer
purchases
purchases generic
generic parts
parts and
and assembles
assembles themthem toto
final
final product.
product. Even
Even though
though most
most ofof the
the orders
orders
require
require customization,
customization, theythey have
have many
many common
common
components.
components. Thus,
Thus, managers
managers of of Company
Company A A need
need
aa good
good forecast
forecast of
of demand
demand so so that
that they
they can
can
purchase
purchase computer
computer parts
parts accordingly
accordingly to to minimize
minimize
inventory
inventory cost
cost while
while meeting
meeting acceptable
acceptable service
service
level.
level. Demand
Demand data
data for
for its
its computers
computers forfor the
the past
past 55
months
months isis given
given in
in the
the following table..
following table
3a. Exponential Smoothing – Example 3
FFt+1
t+1
=
= F
F tt
+
+ (A
(A tt
-
- F
Ft)
t)
i Ai Fi
Month Demand = 0.3 = 0.5
January 80 84.00 84.00
February 84 82.80 82.00
March 82 83.16 83.00
April 85 82.81 82.50
May 89 83.47 83.75 What if the
June 85.13 86.38 constant
July ?? ?? equals 0.5
3a. Exponential Smoothing
How to choose α
depends on the emphasis you want to place
on the most recent data
Weights
= Prior Period 2 periods ago 3 periods ago
(1 - ) (1 - )2
= 0.10
10% 9% 8.1%
= 0.90 90% 9% 0.9%
To Use a Forecasting Method
Collect historical data
Select a model
Moving average methods
Select n (number of periods)
For weighted moving average: select weights
Exponential smoothing
Select
nn
MAD Example
AA --FF
t=1
tt tt = 40 =10
MAD
MAD== t=1 4
nn
What
What isis the
the MAD
MAD value
value given
given the
the
forecast
forecast values
values in
in the
the table
table below?
below?
At Ft
Month Sales Forecast |At – Ft|
1 220 n/a
2 250 255 5
3 210 205 5
4 300 320 20
5 325 315 10
= 40
nn
22
At t - Ft t
A - F
= 550 =137.5
MSE/RMSE Example MSE =
MSE =
t =t =11
nn 4
What
What isis the
the MSE
MSE value?
value? RMSE = √137.5
=11.73
At Ft
Month Sales Forecast |At – Ft| (At – Ft)2
1 220 n/a
2 250 255 5 25
3 210 205 5 25
4 300 320 20 400
5 325 315 10 100
= 550
Measures of Error1. Mean
Absolute
Deviation
2a. Mean
n
t At Ft et |et| e 2
et
t 84 = 14
(MAD) 6
MAD 1
Jan 120 100 20 20 400 n
2b. e Root
-1
n
2
April 91 101 -10 10 100 t
1,446
(MSE)
MSE
Mean
1
May 115 98 17 17 289 n = 241
6
June 83 103 -20 20 400
-10 84 1,446
An accurate forecasting system will have small MAD,
Squared
RMSE MSE
Error
MSE and RMSE; ideally equal to zero. A large error may
indicate that either the forecasting method used or the
= SQRT(241)
parameters such as α used in the method are wrong.
(RMSE) =15.52
Forecast Bias
TS = Tracking Signal
Good tracking signal has low values
Quantitative
Forecasting
2. Moving 3. Exponential
1. Naive
Average Smoothing
a) simple a) level
b) weighted b) trend
c) seasonality
Exponential Smoothing (continued)
where,
where,
x
xy n x y
y
b 2
x nx2
x
y
a y bx
Regression – Example
yy == aa++ bb X
X b
xy n x y
2
a y bx
x nx
2
MonthAdvertising Sales X 2 XY
January 3 1 9.00 3.00
February 4 2 16.00 8.00
March 2 1 4.00 2.00
April 5 3 25.00 15.00
May 4 2 16.00 8.00
June 2 1 4.00 2.00
July
TOTAL 20 10 74 38
General Guiding Principles for
Forecasting