You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
However, I have a question. I am using PMG estimation for 5 variables and 4 countries. But the iteration continues indefinitely. What could be wrong?
this is the command i tried to execute.... xtpmg2 d.npls d.lex d.rir d.lnalsi d.ibr, lr(l.npls lex rir lnalsi ibr) ec(ECT) replace pmg. When i executed the same command for mg estimation, there was no problem. Thanks in anticipation
I'm using Stata 15.1 / IC for Macbook in my regression the problem comes out when I use lr ( long run coefficient) command, the software says: option 1r() not allowed
I've already follow the previous instructions as (ssc install) xtpmg, ardl , xtpmg.
Sundus,
please see the post here. You need to download the xtpmg2.ado, save it to your ado folder and then you can use xtpmg2 on Stata 16+. Syntax is the same as for xtpmg.
JanDitzen data-cke-saved-href="#" href="#" class="b-bbcode-user js-bbcode-user">JanDitzen ata-cke-saved-href="#" href="#" class="b-bbcode-user js-bbcode-user">JanDitzen =JanDitzen;n1605766]Sundus,
please see the post here. You need to download the xtpmg2.ado, save it to your ado folder and then you can use xtpmg2 on Stata 16+. Syntax is the same as for xtpmg.
Best,
Jan
[/QUOTE]
I'm using stata 18 and getting the same error 'invalid new variable name; variable name ec_1 is in the list of predictors'. I have a panel with 4 subgroups (1,2,3,4). I need to run xtpmg on each group. I have downloaded and saved your xtpmg2 ado into my folder. But when I run xtpmg2 I'm getting an error ' invalid syntax' I'm not sure where I'm going wrong. below is the code I executed;
''forvalues g = 1/4 {
preserve
keep if group == `g'
Comment