Professional Documents
Culture Documents
3- Peramalan
Agenda
Metode Peramalan Kuantitatif
Time Series
Average
Exponential Smoothing
Causal
Regresi
Kesalahan Peramalan
Metode Time Series
Digunakan untuk membuat analisis
detail dari pola demand masa lalu dan
memproyeksikan pola tersebut untuk
masa yang akan datang
Average
Time Series: Moving average
At + At-1 + … + At-n
Ft+1 =
n
Month Bottles
Jan 1,325
Feb 1,353
Mar 1,305 What will
the sales be
Apr 1,275
for July?
May 1,210
Jun 1,195
Jul ?
What if we use a 3-month simple moving average?
What do we observe?
950
900
850
d 800 Demand
n
a 750
m 700 3-Week
e 650
D 6-Week
600
550
500
1 2 3 4 5 6 7 8 9 10 11 12
Week
Time series: weighted moving average
We may want to give more importance to some of the data…
wt + wt-1 + … + wt-n = 1
For a 6-month
SMA, attributing
equal weights to all
past data we miss
Time the downward trend
Jan Feb Mar Apr May Jun Jul Aug
Example: Kroger sales of bottled water
Month Bottles
Jan 1,325
Feb 1,353
What will
Mar 1,305
be the sales
Apr 1,275 for July?
May 1,210
Jun 1,195
Jul ?
6-month simple moving average…
Make the weights for the last three months more than the first
three months…
July
1,277 1,267 1,257 1,247
Forecast
Smoothing
constant
Denotes the importance
alpha α of the past error
Why use exponential smoothing?
1380
1360
1340
1320 Actual
1300
a = 0.2
1280
1260 a = 0.8
1240
1220
1200
0 1 2 3 4 5 6 7
Soal Latihan
periode waktu Nilai Pengamatan
1
Aktual
200
Lakukan
2
3
135
195
peramalan
4
5
197
310 menggunakan
6 175
7 155 SMA 3 periode
8 130
9
10
220
277
SMA 5 periode
11
12
235
-
WMA 5 periode
(30(2):70(3))
Eksponential
smoothing alpha
0,1;0,5; dan 0,9
Jawaban
Linear regression in forecasting
Alcohol Sales
Average Monthly
Temperature
The best line is the one that minimizes the error
Y a bX
εi yi - Yi
Min i
2
What does that mean?
Alcohol Sales ε ε
ε
So LSM tries to
minimize the distance
between the line and
the points!
Average Monthly
Temperature
Least Squares Method of Linear Regression
Y a bX
A F t t
MFE i 1
n
A F t t
MAD i1
n
On average, the
arrows hit the
bullseye (so much
for averages!)
MFE & MAD:
An Analogy
The forecasts
are inaccurate &
biased
Key Point
Metoda A Metode B
MAD TS
Metode A 69,83 -6