Professional Documents
Culture Documents
Econometric S
Econometric S
QUESTION NO.i
Plot the GDP and GE series. Do they look stationary or non-stationary?
GDP GE
7E+15 6E+14
6E+15 5E+14
5E+15
4E+14
4E+15
3E+14
3E+15
2E+14
2E+15
1E+14
1E+15
0E+00 0E+00
1975 1980 1985 1990 1995 2000 2005 1975 1980 1985 1990 1995 2000 2005
Both of the graphs show a trend hence, series for both variables is non-stationary.
QUESTION NO. ii
Take the first difference of the given series and plot them again. Do the data look stationary or
non-stationary?
DGE
DGDP
6E+13
4E+14
4E+13
2E+14
2E+13
0E+00
0E+00
-2E+14
-2E+13
-4E+14
-4E+13
-6E+14 -6E+13
1975 1980 1985 1990 1995 2000 2005 1975 1980 1985 1990 1995 2000 2005
Even after taking the first difference, the graphs suggest that the series are still non-stationary.
t-Statistic Prob.*
As the value of the tau statistic is positive, we can say that we do not reject null hypothesis and
the series is non stationary.
t-Statistic Prob.*
As the value of the tau statistic is positive, we can say that we do not reject null hypothesis and
the series is non stationary
t-Statistic Prob.*
Here when intercept and trend is taken into consideration, the tau statistic becomes negative
but it still is statistically insignificant as it is less than critical values at 1%, 5% and 10% in
absolute terms.
When we tested the series of GDP at level with intercept, without intercept and with intercept
& trend, we concluded that the series in all cases were non-stationary however, there was
improvement seen in the data after every time intercept and trend were added.
t-Statistic Prob.*
Series is stationary at first difference with intercept as test statistic in absolute terms is greater
than critical value at 5% hence, we reject the null hypothesis that the series is non-stationary.
Dicky-Fuller unit root test at 1st difference without intercept & trend-GDP
Null Hypothesis: D(GDP) has a unit root
Exogenous: None
Lag Length: 0 (Automatic - based on SIC, maxlag=0)
t-Statistic Prob.*
Series is stationary at first difference with intercept as test statistic in absolute terms is greater
than critical value at 5% hence, we reject the null hypothesis that the series is non-stationary.
Dicky-Fuller unit root test at 1st difference with intercept & trend-GDP
Null Hypothesis: D(GDP) has a unit root
Exogenous: Constant, Linear Trend
Lag Length: 0 (Automatic - based on SIC, maxlag=0)
t-Statistic Prob.*
Series is stationary at first difference with intercept as test statistic in absolute terms is greater
than critical value at 5% hence, we reject the null hypothesis that the series is non-stationary.
Here, when we applied first difference to GDP series, we see that either with or without
intercept and with trend, all three results depict the data to be stationary series.
t-Statistic
Elliott-Rothenberg-Stock DF-GLS test statistic 1.320640
Test critical values: 1% level -2.630762
5% level -1.950394
10% level -1.611202
*MacKinnon (1996)
With intercept, the test statistic is less than critical value hence we do not reject the null
hypothesis and the series is non stationary.
Dicky-Fuller unit root test at level with intercept & trend-GE
t-Statistic
With intercept, the test statistic is less than critical value hence we do not reject the null
hypothesis and the series is non stationary.
None of the 3 cases depict the series of GE to be stationary at level, hence, we do not reject H0
and series is non-stationary.
t-Statistic
*MacKinnon (1996)
With intercept, GE at 1st difference is showing significant test statistic in absolute terms hence
we reject the H0 and conclude that the series is stationary.
Dicky-Fuller unit root test at 1st difference with intercept & trend-GE
t-Statistic
With intercept and trend, the series shows a statistically significant test statistic hence we reject
the H0 and series is stationary.
None of the 3 cases depict the series of GE to be non-stationary at level, hence, we reject H0
and series is stationary at first difference.
.
AUGMENTED DICKY-FULLER UNIT ROOT TEST
GDP
1. AT LEVEL
a. Without intercept
Null Hypothesis: GDP has a unit root
Exogenous: None
Lag Length: 0 (Automatic - based on SIC, maxlag=9)
t-Statistic Prob.*
t-Statistic Prob.*
Do not reject H0; series non-stationary as test statistic is less than critical
value.
2. At 1st difference
Without intercept
Null Hypothesis: D(GDP) has a unit root
Exogenous: None
Lag Length: 0 (Automatic - based on SIC, maxlag=9)
t-Statistic Prob.*
The test statistic is greater than the critical value at 5% hence we reject the H0
and series is stationary.
With intercept
Null Hypothesis: D(GDP) has a unit root
Exogenous: Constant
Lag Length: 0 (Automatic - based on SIC, maxlag=9)
t-Statistic Prob.*
The test statistic is greater than the critical value at 5% hence we reject the H0
and series is stationary.
t-Statistic Prob.*
Coefficie
Variable nt Std. Error t-Statistic Prob.
-
D(GDP(-1))
0.693420 0.165702 -4.184750 0.0002
5.75E+1
C 3 5.38E+13 1.069176 0.2927
@TREND("1971 2.57E+1
") 2 2.48E+12 1.035361 0.3080
The test statistic is greater than the critical value at 5% hence we reject the H0 and
series is
Stationary.
As we can see that all three tests suggest the series of GDP to be
stationary at first difference.
GE
1. At Level
Without intercept
t-Statistic Prob.*
t-Statistic Prob.*
t-Statistic Prob.*
Do not reject H0; series non-stationary as test statistic is less than critical values.
All 3 tests conducted above depicts that the series is non-stationary at level however we can
observe a slight improvement in test statistic by each step.
2. At 1st Difference
Without intercept
Null Hypothesis: D(GE) has a unit root
Exogenous: None
Lag Length: 0 (Automatic - based on SIC, maxlag=9)
t-Statistic Prob.*
t-Statistic Prob.*
The test statistic is greater than the critical value at 5% hence we reject the H0 and series is
stationary
With intercept and trend
The test statistic is greater than the critical value at 5% hence we reject the H0 and series is
stationary
All of the above tests show that the GE series is stationary at 1st difference whether or not
intercept and trend included.
PHILIPS-PERRON TEST
GDP
1. AT LEVEL
Without intercept
2.40E+2
Residual variance (no correction) 8
3.22E+2
HAC corrected variance (Bartlett kernel) 8
The test statistic is positive hence we do not reject the H0, the series is non-stationary.
With intercept
2.23E+2
Residual variance (no correction) 8
2.91E+2
HAC corrected variance (Bartlett kernel) 8
The test statistic is positive hence we do not reject the H0, the series is non-stationary.
2.02E+2
Residual variance (no correction) 8
2.02E+2
HAC corrected variance (Bartlett kernel) 8
The test statistic is less than 5% critical value hence we do not reject the H0, the series is non-
stationary.
All three of the above tests suggested the series to be non-stationary however, we saw that
when we took intercept in the model, the test statistic value became smaller than before and
when we took trend as well, the test statistic became negative.
2. 1st Difference
Without intercept
2.61E+2
Residual variance (no correction) 8
2.61E+2
HAC corrected variance (Bartlett kernel) 8
The test statistic is greater than 5% critical value hence we reject H0, series is stationary.
With intercept
2.09E+2
Residual variance (no correction) 8
1.85E+2
HAC corrected variance (Bartlett kernel) 8
The test statistic is greater than 5% critical value hence we reject H0, series is stationary.
With intercept and trend
The test statistic is greater than 5% critical value hence we reject H0, series is stationary.
All of the above tests show that the GE series is stationary at 1st difference whether or not
intercept and trend included.
GE
1. At Level
Without intercept
2.40E+2
Residual variance (no correction) 6
4.20E+2
HAC corrected variance (Bartlett kernel) 6
2.36E+2
Residual variance (no correction) 6
HAC corrected variance (Bartlett kernel) 4.16E+2
6
Do not reject H0; series non-stationary as test statistic is less than 5% critical value.
2. At 1st difference
Without intercept
2.69E+2
Residual variance (no correction) 6
2.46E+2
HAC corrected variance (Bartlett kernel) 6
Phillips-Perron Test Equation
Dependent Variable: D(GE,2)
Method: Least Squares
Date: 05/20/21 Time: 20:55
Sample (adjusted): 1973 2008
Included observations: 36 after adjustments
2.25E+2
Residual variance (no correction) 6
2.42E+2
HAC corrected variance (Bartlett kernel) 6
2.15E+2
Residual variance (no correction) 6
2.33E+2
HAC corrected variance (Bartlett kernel) 6
QUESTION NO. v
Write the appropriate equations of DF and ADF tests without intercept, with intercept and with
intercept & trend.
1. DICKEY FULLER
GDP
GDPt= 0.0455972 GDPt-1
GDPt= 36.187 + 0.0227839 GDPt-1
GDPt= 35.535 + 20.1763 t - 0.1523608 GDPt-1
GE
GEt = 0.051849 GEt-1
GEt = 22.9275 + 0.0380796 GEt-1
GEt = 25.7817 + 22.4440 t - 0.0001142 GEt-1
DGDP
DGDPt = - 0.3228 DGDPt-1
DGDPt = 16.7183 - 0.6450 DGDPt-1
DGDPt = 28.6301 + 18.9860 t - 0.6934 DGDPt-1
DGE
DGEt = - 0.3219 DGEt-1
DGEt = 35.0238 - 0.5983 DGEt-1
DGEt = 19.8014 + 19.5082 t - 0.6403 DGEt-1
QUESTION NO. vi
What do you conclude about the order of integration of each of these series?
according to the unit root tests that we applied on our series, the series appeared to be stationary
at first difference hence our order of integration of both of the series is I(1).
Intermediate Results:
GE GDP
Rho - 1 -0.207661 -0.185643
Rho S.E. 0.073161 0.067751
Residual variance 1.24E+26 2.21E+28
Long-run residual variance 1.93E+30 4.88E+30
Number of lags 3 3
Number of observations 34 34
Number of stochastic trends** 2 2
As p-value is greater than 5% we do not reject the null hypothesis that is series are not
cointegrated i.e. no long run relationship between GDP and GE.
If the variables are not cointegrated i.e. there is no long run relationship in variables, we apply
error correction mechanism to the series to look for any short run fluctuations.
QUSTION NO. ix
Employ the Error Correction Mechanism (ECM) to study the short behavior of GDP in relation
to GE and vice versa. How much time it is required for the series to be on the long-run
equilibrium path if there are some short-run fluctuations?
As p-value is insignificant hence we conclude that there are no short run adjustments.
With trend
the series still don’t have any short run adjustments as p-value is still insignificant.
WHEN GE IS DEPENDENT
ERROR CORRECTION MECHANISM
Step1: we will run regression with and without trend and then generate its residuals.
Step2: then we will regress the equation again by adding lagged error term in the regression. The
results of the regression are following;
Without trend
As p-value is insignificant hence we conclude that there are no short run adjustments.
With trend
As p-value is insignificant hence we conclude that there are no short run adjustments.
QUSTION NO. x
Determine whether GE Granger-cause GDP or GDP Granger-cause GE. Use up to five lags and
comment on your results. What important conclusion do you draw from this exercise in the light
of two distinct approaches?
As in the last column we can see that p-value is less than 5% hence we conclude to reject the
null hypothesis that GDP does not Granger Cause GE and this conclusion supports the
Wagner’s law approach which states that national income causes public expenditure.
QUSTION NO. xi
An Autoregressive (AR) model contains only lagged dependent variables on the right hand side
(there are no other independent variables). The partial autocorrelation function helps determine
how many lagged terms should be used in the model. Apply the AR(p) model on the GDP and
GE series.
GDP as Dependent Variable
Dependent Variable: GDP
Method: Least Squares
Date: 05/26/21 Time: 19:27
Sample (adjusted): 1972 2008
Included observations: 37 after adjustments
GE as Dependent Variable
Dependent Variable: GE
Method: Least Squares
Date: 05/26/21 Time: 19:31
Sample (adjusted): 1972 2008
Included observations: 37 after adjustments
When GE is Dependent
Dependent Variable: GE
Method: Least Squares
Date: 05/26/21 Time: 19:39
Sample (adjusted): 1972 2008
Included observations: 37 after adjustments
Step 1: Identification
We will be estimating AR (1) and MA (1) model at first difference.
Step 2: Estimation
As the error terms appear to be purely random, hence, there is no need to re-conduct ARIMA
model.