06 Forecasting 1
06 Forecasting 1
1
FOREC ASTING IS A VITAL FUNCTION
2
FORECASTING
4
FOREC ASTING TECHNIQUES A N D C O M M O N MODELS
5
FOREC ASTING TECHNIQUES A N D C O M M O N MODELS
6
FORECASTING MODEL SELECTION
7
C O M PARISON OF FOREC ASTING TECHNIQUES
8
TIME SERIES
■ Time series
– A sequence of observations on a variable measured at successive
points in time or over successive periods of time
– The measurements may be taken every hour, day, week, month, year, or
any other regular interval
– If the behavior of the times series data of the past is expected
to continue in the future, it can be used as a guide in selecting
an appropriate forecasting method
9
EUR/CHF
10
TIME SERIES PATTERN
11
TIME SERIES PATTERN
■ Horizontal pattern
■ Trend pattern
■ Seasonal pattern
■ Cyclical pattern
■ Random variation
12
TIME SERIES PATTERN
Horizontal pattern
■ Stationary time series
– It denotes a time series whose statistical properties are
independent of time
■ The process generating the data has a constant mean
■ The variability of the time series is constant over time
■ A time series plot for a stationary time series will always exhibit a
horizontal pattern with random fluctuations
13
14
15
C O M M O N TYPES OF TRENDS
16
SIMPLE MO VING AVERAGE
18
SIMPLE MO VING AVERAGE EXAMPLE
19
(17+21+19)/3=19
20
WEIGHTED MO VING AVERAGE
◾ The moving average formula implies an equal weight being placed on each value
that is being averaged
◾ The weighted moving average permits an unequal weighting on prior time periods
3 Week 3 Week
Week Demand 3 Week W1=0.7, W2=0.2, W3=0.1 W1=0.5, W2=0.3, W3=0.2
1 800
2 1400
3 1000
4 1500 1067 1060 1080
5 1500 1300 1390 1330
6 1300 1333 1450 1400
7 1800 1433 1360 1400
8 1700 1533 1670 1590
9 1300 1600 1680 1650
10 1700 1600 1430 1520
11 1700 1567 1620 1580
12 1500 1567 1660 1620
13 2300 1633 1560 1600
22
14 2300 1833 2080 1940
15 2000 2033 2220 2140
WEIGHTED MO VING AVERAGE EXAMPLE
Actual 3-Week 3-W eek (W eights: 0.7, 0.2, 3-W eek (W eights: 0.5, 0.3,
D emand (Simple) 0.1) 0.2)
2500
200
0
150
0
Demand
100
0
500
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 23
Week
CHOOSING WEIGHTS
24
EXPONENTIAL SMOOTHING
■ Exponential smoothing
– Use a weighted average of past time series values as a
forecast
= ŷt + α(yt-ŷt)
■ Smoothing
– Weight constant (α) the actual value in period t; weight given to the forecast
given to
in period t is 1-α
– α is between 0 and 1
– Use small values if demand is stable, larger values if demand is
fluctuating 25
26
Damping factor = 1- α How to make them integers?
27
EXPONENTIAL SMOOTHING EXAMPLE
Actual D emand Exponential Smoothing (Alpha=0.2)
Week Demand α=0.2 α=0.6 Exponential Smoothing (Alpha=0.6)
1 800 800 800 2500
2 1400 800 800
3 1000 920 1160 2000
4 1500 936 1064
5 1500 1049 1326 1500
Demand
6 1300 1139 1430
7 1800 1171 1352 1000
29
TREND ADJUSTED EXPONENTIAL SMOOTHING
Demand t=1
Week (yt) ŷt Tt FITt
1 800 700 100 800 ŷ2 = FIT1 + α(y 1 – FIT 1)=800+0.2*(800-800)=800
2 1400 800 100 900
3 1000 1000 130 1130
T2 = T1 + δ(ŷ2 – FIT1) =100+0.3*(800-800)=100
4 1500 FIT2= ŷ2+ T2=800+100=900
5 1500
6 1300
7 1800
8 1700 t=2
9 1300 ŷ3 = FIT 2 + α(y 2 – FIT 2)=900+0.2*(1400-900)=1000
10 1700 T3 = T2 + δ(ŷ3 – FIT2)=100+0.3*(1000-900)=130
11 1700
12 1500 FIT3= ŷ3+ T3=1000+130=1130
13 2300
14 2300
15 2000
α=0.2, δ=0.3 31
TREN D ADJUSTED EXPONENTIAL SMOOTHING
Demand
Week (yt) ŷt Tt FITt
1 800 700 100 800
Acutal Trend Adjusted Exponential
2 1400 800 100 900 D emand Smoothing
2500
3 1000 1000 130 1130
4 1500 1104 122.2 1226 2000
5 1500 1280.8 138.64 1419
6 1300 1435.2 143.5 1579 1500
Demand
7 1800 1523.2 126.76 1650
8 1700 1680 135.76 1816 1000
9 1300 1792.8 128.8 1922
10 1700 1797.6 91.48 1889 500
11 1700 1851.2 80.14 1931
12 1500 1884.8 66.28 1951 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14
13 2300 1860.8 39.22 1900 Week 15
14 2300 1980 63.22 2043
15 2000 2094.4 78.64 2173
32
α=0.2, δ=0.3