Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Exercise#12.4
The data file contain oil.dat contains 88 annual observations on the price of oil(in 1967 constant
dollars) for the period 1883-1970.
Part (a):
oil
5.5
5.0
4.5
4.0
3.5
3.0
2.5
2.0
1.5
10 20 30 40 50 60 70 80
Comment: Series is not stationary in mean and variance,trend is also present in it.
Part (b): Load the data in eviews the click on Quick →Series statistics→unit root test→series name oil
t-Statistic Prob.*
Ho:Series is stationary
Yt=β1+β2+€t
At 1%
-4.072415>-5.073091
At 5%
-3.464865>-5.073091
At 10%
-3.158974>-5.073091
Conclusion:At 1%,5% and 10% level of significance ,there is evidence that series is non stationay and p-
value less than 0.05 it means we will reject null hypothesis so,series is non stationary.
Exercise#12.11
The data file mexico.dat contain real GDP for mexican and the US from the first quarter of 1980 to the
third quarter of 2006.Both series have been standardized so that the average value in 2000 is 100.
Solution: Plot mexico and usa in eviews after loading the data.
120
110
100
90
80
70
60
50
10 20 30 40 50 60 70 80 90 100
mexico usa
Command:
ls mexico c usa
genr t=resid
plot t
Result:
T
10.0
7.5
5.0
2.5
0.0
-2.5
-5.0
-7.5
-10.0
10 20 30 40 50 60 70 80 90 100
Result:
t-Statistic Prob.*
Test Of Hypothesis:
At 1%
-2.587831>-2.892826(reject Ho)
At 5%
-1.944006>-2.892826(reject Ho)
At 10%
-1.614656>-2.892826(reject Ho)
Conclusion:
Since p-value is less than 0.05 it means we reject our null hypothesis so,the series are not co-integrated.
t-Statistic Prob.*
Test Of Hypothesis:
α=0.05
Yt=βXt+€t
At 1%
At 5%
At 10%
-1.614656>-3.972760 (reject Ho)
Conclusion:
Since p-value is less than 0.05 critical values are greater than t-statistics so we reject our null
hypothesis.It means the series are not co-integrated.
Example 1:Fitting a GARCH model to stock data by using E1032 file from ITSM
Open ITSM and load data E1032 then select transform→subtact mean,following graph will appear.
Series
6.
4.
2.
0.
-2.
-4.
-6.
-8.
==========
ITSM::(INFO)
==========
MODEL:
ARMA Model:
X(t) = Z(t)
WN Variance = 1.000000
h(t) = 1.000000
========================================
========================================
ARMA Model:
X(t) = Z(t)
+ .7853676 h(t-1)
Alpha Coefficients
.128845 .135289
.048701 .020201
Beta Coefficients
.785368
.040705
AICC(Garch) = .146906E+04
-2Log(Likelihood) = .145783E+04
Number of iterations = 13