I am using the following two-step difference GMM model:
Code:
xtabond2 y l.y l.x1 l.x2 l.x3 $controls yeardum* if group==1, gmm(y x1 x2 x3, lag(2 10) collapse ) iv(yeardum* $controls) noleveleq small noconstant robust twostep
I would like to estimate the same model xtdpdgmm and I tried the following code, but the estimated coefficients are completely different. What am I doing wrong?
Code:
xtdpdgmm y l.y l.x1 l.x2 l.x3 $controls yeardum* if group==1, model(diff) gmm(y x1 x2 x3, lag(2 10) collapse) iv($controls) twostep vce(r) small noconstant teffects
Code:
xtdpdgmm y l.y l.x1 l.x2 l.x3 $controls yeardum* if group==1, model(diff) gmm(y x1 x2 x3, lag(2 10) collapse) iv($controls) igmm vce(r) small noconstant teffects igmmiterate(100)
Thanks a lot in advance for your help
Best
0 Response to Replicating xtabond2 results with xtdpdgmm
Post a Comment