Dear All,
I would like to know how to include the lags of the dependent variable and independent variables in the syntax for panel ARDL models in the short run section. How are they actually typed?
First I determined the optimal lag length for the model using the command
forval i = 1/50 {
ardl Y x1, x2, x3, x4 if (country_code==`i'), maxlag(1111)
matrix list e(lags)
di
}
which was developed by Anet Tchetnik
I have substituted my variables for TFDI GDPPC OPENNESS and INFLATION for Y x1 x2 and x3 respectively and the optimal lag length for the model is discovered to be 1 0 0 1
I have already generated lags of the variables using the command gen LTFDI=L.TFDI and LIR= L.IR
What I would like to know is how do I include the lags of the variables in the short run aspect of the syntax below
xtpmg d.TFDI d.GDPPC d.OPEN d.IR, lr(l.TFDI GDPPC OPEN IR EPA) ec(ECT) replace pmg
I am thinking to type d.TFDI and d.LIR
Can anyone please advise?
Thanks
Alistair
Related Posts with Panel ardl stata command
Triple conditions such as relimp==relat==1 do not do what I expect them to do. Why? Where is this behaviour explained?Working on a problem posed in this thread
https://www.statalist.org/forums/for...other-variable
I di…
Can STATA shows the p-value for each variable used in the discriminant functions?I get my results and I can interpret the coefficient of each independent variable in each function.
…
Panel data preparation and xtreg functionHi
I am new to econometrics and stata, and appreciate some help for the following qns related to my…
Recode VarHello How can we find duplicates in a database? Which command I can use to change the observations o…
svydescribe for mi set dataI have been hunting around and trying everything I can think of but cannot figure out how to get the…
Subscribe to:
Post Comments (Atom)
0 Response to Panel ardl stata command
Post a Comment