Beruflich Dokumente
Kultur Dokumente
Saeed A.Meo
Research associate at Superior university Lahore Pakistan
First of All I would like to acknowledge that I’m using the codes of NARDL provided by the father of
NARDL approach ( Matthew Greenwood-Nimmo) on my email request.
In addition I would like dedicate this video to my teachers and friends most specially
Linear relationship
Examples
For a given material, if the volume of the material is doubled, its weight will also
double. This is a linear relationship. If the volume is increased 10 times, the
weight will also increase by the same factor..
The cost of objects is usually linear. If a notebook costs $1, then ten notebooks
will cost $10.
The force of gravity between the earth and an object is linear in nature. If the
mass of the object doubles, the force of gravity acting on it will also be double.
A linear relationship exists when two quantities are proportional to each other. If
you increase one of the quantity, the other quantity either increases or decreases at
a constant rate. For example, if you get paid $10 an hour, there is a linear
relationship between your hours worked and your pay. Working another hour
Non-linear relationship
As their name suggest, non-linear relationships are not linear, which means by
doubling one variable, the other variable will not double.
A nonlinear relationship is a type of relationship between two entities in which change in one entity
does not correspond with constant change in the other entity. This might mean the relationship
between the two entities seems unpredictable or virtually absent
NARDL
The Non-linear ARDL model recently developed by Shin, Yu, and Greenwood-Nimmo 2014
uses positive and negative partial sum decompositions allowing detecting the asymmetric effects
in the long and the short-term. Compared to the classical cointegration models, NARDL models
present some other advantages. Firstly, they perform better for determining cointegration
relations in small samples (Romilly, Song, & Liu, 2001). Secondly, they can be applied
irrespective of whether the regressors are stationary at level or at the first difference (i.e. I(0) or
I(1)). They cannot be applied however if the regressors are I(2).The other advantages of
NARDLTherefore, the asymmetric NARDL framework of Shin et al. (2013) is particularly
suitable for our research problem as it allows us not only to gauge the short- and long-run
asymmetries, but also to detect hidden cointegration.. For example, a positive shock of oil prices
may have a larger absolute effect in the short-run while a negative shock has a larger absolute
effect in the long-run (or vice-versa).
Steps for NARDL
In simple, we have six steps (but major are first 4) for NARDL
Step 1. In first step, we shall check unit root, the purpose of unit root test for
ARDL is only to confirm that we don’t have any variable which stationary at
second difference. Otherwise not need of unit root.
Step 2. Generate positive and negative series for those variables for which you
want to see asymmetric relationship, nonlinear relationship (suppose you wish for
one variable or two or three as you wish)
Step 3. Test cointegration, using bound test, with Wald test
Step 4. Run NARDL , using stepwise regression under ECM
Step 5. Check the asymmetries with Wald test, even from the step 4 we understand
either asymmetric relationship exist or not but we can check it for further
confirmation via Wald test.
Step 6. Multiplier effect (sorry I’m not going to explain procedure because I don’t
have idea this using EVIEWS but STATA
NOTE : I followed general-to-specific approach as in all papers adopted.
Step#1
In first step we will generate first difference series of variables dependent and
independents
genr de =e-e(-1)
genr de =e-e(-1)
genr dx =x-x(-1)
genr dy =y-y(-1)
genr dz =z-z(-1)
Note: first of all I have created first difference series for all variables which are part of
our model. Therefore you also create first difference series for all variables.
Suppose my model is as follow, and the procedure is following of creating difference
series.
Y=f(e,x and z)
Step#2
Now we shall generate a positive and negative series from an original variable let
suppose I wish to generate positive and negative series for my variable “E” why
I’m generating positive and negative series because of I believe that there is a
nonlinear relationship between “E” and dependent variable, means I think positive
change and negative change don’t effect same dependent variable. (Generate
positive and negative series for those variables, which are used to subject as
asymmetry variables), and the procedure is following.
Generate positive and negative series for those variables ,which are used to subject as
asymmetry variables(if you wish to use only one variable, and want to see asymmetry effect
then generate only for that one variable negative and positive series, what if you wish to see
more than one variables effect then produce negative and positive series for other one)
Note:
Selection Summary
Removed DXPOSITVE(-3)
Removed DXNEGATIVE(-2)
Removed DXPOSITVE
Removed DEPOSITVE(-2)
Removed DEPOSITVE
Removed DEPOSITVE(-1)
Removed DENEGATIVE
Removed DENEGATIVE(-3)
Removed DZ(-2)
*Note: p-values and subsequent tests do not account for stepwise selection.
Note: I am following same procure as followed by M A T T H E W G R E E N W O O D - N I M M O in his
paper title as Asymmetric Cointegrating Relationships, Asymmetric Dynamic Multiplier s, Nonlinear
ARDL (NARDL) ECM-based Estimation and Tests, Nonlinear Unemployment-Output Relationship. If you
wish to download code for NARDL please search this link from official site of M A T T H E W G R E E N
W O O D - N I M M O link is here:
http://www.greenwoodeconomics.com/publications.html
Note :The existing literature regarding asymmetric cointegration is dominated by three types
of nonlinear models, all derived from the basic linear Error Correction Model (ECM(Author:
Rania Jammazi Amine Lahiani Duc Khuong Nguyen, 2014)
dy(-1 to -3) dz(-0 to -3) depositve(-0 to -3) denegative(-0 to -3) dxpositve(-0 to -3) dxnegative(-0 to -3)
Note: note we are going to run above regression under error correction model
that’s why first variable is in difference form in above box. further changing will
be in option tab and all the detail of option tab is blow.
Step#4
Now we shall confirm either cointegration exist or not if cointegration exists then
we shall carry estimation otherwise not, so procedure of cointegration is following
And we shall check cointegration via wald test ,go to view of resulted window of
NARDL ,Coefficient diagnostic and then wald test.
Note: based on the estimated NARDL, we perform a test for the presence of cointegration among the
Variables using a bounds testing approach of Pesaran et al. (2001) and Shin et al. (2011).
Note here our calculated f statistics values is greater than as compare to upper
bound value at 5% level of significance ,If you wish to download these critical
value you can from Google.as we have total three regressors that’s why I selected
K 3. Our calculated value of bound test is 10.25 and upper bound value at 5%
level of significance is 4.35 hence we shall reject null hypothesis of no
cointegration and say there is cointegration.
Step#5
Deriving long run coefficients
The procedure for the deriving long run coefficients is adopted from the procedure
adopted by Matthew Greenwood-Nimmo “Modelling Asymmetric Cointegration and Dynamic
Multipliers in a Nonlinear ARDL Framework” and all other good paper published in good journals follows
same procedure
Calculate your long run coefficient like this via wald test and if you wish you can
through calculation, not if you are calculating long run coefficient via wald test
then procedure is same ,view, coefficient diagnostic and then wald test.
Long run coefficient of z(-1)1 = -c(3)/c(2)=0 (-2.163454)
Long run coefficient of epositive(-1)= -c(4)/c(2)=0 (235.0248)
Long run coefficient of enegative (-1)= -c(5)/c(2)=0
Long run coefficient of xpositive (-1)= -c(6)/c(2)=0
Long run coefficient of xnegative(-1)= -c(7)/c(2)=0 (1481.907)
11
Note: for z(-1) I have put c(3) because of z(-1) is at c(3) and divide all coefficients with c(2)
Note: In particular, the long-run symmetry can be tested by using a Wald test of the null
hypothesis
Null hypothesis: there is no asymmetry
Alternative: there is asymmetry
Here our probability value is insignificant so we shall accept null hypothesis of no
asymmetry means there is no inequality, coefficients are same
Kindly do same procedure for the other variables if you used as
Good luck ……………
What drives housing price dynamics in Greece: New evidence from asymmetric
ARDL Cointegration
The Swapwise method lets you choose whether you wish to use Max R-squared or
Min Rsquared, and choose the number of additional variables to be selected. The
Combinatorial method simply prompts you to provide the number of additional
variables. By default both of these procedures have the number of additional
variables set to one. In both cases this
merely chooses the single variable that will lead to the largest increase in R-
squared
Example of 5 regressors
As an example we use the following code to generate a workfile with 40
independent variables
(X1–X40), and a dependent variable, Y, which is a linear combination of a
constant,
variables X11–X15, and a normally distributed random error term. Given this data
we can use a forwards stepwise routine to choose the “best” 5 regressors, after the
constant, from the group of 40 in XS. We do this by entering “Y C” in the first
Specification box of the estimation dialog, and “XS” in the List of search
regressors box. In the
Stopping Criteria section of the Options tab we check Use Number of Regressors,
and
enter “5” as the number of regressors. Estimating this specification yields the
results:
The top portion of the output shows the equation specification and information
about the stepwise method. The next section shows the final estimated specification
along with coefficient estimates, standard errors and t-statistics, and p-values.
Note that the stepwise routine chose the “correct” five regressors, X11–X15. The
bottom portion of the output shows a summary
of the steps taken by the selection method. Specifications with a large number of
steps
may show only a brief summary
Uni-directional-Forwards
The Uni-directional-Forwards method uses either a lowest p-value or largest t-
statistic criterion for adding variables.
The method begins with no added regressors. If using the p-value criterion, we
select the variable that would have the lowest p-value were it added to the