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
Keep variable1 if 1 observation per year OR*the minimum number for a variable2 if > 1 observations per yearNeed help! My goal is to write code to keep a single HbA1c value per year closest to each participan…
Combine histogram and connected line graph over timeDear Statalist forum users, I came across this graph in a published paper and want to produce a simi…
Cross sectional dependence for firm panel dataDo we conduct a cross sectional dependence test for panel data with N being listed firms and T being…
By ID_number, keep registry-based (baseline=0) test dates obtained 1 year after original (baseline=1) study’s test dateReally need help! With the expert guidance of a statistician, I merged (using the append command) a …
How to Modify Stata Data (Dta file) using python code and save changes back to the dta fileI have 2000 observations and 100 variables in my data from an empirical research project. I am curre…
Subscribe to:
Post Comments (Atom)
0 Response to Panel ardl stata command
Post a Comment