Professional Documents
Culture Documents
SmoothingMethods Narodzonek-Karpowska
SmoothingMethods Narodzonek-Karpowska
Marzena Narodzonek-Karpowska
Prof. Dr. W. Toporowski
Institut fr Marketing & Handel
Abteilung Handel
What Is Forecasting?
z
z
Youll never get it right. But, you can always get it less
wrong.
Realities of Forecasting
z
z
Forecasting Methods
Forecasting Methods
Forecasting
Methods
Quantitative
Causal
Time Series
Smoothing
Trend
Projection
Qualitative
Trend Projection
Adjusted for
Seasonal Influence
Linear
No
Yes
Trend?
Trend
Models
Exponential
Smoothing
Quadratic
Exponential
AutoRegressive
Trend Component
z
Sales
nd
e
r
t
d
r
pwa
Time
Cyclical Component
z
Year
Seasonal Component
z
z
z
Time (Quarterly)
Fall
Irregular Component
z
z
z
Trend
Cyclical
Seasonal
Irregular
Cyclical
Trend
1
Year
Seasonal
9
10
11
12
13
Smoothing Methods
z
Moving Average =
n
Moving Averages
Let us forecast sales for 2007 using a 3-period moving
average.
2002
2003
2004
2005
2006
4
6
5
3
7
2007
Moving Averages
Time
2002
1995
0032003
1996
2004
1997
2005
1998
2006
1999
2007
2000
Response
Yi
4
6
5
3
7
NA
Moving
Total
(n=3)
NA
NA
NA
4+6+5=15
6+5+3=14
5+3+7=15
Moving
Average
(n=3)
NA
NA
NA
15/3=5.0
14/3=4.7
15/3=5.0
Sales
Actual
6
Forecast
4
2
95
96
97
Year
98
99
00
Actual
Small n
Demand
Time
WMA =
2x 12
Actual
Large weight on
recent data
Demand
Time
well
z Require sufficient
historical data
Sales Demand
30
Actual sales
25
20
15
Moving average
10
5
D
ec
Ju
l
Au
g
Se
p
O
ct
No
v
Fe
b
M
ar
A
pr
M
ay
Ju
n
Ja
n
Month
Single
Exponential
Smoothing
Double
(Holts)
Exponential
Smoothing
Triple
(Winters)
Exponential
Smoothing
Ft +1 = Ft + ( y t Ft )
or:
or
Ft +1 = y t + (1 )Ft
where:
Ft+1= forecast value for period t + 1
yt = actual value for period t
Ft = forecast value for period t
= alpha (smoothing constant)
1000
1
10
11
12
Quarter
(t)
1
2
3
4
5
6
7
8
9
10
etc
Sales
(yt)
23
40
25
27
32
48
33
37
37
50
etc
Forecast
from prior
period
NA
23
26.4
26.12
26.296
27.437
31.549
31.840
32.872
33.697
etc
23
(.2)(40)+(.8)(23)=26.4
(.2)(25)+(.8)(26.4)=26.12
(.2)(27)+(.8)(26.12)=26.296
(.2)(32)+(.8)(26.296)=27.437
(.2)(48)+(.8)(27.437)=31.549
(.2)(48)+(.8)(31.549)=31.840
(.2)(33)+(.8)(31.840)=32.872
(.2)(37)+(.8)(32.872)=33.697
(.2)(50)+(.8)(33.697)=36.958
etc
F1 = y1
since no
prior
informatio
n exists
Ft +1
= y t + (1 )Ft
Seasonal
fluctuations have
been smoothed
60
The smoothed
value in this case
is generally a little
low, since the
trend is upward
sloping and the
weighting factor is
only 0.2
50
40
Sales
30
20
10
0
1
Quarter
Sales
Smoothed
10
Tt = (C t C t 1 ) + (1 )Tt 1
Ft +1 = C t + Tt
yt = actual value in time t
= constant-process smoothing constant
= trend-smoothing constant
Ct = smoothed constant-process value for period t
Tt = smoothed trend value for period t
Ft+1= forecast value for period t + 1
t = current time period
computer
zOne uses larger smoothing constants and when less
smoothing is desired
zOne uses smaller smoothing constants and when more
smoothing is desired
180
168
159
175
190
Time
Actual
2002
180
2003
168
2004
159
2005
175
2006
190
2007
NA
175.00 (Given)
190
180
170
Forecast
160
150
140
Year
02
03
04
05
06
07
Actual
Large
Demand
Time
Week Sales
1
110
2
115
3
125
4
120
5
125
Week
6
7
8
9
10
Sales
120
130
115
110
130
Yt
1
2
3
4
5
6
7
8
9
10
11
110
115
125
120
125
120
130
115
110
130
n=2
Error
Ft
#NV
112,5
120
122,5
122,5
122,5
125
122,5
112,5
120
12,5
0
2,5
-2,5
7,5
-10
-12,5
17,5
MSE
156,25
0
6,25
6,25
56,25
100
156,25
306,25
98,4375
Yt
1
2
3
4
5
6
7
8
9
10
11
110
115
125
120
125
120
130
115
110
130
n=3
Error
Ft
#NV
#NV
116,6667 3,333333 11,11111
120
5
25
123,3333 -3,33333 11,11111
121,6667 8,333333 69,44444
125
-10
100
121,6667 -11,6667 136,1111
118,3333 11,66667 136,1111
118,3333
MSE
69,84127
Yt
1
2
3
4
5
6
7
8
9
10
11
110
115
125
120
125
120
130
115
110
130
=0.1
Ft
Error
2
(Yt - Ft) (Yt - Ft)
#NV
110
5
25
110,5
14,5
210,25
111,95
8,05 64,8025
112,755
12,245
149,94
113,9795
6,0205 36,24642
114,5816 15,41845 237,7286
116,1234
-1,1234 1,262016
116,0111 -6,01106 36,13279
115,4099 14,59005 212,8696
MSE
108,248
Yt
1
2
3
4
5
6
7
8
9
10
11
110
115
125
120
125
120
130
115
110
130
=0.2
Error
Ft
#NV
110
5
111
14
113,8
6,2
115,04
9,96
117,032
2,968
117,6256 12,3744
120,1005 -5,10048
119,0804 -9,08038
117,2643 12,73569
MSE
25
196
38,44
99,2016
8,809024
153,1258
26,0149
82,45337
162,1979
87,91584
Comparing Smoothing
Techniques
References
z
z
z
z
z
z
z
z
z
z
z
z
z
www.lsv.uni-saarland.de/Seminar/LMIR_WS0506/LM4IR_slides/
Alejandro_Figuera_Smoothing_Methods_for_LM_in_IR.ppt
www.forecast.umkc.edu/ftppub/formula_pages/ch04lec.ppt
www.angelfire.com/empire2/qnt531/workshop4.ppt
www.swlearning.com/quant/asw/sbe_8e/powerpoint/ch18.ppt
www.coursesite.cl.uh.edu/BPA/revere/DSCI5431/gradqntch_16&14.ppt
www.cs.wright.edu/~rhill/EGR_702/Lecture%203.ppt
www.lehigh.edu/~rhs2/ie409/BasicForecastingMethods.ppt
www.cob.sjsu.edu/hibsho_a/ballou08aconcforecast.PPT
www.mgtclass.mgt.unm.edu/MIDS/Kraye/Mgt%20300/Slide%20Show%2
0Week%20%232%20MGT%20300%20Forecasting.ppt
www.infohost.nmt.edu/~toshi/EMGT%20501_files/Lectures/EMGT50113t
hweek.ppt
www.docp.wright.edu/bvi/classes/MBA780/MBA%20Forecasting-1.ppt
www.cbtpdc.tamu-commerce.edu/gbus302/gbus302/ba578/Chapter14.ppt
www.mgtclass.mgt.unm.edu/Weber/Mgt%20720/Unit%201/4.0_%20intro
%20to%20forecasting.ppt