PMG Panel ARDL with different number of lags

preview_player
Показать описание
This video shows how to specify command in stata taking into account different number of lags for dependent and independent variables (for example, ARDL (2,3,3,3). Default XTPMG command only applicable for ARDL (1,1,1) in Stata. Enjoy my first video.
Рекомендации по теме
Комментарии
Автор

Thank you for your helpful video. This is the only video on YouTube that explains the lag rules of xtpmg, it really helps me a lot. thank you so much

QINQINGUI
Автор

EXACTLY, This is what i wanted, thanks a lot.

SagangaKapaya
Автор

This is the exact video I required. Thank you so much.

bacillusrex
Автор

Thanks for the video it is really insightful, but why was the dependent variable lagged in the long run, i thought in the long run all variables are in levels

EnemonaAmeji
Автор

thanks for the video, why is the dependent variable lagged in the long run, i thought in the long run all variables are in levels

EnemonaAmeji
Автор

Thank you for the helpful video! I am currently using a panel dataset with 74 countries, from 1996 - 2020. I do not know how to do the optimal lag selection for each variable. If possible, could you please tell me how I can identify the optimal lags please.

shaifaadam
Автор

To calculate multiple lags for a one variable can use this command
foreach i of varlist lux* {
forvalues j=1/6 {
gen lag`j'_`i'=l`j'.`i'
}
}

okbarimi
Автор

why u generating lags by yourself (8:40 min).

RememberRund
Автор

Please tell us how to determine optimal lag length

dhanu
Автор

could we use direclty the comand in the help section without creating new variables ? the comand is : xtpmg d.c d(1/2).y d.pi, ec(ec) lr(l.c y pi) pmg replace,
for an ardl (1, 2, 1, 1)

bbouchra
Автор

hi sir, Thanks so much for this video can you help me with it as I am facing some issues while running the pmg code it is giving many iterations and data concave. what should I do please help me

meenakshigautam
Автор

In pmg, i get too many iteration upto 100, then "hessian has become unstable or asymmetric" appears

aniksaha
Автор

what if all iterations are not concave???

mohamru
Автор

Dude confused not only me but himself, according to jumping fort and backwards with what is lag2 and lag1, etc. The ARDL is 23333, but there is only 1 lag generatetd? Why the heck?

nikolaizaicev
visit shbcf.ru