Contoh Praktis Menggunakan EVIEWS
Contoh Praktis Menggunakan EVIEWS
Contoh Praktis Menggunakan EVIEWS
Presented by
2013/10/24
P.40-P.43
File: SandPhedge.xls
This
section shows how to run a bivariate regression usin
g Eviews.
We focus on the relationship between SPOT and FUTURE
S:
1. Level regression (long run relationship)
2. Return regression (short run relationship)
.The appropriate hedge ratio will be the slope estimate, , i
Input Data
Descriptive Statistics
Genr type rfutures=100*dlog(futures)
rspot=100*dlog(spot)
Do not forget to Save the workfile.
Run Regression
If you want to save the summary statistics, you
Name returnreg
P.77-P.80
File: capm.xls
CAPM test
To estimate the CAPM equation, click on Equatio
ERFORD C ERSANDP
Or
100*DLOG(FORD)-USTB3M C 100*DLOG(SAND
P)-USTB3M
P.99-P.104
File: macro.xls
Period: 1986/03~2007/04
APT-style Model
In the spirit of APT, the following example will examine regres
Press
Genr
Stepwise regression
P.136-P.139
File: macro.wfl
Period: 1986/03~2007/04
88
90
92
94
96
98
00
02
04
ERMSOFT Residuals
06
Detecting autocorrelation
Breusch-Godfrey test:
ality Test
Multicollinearity
Quick/Group Statistics/Correlations
In the dialog box that appears:
st
P.234-P.238
File: UKHP.wfl
Period: 1991/03~2007/05
OK
AIC
Forecast dynamic/static
eturns?
In EViews, to do this we need to specify a list of instru
ments, which would be all of the variables from the re
duced form equation. The reduced form equations:
P.308
File: currencies.wfl
Period: 1991/03~2007/05
10
Conclusion: choose VAR(1).
Granger causality test very little evidence of le
ad-lag interactions between the series.