7/26/2019 Contoh Praktis Menggunakan EVIEWS
1/46
Presented by
2013/10/24
Practical Examples using Eviews
7/26/2019 Contoh Praktis Menggunakan EVIEWS
2/46
P.40-P.43File: SandPedge.xls
7/26/2019 Contoh Praktis Menggunakan EVIEWS
3/46
Estimati!n !" an !ptimal edge rati!#is secti!n s!ws !w t! run a $ivariate regressi!n usin
g Eviews.%e "!cus !n te relati!nsip $etween S and F'#'(E
S:
1. )evel regressi!n *l!ng run relati!nsip+
2. (eturn regressi!n *s!rt run relati!nsip+
.
#e appr!priate edge rati! will $e te sl!pe estimate, , in a regressi!n were te dependent varia$le is te sp!t returns and te independent varia$le is te "utures return.
.#est weter !r n!t, we can iew !e"". #ests !e"". (estricti!ns. #/pe *+12.
7/26/2019 Contoh Praktis Menggunakan EVIEWS
4/46
nput 5ata
7/26/2019 Contoh Praktis Menggunakan EVIEWS
5/46
5escriptive Statistics
6enr t/pe r"utures12007dl!g*"utures+ rsp!t12007dl!g*sp!t+5! n!t "!rget t! Save te w!r8"ile.
7/26/2019 Contoh Praktis Menggunakan EVIEWS
6/46
(un (egressi!n" /!u want t! save te summar/ statistics, /!u
must name tem $/ clic8ing 9ame and ten c!!se a name, e.g.
5escstats
.%e can n!w pr!ceed t! estimate te regressi!n.
7/26/2019 Contoh Praktis Menggunakan EVIEWS
7/46
9ame returnreg
n te same wa/, we als! !$tain levelreg
7/26/2019 Contoh Praktis Menggunakan EVIEWS
8/46
#est !e""icients !" (egressi!nSupp!se n!w tat we wanted t! test te null /p
!tesis tat rater tan .
7/26/2019 Contoh Praktis Menggunakan EVIEWS
9/46
P.-P.;0File: capm.xls
7/26/2019 Contoh Praktis Menggunakan EVIEWS
10/46
Example "!r
7/26/2019 Contoh Praktis Menggunakan EVIEWS
11/46
6enerate 9ew aria$les
(S3=?2
E(S
7/26/2019 Contoh Praktis Menggunakan EVIEWS
12/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
13/46
3=
7/26/2019 Contoh Praktis Menggunakan EVIEWS
14/46
P.AA-P.204File: macr!.xls
Peri!d: 2A;B?03C00?04
7/26/2019 Contoh Praktis Menggunakan EVIEWS
15/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
16/46
Press 6enr6enr din"lati!n 1 d*in"lati!n+
6enr must$3m 1 ust$3m?2
6enr rterm 1 d*term+
6enr erms!"t 1 rms!"t must$3m
6enr ersandp 1 rsandp must$3m
'se )east S@uares !ver te w!le sample peri!d.
*erms!"t c ersandp dpr!d dcredit din"lati!n dm!ne/dspread rterm+
7/26/2019 Contoh Praktis Menggunakan EVIEWS
17/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
18/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
19/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
20/46
Stepwise regressi!n
7/26/2019 Contoh Praktis Menggunakan EVIEWS
21/46
P.23B-P.23AFile: macr!.w"l
Peri!d: 2A;B?03C00?04
7/26/2019 Contoh Praktis Menggunakan EVIEWS
22/46
#esting "!r eter!scedasticit/" te residuals !" te regressi!n ave s/stematic
all/ canging varia$ilit/ !ver te sample, tat is asign !" eter!scedasticit/.
t is ard t! see an/ clear pattern, s! we need t!run te "!rmal statistical test. *%ites test+
-60
-50
-40
-30
-20
-10
0
10
20
30
86 88 90 92 94 96 98 00 02 04 06
ERMSOFT Residuals
7/26/2019 Contoh Praktis Menggunakan EVIEWS
23/46
#! test "!r eter!scedasticit/ using %ites test.VV ambiguous!!X
7/26/2019 Contoh Praktis Menggunakan EVIEWS
24/46
'sing %ites m!di"ied standard err!r estimates in Eiews
The heteroscedasticity-consistent s.d. errors are smaller than "
#urbin-$atson %#$& is a test 'or (rst orderautocorrelation.
7/26/2019 Contoh Praktis Menggunakan EVIEWS
25/46
5etecting aut!c!rrelati!n>reusc-6!d"re/ test:
7/26/2019 Contoh Praktis Menggunakan EVIEWS
26/46
#esting "!r n!n-n!rmalit/#e >era-Gar@ue n!rmalit/ tests
iew (esidual #ests Hist!gram 9!rm
alit/ #est
7/26/2019 Contoh Praktis Menggunakan EVIEWS
27/46
=ultic!llinearit/
Iuic8?6r!up Statistics?!rrelati!ns
n te dial!g $!x tat appears:
Ersandp dpr!d dcredit din"lati!n dm!ne/ dspread
rterm
7/26/2019 Contoh Praktis Menggunakan EVIEWS
28/46
(ESE# tests *p.2+
iew Sta$ilit/ tests (amse/ (ESE# test
7/26/2019 Contoh Praktis Menggunakan EVIEWS
29/46
)t *ould be concluded thatthe linear model 'or the +icroso't returnsis a,,ro,riate.
7/26/2019 Contoh Praktis Menggunakan EVIEWS
30/46
Sta$ilit/ tests *p.2;;+
iew Sta$ilit/ #ests !w >rea8p!int #e
st
7/26/2019 Contoh Praktis Menggunakan EVIEWS
31/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
32/46
P.34-P.3;File: 'JHP.w"l
Peri!d: 2AA2?03C00?0K
7/26/2019 Contoh Praktis Menggunakan EVIEWS
33/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
34/46
5!u$le clic8 5H iew?!rrelati!n )ag 2&J
Estimating te aut!c!rrelati!n c!e""icients "!r up t! 2 lags
7/26/2019 Contoh Praktis Menggunakan EVIEWS
35/46
'sing in"!rmati!n criteria t! decide !nm!del !rders
Iuic8 Estimate E@uati!n
7/26/2019 Contoh Praktis Menggunakan EVIEWS
36/46
#is speci"/ an
7/26/2019 Contoh Praktis Menggunakan EVIEWS
37/46
&ne m!re example: Ldp c ar*2+ ar*+ ar*3+ ar*4+ar*K+ ma*2+ ma*+ ma*3+ ma*4+ ma*K+M
'sing
7/26/2019 Contoh Praktis Menggunakan EVIEWS
38/46
F!recasting using
7/26/2019 Contoh Praktis Menggunakan EVIEWS
39/46
F!recast d/namic?static
7/26/2019 Contoh Praktis Menggunakan EVIEWS
40/46
Simultane!us e@uati!ns m!delling using Eiews
%at is te relati!nsip $etween in"lati!n and st!c8 returnsN
n Eiews, t! d! tis we need t! speci"/ a list !" instruments, wic w!uld $e all !" te varia$les "r!m te re
duced "!rm e@uati!n. #e reduced "!rm e@uati!ns:
Iuic8 Estimati!n E@uati!n
7/26/2019 Contoh Praktis Menggunakan EVIEWS
41/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
42/46
#e c!e""icients are all n!t signi"icant.#e "itted relati!nsip $etween te st!c8 returns
and in"lati!n series is p!sitive *al$eit n!t signi"icantl/ s!+.
#e adOusted is negative.
7/26/2019 Contoh Praktis Menggunakan EVIEWS
43/46
P.30;File: currencies.w"l
Peri!d: 2AA2?03C00?0K
7/26/2019 Contoh Praktis Menggunakan EVIEWS
44/46
ect!r aut!regressive m!dels#e simplest case:
&pen Lcurrencies.w"lM
Iuic8 Estimate
7/26/2019 Contoh Praktis Menggunakan EVIEWS
45/46
7/26/2019 Contoh Praktis Menggunakan EVIEWS
46/46
H!w t! decide te lengt !" lagged termN
iew )ag Structure )ag )engt riteria
20
!nclusi!n: c!!se