metode peramalan deret waktu stk 352

41
Metode Peramalan Deret Waktu – STK 352

Upload: others

Post on 05-Nov-2021

19 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Metode Peramalan Deret Waktu STK 352

Metode Peramalan Deret Waktu – STK 352

Page 2: Metode Peramalan Deret Waktu STK 352

Pendugaan parameter dilakukan setelah menentukan model tentatif, berdasarkan data pengamatan π‘Œ1, π‘Œ2, … , π‘Œπ‘›.

Metode yang bisa digunakan:

Metode momen

Metode kuadrat terkecil

Metode kemungkinan maksimum

Page 3: Metode Peramalan Deret Waktu STK 352
Page 4: Metode Peramalan Deret Waktu STK 352

Method of Moments (MM)

Methods of Moment estimation is a general method where equations for

estimating parameters are found by equating population moments with the

corresponding sample moments:

etc.

1

1

33

22

n

iYn

YE

s

Y

Trivial MM estimates are estimates

of the population mean ( ) and the

population variance ( 2).

The benefit of the method is that the

equations render possibilities to

estimate other parameters.

Page 5: Metode Peramalan Deret Waktu STK 352

Model: π‘Œπ‘‘ = πœ™π‘Œπ‘‘βˆ’1 + 𝑒𝑑

πœ™ = π‘Ÿ1

πœŒπ‘˜ = πœ™π‘˜ untuk π‘˜ = 1,2, … 𝜌1 = πœ™ 𝜌1 = πœ™

Page 6: Metode Peramalan Deret Waktu STK 352
Page 7: Metode Peramalan Deret Waktu STK 352

π‘Œπ‘‘ = πœ™1π‘Œπ‘‘βˆ’1 + πœ™2π‘Œπ‘‘βˆ’2 + β‹― + πœ™π‘π‘Œπ‘‘βˆ’π‘ + 𝑒𝑑

πΆπ‘œπ‘£(π‘Œπ‘‘, π‘Œπ‘‘βˆ’π‘˜) = πœ™1πΆπ‘œπ‘£ π‘Œπ‘‘βˆ’1, π‘Œπ‘‘βˆ’π‘˜ + πœ™2πΆπ‘œπ‘£ π‘Œπ‘‘βˆ’2, π‘Œπ‘‘βˆ’π‘˜ + β‹―

+πœ™π‘πΆπ‘œπ‘£(π‘Œπ‘‘βˆ’π‘, π‘Œπ‘‘βˆ’π‘˜) + πΆπ‘œπ‘£(𝑒𝑑 , π‘Œπ‘‘βˆ’π‘˜)

π›Ύπ‘˜ = πœ™1π›Ύπ‘˜βˆ’1 + πœ™2π›Ύπ‘˜βˆ’2 + β‹― + πœ™π‘π›Ύπ‘˜βˆ’π‘

πœŒπ‘˜ = πœ™1πœŒπ‘˜βˆ’1 + πœ™2πœŒπ‘˜βˆ’2 + β‹― + πœ™π‘πœŒπ‘˜βˆ’π‘

dibagi 𝛾0

Page 8: Metode Peramalan Deret Waktu STK 352

πœŒπ‘˜ = πœ™1πœŒπ‘˜βˆ’1 + πœ™2πœŒπ‘˜βˆ’2 + β‹― + πœ™π‘πœŒπ‘˜βˆ’π‘ untuk π‘˜ β‰₯ 1

Jika π‘˜ = 1,2, … dengan 𝜌0 = 1 dan πœŒπ‘˜ = πœŒβˆ’π‘˜ , diperoleh

persamaan umum Yule-Walker:

Page 9: Metode Peramalan Deret Waktu STK 352

Persamaan yule-walker:

πœŒπ‘˜ = πœ™1πœŒπ‘˜βˆ’1 + πœ™2πœŒπ‘˜βˆ’2 + β‹― + πœ™π‘πœŒπ‘˜βˆ’π‘

Sehingga:

𝜌1 = πœ™1+𝜌1πœ™2 π‘Ÿ1 = πœ™1+π‘Ÿ1 πœ™2

𝜌2 = πœ™1𝜌1+πœ™2 π‘Ÿ2 = πœ™1π‘Ÿ1+ πœ™2

dan

Page 10: Metode Peramalan Deret Waktu STK 352

Model: π‘Œπ‘‘ = 𝑒𝑑 βˆ’ πœƒπ‘’π‘‘βˆ’1

𝜌1 = βˆ’πœƒ

1 + πœƒ2 π‘Ÿ1 = βˆ’ πœƒ

1 + πœƒ2

Jika π‘Ÿ1 < 0.5 maka:

πœƒ = βˆ’1

2π‘Ÿ1Β±

1

4π‘Ÿ12 βˆ’ 1 =

βˆ’1 Β± 1 βˆ’ 4π‘Ÿ12

2π‘Ÿ1

Page 11: Metode Peramalan Deret Waktu STK 352
Page 12: Metode Peramalan Deret Waktu STK 352

Menduga 𝛾0 = π‘‰π‘Žπ‘Ÿ π‘Œπ‘‘ menggunakan ragam contoh:

𝑠2 =1

𝑛 βˆ’ 1

𝑑=1

𝑛

π‘Œπ‘‘ βˆ’ π‘Œ 2

Untuk model AR(p):

πœŽπ‘’2 = 1 βˆ’ πœ™1π‘Ÿ1 βˆ’ πœ™2π‘Ÿ2 βˆ’ β‹― βˆ’ πœ™π‘π‘Ÿπ‘ 𝑠2

Untuk kasus khusus AR(1)

πœŽπ‘’2 = 1 βˆ’ πœ™π‘Ÿ1 𝑠2 = 1 βˆ’ π‘Ÿ1

2 𝑠2

dengan πœ™ = π‘Ÿ1

Page 13: Metode Peramalan Deret Waktu STK 352

Untuk kasus MA(q):

πœŽπ‘’2 =

𝑠2

1 + πœƒ12 + πœƒ2

2 + β‹― + πœƒπ‘ž2

Untuk kasus ARMA(1,1):

Page 14: Metode Peramalan Deret Waktu STK 352

Misalkan terdapat data deret waktu sbb:

Jika untuk data tersebut menggunakan model AR(1): π‘Œπ‘‘ = 𝛼 + πœ™π‘Œπ‘‘βˆ’1 + 𝑒𝑑

Tentukan penduga parameternya, yaitu 𝛼 dan πœ™ denganmetode momen!

21.9 22.9 20.6 22.1 27.1

Page 15: Metode Peramalan Deret Waktu STK 352
Page 16: Metode Peramalan Deret Waktu STK 352
Page 17: Metode Peramalan Deret Waktu STK 352

17

1

2...

1.,0~

ttt

a

dii

tttt

YYa

Na whereaYY

n

t

ntt

n

t

t YYSYYaSSE2

1*

2

1

2

2 .,..., observedfor

n

t

t

n

t

tt

n

t

ttt

Y

YY

YYYd

dS

2

2

1

2

1

2

11*

Λ†

02

Page 18: Metode Peramalan Deret Waktu STK 352

If the process mean is different than zero

18

n

t

t

n

t

tt

YY

YYYY

2

2

1

2

1

Page 19: Metode Peramalan Deret Waktu STK 352
Page 20: Metode Peramalan Deret Waktu STK 352
Page 21: Metode Peramalan Deret Waktu STK 352
Page 22: Metode Peramalan Deret Waktu STK 352
Page 23: Metode Peramalan Deret Waktu STK 352
Page 24: Metode Peramalan Deret Waktu STK 352

we expect the plot to suggest a rectangular scatter around a zero horizontal level with no trends whatsoever

Page 25: Metode Peramalan Deret Waktu STK 352
Page 26: Metode Peramalan Deret Waktu STK 352

Increased variation

Page 27: Metode Peramalan Deret Waktu STK 352

Very large magnitudes

Page 28: Metode Peramalan Deret Waktu STK 352

quantile-quantile plots are an effective tool for assessing normality

Page 29: Metode Peramalan Deret Waktu STK 352
Page 30: Metode Peramalan Deret Waktu STK 352
Page 31: Metode Peramalan Deret Waktu STK 352

Outliers

Page 32: Metode Peramalan Deret Waktu STK 352

To check on the independence of the noise terms in the model, we consider the sample autocorrelation function of the residuals, denoted π‘Ÿπ‘˜.

Page 33: Metode Peramalan Deret Waktu STK 352
Page 34: Metode Peramalan Deret Waktu STK 352
Page 35: Metode Peramalan Deret Waktu STK 352

H0: sisaan saling bebas

H1: sisaan tidak saling bebas

Page 36: Metode Peramalan Deret Waktu STK 352

Lakukan prosedur uji

Ljung-Box berdasarkan

informasi di atas !

Page 37: Metode Peramalan Deret Waktu STK 352
Page 38: Metode Peramalan Deret Waktu STK 352
Page 39: Metode Peramalan Deret Waktu STK 352
Page 40: Metode Peramalan Deret Waktu STK 352

AIC

BIC

MAPE

MSE

Page 41: Metode Peramalan Deret Waktu STK 352

1. Cryer JD, Chan KS. 2008. Time Series Analysis with Application with R. New York: Springer.

2. Pustaka lain yang relevan.