Hi everyone,
I'm using xtpmg to run an ardl model on panel data using the pooled mean group estimator. dependent variable: y independent variables x1 and x2
the code line i'm using is similar to a one published in paper which uses ardl(1,1,1)
xtpmg D.y D.x1 D.x2, ec(ec) lr(L.y x1 x2) replace pmg
I'm confused on what would be the appropriate xtpmg specification for different lag orders. using the example above if i want to try ardl(2,0,1) what would be the appropriate code line:
xtpmg D2.y x1 D.x2, ec(ec) lr(L.y x1 x2) replace pmg
Or
xtpmg D(1/2) x1 D.x2, ec(ec) lr(L.y x1 x2) replace pmg
Or
something completely different?
Also, does the lag structure affect the long run lr () specification at all?
If anybody can help or refer me to a paper or guidelines that touches on this, i'd really appreciate it. Thank you
Related Posts with what is the correct specification of lagged variables using xtpmg ?
Linear restrictions in coefficients after using xtmg panel data commadDear collegues, I have estimated a mean group (Pesaran and Smith 1995) panel data model with "xtmg"…
Err Msg: depvar may not be a factor variableDear Statalist, I have a question about the error message in the title. It's really mysterious to m…
"substr" does not work for the string with "_"Hi, I am trying to generate two scalars to store numbers from the string "crmlaw_2014_2018" and "te…
Help with time series data analysisHello all, Statistics novice here trying to find the best test to use for my data. I am currently lo…
Does mediator make the relationship between the independent and dependent variables stronger?If we believe a variable is a mediator, does it make the relationship between the independent variab…
Subscribe to:
Post Comments (Atom)
0 Response to what is the correct specification of lagged variables using xtpmg ?
Post a Comment