(FORECASTING)
suatu usaha untuk menduga apa yang akan terjadi pada masa
mendatang, dengan menggunakan suatu metode ilmiah.
Rencana
Produksi
t n2
Distribusi
Konsumen
Produksi
t -n1
Output Prakiraan:
Penjadwalan sumber daya produksi yang ada.
Mendapatkan sumberdaya tambahan.
Menentukan sumber daya apa yang diinginkan / dibutuhkan
METODE PRAKIRAAN
Horizon Waktu
Faktor2 yg menentukan hasil aktual yg
diprakirakan
Ketersediaan data/informasi masa lalu hal yg
diprakirakan
Pola data yang digunakan
Metode Kuantitatif:
Deret Waktu (Time Series)
Kausal:
Regresi
Metode Kualitatif:
Brain storming
Delphi
Market survey
Ekonometrik, dll
Assumption of Continuity : bahwa Pola Data masa lalu atau Bentuk Hubungan
antara Permintaan (peubah dependent) dan faktor/peubah yang
mempengaruhinya (peubah independent) akan berlanjut ke masa mendatang
Metode Kausal :
Analisa utk mengetahui bagaimana bentuk hubungan antara nilai
permintaan dan peubah yang mempengaruhinya atas dasar bentuk
hubungan tsb digunakan untuk mencari/menentukan permintaan masa
mendatang.
Analisa untuk menentukan faktor/peubah yang mempengaruhi
permintaan penting.
Nilai permintaan tertentu dapat dijelaskan.
Perataan Eksponensial:
Single Exponential Smoothing
Double Exponential Smoothing
Triple Exponential Smoothing
PEGELs Classification.
Dekomposisi
Auto Regresi Integrated Moving Average ( ARIMA) ~
Metode Box-Jenkins.
Jaringan Syaraf Tiruan
Data Warehouse
Data Mining
No
Identification
Identify Models to be
Tentatively entertained
Estimate Parameters in
Tentatively Entertained
Model
Estimation
and Testing
DiagnosticChecking
(Is the model adequate?)
Aplication
Data
Random
Berpola
Stasioner
Musiman
Tidak Stasioner
Aspek
Auto Regresif
Aspek
Moving Average
Identification
Ft 1 X t (1 ) X t 1 (1 ) 2 X t 2 (1 )3 X t 3 ......
Ada aspek atau dibangkitkan proses Moving Average:
Proses MA: bahwa penjualan pada periode tertentu merupakan fungsi dari
faktor random error periode2 sebelumnya.
Ft 1 Ft X t Ft atau
Ft 1 Ft ( t )
Ft 1 Ft 1 ( t 1 ) ( t )
Ft 1 Ft 2 ( t 2 ) ( t 1 ) ( t ).....dst
Model Box-Jenkins
ARIMA (p,d,q)(P,D,Q)S
Jika p = 0, maka tidak ada aspek Autoregresi
Jika p > 0, maka ada aspek Autoregresi, pada
ordo ke-k. (p=k)
Jika d = 0, maka pola data Stasioner
Jika d > 0, maka pola data Non-stasioner atau
ada aspek Trend atau musiman
Jika q = 0, maka tidak ada aspek moving-average
Jika q > 0, maka ada aspek moving-average,
pada ordo ke-k (q=k).
rk
(X
t 1
X )( X t k X )
t 1
Xt X
Jika rk tidak nyata atau tidak berpola (random), maka pola data adalah
m
Random
2
Q
n
r
Diuji dgn statistik Box-Pierce Q.
k
k 1
Diferensiasi
Mengkonversi Deret Data Asal Xt menjadi Xt=Xt Xt-k
(l=1,2,L).
l= 1, diferensiasi 1 kali.
ARIMA (0,d,0)
Backward operator = B
BX t X t 1
B 2 X t B( BX t ) B( X t 1 ) X t 2
First Difference :
X 't X t X t 1 X t BX t (1 B ) X t
Second Difference :
X "t X 't X 't 1 ( X t X t 1 ) ( X t 1 X t 2 )
X "t ( X t 2 X t 1 X t 2 ) (1 2 B B 2 ) X t
ARIMA(0, d ,0) :
(1 B ) d X t et
Plot nilai Koef Autokorelasi (acf) dan Partial Auto Korelasi (pacf)
Ciri bahwa pola time series adalah Arima(p,0,0) atau (AR(p):
An acf with large spikes at initial lags that decay to zero or a pacf with a
large spike at the first and possibly at the second lag indicates an
autoregressive process.
Untuk p=2
Partial autokorelasi sampai dengan k=2 significant
Untuk p=2
Partial autokorelasi sampai dengan k=2 significant
BX t X t 1
1.0
ACF-Y2
0.5
0.0
-0.5
0
1.0
10
10
PACF-Y2
0.5
0.0
-0.5
Untuk q=2
Autokorelasi sampai dengan p=2 significant
1.0
ACF-Y1
MA(2) series
0.5
0.0
-0.5
0
1.0
10
10
PACF-Y1
0.5
0.0
-0.5
Bet et 1
(1 1 B ) X t ' (1 1 B )et
AR(1)
MA(1)
AR(1)
MA(1)
atau
X t (1 1 ) X t 1 1 X t 2 ' et 1et 1
ACF
PACF
White noise
All zero
All zero
MA(1)
MA(2)
MA(q)
AR(1)
AR(2)
AR(p)
ARMA(1,1)
ARMA(p,q)
MA(1): 1<0
MA(1): 1>0
MA(q)
ARMA(1,1) :
>0
ARMA(1,1) :
<0
ARMA(p,q)
ACF
All k = 0
Direct exponential decay:
k =
Oscillating decay: k =
Decays towards zero.
Coefficients may oscillate.
PACF
All kk = 0
11 = 1; kk = 0 for k 2
11 = 1; kk = 0 for k 2
Spikes through until lag p,
followed by cut off in
PAC function beyond lag p.
kk 0 for k p.
kk = 0 for k > p.
Exponential decay: 11 < 0
Exponential decay: 11 > 0
kk taper off
Oscillatory decay beginning
at lag 1. 11 = 1
Exponential decay beginning
at lag 1. 11 = 1
Decay (either direct or
oscillatory) beginning at lag p,
but no distinct cut-off point.
Untuk nilai P dan Q, dicari dengan cara yang sama seperti p dan q
akan tetapi dilakukan terhadap Data yang sudah dihilangkan aspek
musimannya.
2. Next, examine the acf and pacf of your stationary data in order to identify
what autoregressive or moving average models terms are suggested.
An acf with large spikes at initial lags that decay to zero or a pacf
with a large spike at the first and possibly at the second lag indicates an
autoregressive process.
An acf with a large spike at the first and possibly at the second lag
and a pacf with large spikes at initial lags that decay to zero indicates a
moving average process.
The acf and the pacf both exhibiting large spikes that gradually die
out indicates that both autoregressive and moving averages processes are
present.
For most data, no more than two autoregressive parameters or two moving
average parameters are required in ARIMA models. See [11] for more
details on identifying ARIMA models.
3
3. Once you have identified one or more likely models, you are ready
to use the ARIMA procedure.
Estimasi Parameter
Berdasarkan Identifikasi Model ARIMA, dilakukan
estimasi terhadap paramater: i dan i::
ARIMA (0,1,1)(0,1,1)12