Professional Documents
Culture Documents
Demand Forecasting
• A forecast is an estimate of the
occurrence and magnitude of a
future event by systematically
combining and casting forward in a
predetermined way data about the
past.
Need for Forecasting
• Forecasting is an important input to corporate
long run planning
• Forecasting is an important component of
strategic and operational planning and provides
basis for budgetary planning and cost control
• It establishes the link between planning and
controlling systems.
Selection of a Forecasting Model
• Qualitative (Judgmental)
• Quantitative
– Time Series Analysis
– Causal Relationships
– Simulation
A Classification of Basic Forecasting Methods
Qualitative Approaches
• Executive Judgment
• Historical analogy
• Market research
• Survey of sales force
• Survey of customers
• Delphi method
• Nominal group technique
Delphi Method
A
A t-1 +
+ A
A t-2 +
+ AAt-3 +...+A
+...+At-n
FFtt == t-1 t-2 t-3 t-n
nn
Ft = Forecast for the coming period
N = Number of periods to be averaged
A t-1 = Actual occurrence in the past period for up to “n”
periods
Simple Moving Average Problem
A
A t-1 ++ A
A t-2 ++ A At-3 +...+A
+...+At-n
FFtt == t-1 t-2 t-3 t-n
nn
Week Demand
1 650 Question:
Question:What
Whatarearethe
the3-week
3-weekand
and6- 6-
week
weekmoving
movingaverage
averageforecasts
forecastsfor
for
2 678 demand?
demand?
3 720 Assume
Assumeyouyouonly
onlyhave
have33weeks
weeksandand66
4 785 weeks
weeksofofactual
actualdemand
demanddatadatafor
forthe
the
5 859 respective forecasts
respective forecasts
6 920
7 850
8 758
9 892
10 920
11 789
12 844
Calculating the moving averages gives us:
Week Demand 3-Week 6-Week
1 650 F4=(650+678+720)/3
2 678
=682.67
3 720 F7=(650+678+720
4 785 682.67 +785+859+920)/6
5 859 727.67
=768.67
6 920 788.00
7 850 854.67 768.67
8 758 876.33 802.00
9 892 842.67 815.33
10 920 833.33 844.00
11 789 856.67 866.50
12 844 867.00 854.83
©The McGraw-Hill Companies, Inc., 2004
Plotting
Plottingthe
themoving
movingaverages
averagesandandcomparing
comparing
them
themshows
showshow
howthe
thelines
linessmooth
smooth out
outto
toreveal
reveal
the
theoverall
overallupward
upwardtrend
trendin
inthis
thisexample
example
1000
900
Demand
800
Demand
3-Week
700
6-Week
600
500 Note
Notehow
howthethe
1 2 3 4 5 6 7 8 9 10 11 12 3-Week
3-Weekisis
Week smoother
smootherthan
than
the
theDemand,
Demand,
and
and6-Week
6-Weekisis
even
evensmoother
smoother
Weighted Moving Average Formula
While
While the
the moving
moving average
average formula
formula implies
implies an an equal
equal
weight
weight being
being placed
placed on on each
each value
value that
that isis being
being averaged,
averaged,
the
the weighted
weighted moving
moving average
average permits
permits an
an unequal
unequal
weighting
weighting on
on prior
prior time
time periods
periods
The
The formula
formula for
for the
the moving
moving average
average is:
is:
FFt t == w
w11A
At-1 + w A t-2 ++ w
t-1 + w22 At-2 w33A
At-3 +...+w A t-n
t-3 +...+wnn At-n
nn
wwt ==weight
t weightgiven
occurrence
givento
totime
timeperiod
period“t”
“t”
ww ==11
ii
occurrence(weights
(weightsmust
mustadd
addtotoone)
one) i=1
i=1
Weighted Moving Average Problem Data
Question:
Question:Given
Giventhetheweekly
weeklydemand
demandand
andweights,
weights,what
whatisis
the
theforecast
forecastfor
forthe
the44thperiod
th
periodor
orWeek
Week4?
4?
Note
Notethat
thatthe
theweights
weightsplace
placemore
moreemphasis
emphasison
onthe
the
most
mostrecent
recentdata,
data,that
thatisistime
timeperiod
period“t-1”
“t-1”
Weighted Moving Average Problem Solution
F4 = 0.5(720)+0.3(678)+0.2(650)=693.4
Exponential Smoothing Model
FFtt == FFt-1
t-1
+
+ (A
(A t-1
t-1
-
- F
F )
t-1)
t-1
Where :
Ft Forcast value for the coming t time period
Ft - 1 Forecast value in 1 past time period
At - 1 Actual occurance in the past t time period
Alpha smoothing constant
Or
Ft = At-1 + (1- Ft-1
Exponential Smoothing Problem (1) Data
Note
Notehow
howthat
thatthe
thesmaller
smalleralpha
alpharesults
resultsin
inaa smoother
smootherline
line
in
inthis
thisexample
example
900
800 Demand
Demand
700 0.1
600 0.6
500
1 2 3 4 5 6 7 8 9 10
Week
Exponential Smoothing
Advantages
• More accurate
• Formulation of the model is easy
• User can understand how the model works
• Little computation is required to use the
model
• Computer storage requirements are small
• Tests for accuracy can be done easily
Simple Linear Regression
• Linear regression analysis establishes a
relationship between a dependent variable
and one or more independent variables.
• In simple linear regression analysis there
is only one independent variable.
• If the data is a time series, the
independent variable is the time period.
• The dependent variable is whatever we
wish to forecast.
Simple Linear Regression
• Regression Equation
This model is of the form:
Y = a + bX
Y = dependent variable
X = independent variable
a = y-axis intercept
b = slope of regression line
Simple Linear Regression Formulas for Calculating “a” and “b”
aa == yy-- bx
bx
xy
xy -- n(y)(x)
n(y)(x)
bb == 22 22
xx -- n(x
n(x))
Simple Linear Regression Problem Data
Question:
Question:Given
Giventhe
thedata
databelow,
below,what
whatisisthe
thesimple
simplelinear
linear
regression
regressionmodel
modelthat
thatcan
canbe
beused
usedto
topredict
predictsales
salesin
infuture
future
weeks?
weeks?
Week Sales
1 150
2 157
3 162
4 166
5 177
30
Answer:
Answer: First,
First, using
using the
thelinear
linear regression
regressionformulas,
formulas, we
we
can
can compute
compute“a” “a”and
and“b”
“b”
Week Week*Week Sales Week*Sales
1 1 150 150
2 4 157 314
3 9 162 486
4 16 166 664
5 25 177 885
3 55 162.4 2499
Average Sum Average Sum
bb==
xy
xy--n( n(y)(x)
y)(x) 2499
= 2499 --5(162.4)(3)
5(162.4)(3)
63
63= 6.3
= 10 = 6.3
x - n(x )
x 22
- n(x ) 22
55 5( 9
55 5(9 ) ) 10
aa== yy--bx
bx==162.4
162.4--(6.3)(3)
(6.3)(3)==143.5
143.5
31
155 Forecast
150
145
140
135
1 2 3 4 5
Period
Coefficient of Correlation (r)
• The coefficient of correlation, r, explains
the relative importance of the relationship
between x and y.
• The sign of r shows the direction of the
relationship.
• The absolute value of r shows the strength
of the relationship.
• r can take on any value between –1 and
+1.
Coefficient of Correlation (r)
• r is computed by:
n xy x y
r
n x 2 ( x )2 n y 2 ( y )2
Coefficient of Correlation (r)
• Meanings of several values of r:
-1 a perfect negative relationship (as x goes up, y
goes down by one unit, and vice versa)
+1 a perfect positive relationship (as x goes up, y
goes up by one unit, and vice versa)
0 no relationship exists between x and y
+0.3 a weak positive relationship
-0.8 a strong negative relationship
Incorporating Trend and Seasonal
Components
• ──────────────────────────────────────────────────────
─────
Step 1
|e |
t=1
t
40
nn
AA --FF
tt tt
40
MAD
MAD==
t=1
t=1 == 40 ==10
nn 44 10
Computer Software for Forecasting
• Examples of computer software with forecasting
capabilities
– Forecast Pro
–
Primarily for
Autobox
– SmartForecasts for Windows forecasting
– SAS
– SPSS
– SAP Have
– Minitab Forecasting
– POM Software Library modules