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
Esttab producing different confidence intervals than eststoHello, I'm using eststo: svy and esttab to produce tables of estimates in my survey data.The estima…
Centering an Indicator VariableHello, I am looking to center a covariate, per the reference below. This covariate is Hospital Refer…
Fixed Effects EstimationHi Everyone, I am currently running a FE regression with panel data on OECD countries, looking at t…
cannot use NL with weights and cluster-robustHi all, I use substitutable expression program to run non-linear least squares (nl). I try to use b…
Goodness of fit measure for xtologitHello all, I’m working with the xtologit model after quite a while and seem to have forgotten many …
Subscribe to:
Post Comments (Atom)
0 Response to Panel ardl stata command
Post a Comment