- 4
- 4 558
Bakytzhan Zhaparov
เข้าร่วมเมื่อ 13 ธ.ค. 2020
My journey to the university’s library
Here I filmed my whole journey from flat to the university of Glasgow’s library
มุมมอง: 38
วีดีโอ
PMG Panel ARDL with different number of lags
มุมมอง 4.5K3 ปีที่แล้ว
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.
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?
what if all iterations are not concave???
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
Please tell us how to determine optimal lag length
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.
I also need this
this is very nice!
Glad you like it!
EXACTLY, This is what i wanted, thanks a lot.
Glad I could help you
This is the exact video I required. Thank you so much.
Glad it was helpful!
Thank you for your helpful video. This is the only video on TH-cam that explains the lag rules of xtpmg, it really helps me a lot. thank you so much
You're welcome!
@@bakytzhanzhaparov1846 Thank you. Can you also do same topic in R?
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' } }
In pmg, i get too many iteration upto 100, then "hessian has become unstable or asymmetric" appears
why u generating lags by yourself (8:40 min).
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)