Hello, i am currently working on my thesis and i am stuck with overidentification test. I used the xtdpdsys command and i got the expected coefficient and significant values for my variable of interest. However when i use the sargan test, i get a p-value of 0.0000 which makes me feel uncomfortable. i believe the sargan test has flaws and i want to use the hansen j test rather but there seem to be no command for it. The only way to get it is to use the xtabond2 command. I am not too good with that command due to the endogenous and exogenous options, it confuses me. i would be glad if someone can assist me to get the right xtabond2 command from my results which will give me the exact results as the xtdpdsys. I have posted the results here
xtdpdsys lngreenfield lngdppc angdppc inf open cit lnpop cr lngreenfieldL1, nocons lags(1) artests(2) vce(robust)
note: L.lngreenfield dropped because of collinearity
System dynamic panel-data estimation Number of obs = 165
Group variable: id Number of groups = 19
Time variable: year
Obs per group:
min = 8
avg = 8.684211
max = 9
Number of instruments = 52 Wald chi2(8) = 4224.77
Prob > chi2 = 0.0000
One-step results
--------------------------------------------------------------------------------
| Robust
lngreenfield | Coef. Std. Err. z P>|z| [95% Conf. Interval]
---------------+----------------------------------------------------------------
lngdppc | .5713249 .4883243 1.17 0.242 -.3857731 1.528423
angdppc | .0017639 .0391657 0.05 0.964 -.0749995 .0785273
inf | -.0350448 .021586 -1.62 0.104 -.0773525 .007263
open | .0013623 .0107646 0.13 0.899 -.0197359 .0224605
cit | -.1055809 .0387232 -2.73 0.006 -.181477 -.0296848
lnpop | 1.435553 .2608094 5.50 0.000 .9243757 1.94673
cr | .8368848 .534084 1.57 0.117 -.2099007 1.88367
lngreenfieldL1 | -.1874725 .1027013 -1.83 0.068 -.3887632 .0138183
--------------------------------------------------------------------------------
Instruments for differenced equation
GMM-type: L(2/.).lngreenfield
Standard: D.lngdppc D.angdppc D.inf D.open D.cit D.lnpop D.cr
D.lngreenfieldL1
Instruments for level equation
GMM-type: LD.lngreenfield
xtdpdsys lngreenfield lngdppc angdppc inf open cit lnpop cr lngreenfieldL1, nocons lags(1) artests(2) vce(robust)
note: L.lngreenfield dropped because of collinearity
System dynamic panel-data estimation Number of obs = 165
Group variable: id Number of groups = 19
Time variable: year
Obs per group:
min = 8
avg = 8.684211
max = 9
Number of instruments = 52 Wald chi2(8) = 4224.77
Prob > chi2 = 0.0000
One-step results
--------------------------------------------------------------------------------
| Robust
lngreenfield | Coef. Std. Err. z P>|z| [95% Conf. Interval]
---------------+----------------------------------------------------------------
lngdppc | .5713249 .4883243 1.17 0.242 -.3857731 1.528423
angdppc | .0017639 .0391657 0.05 0.964 -.0749995 .0785273
inf | -.0350448 .021586 -1.62 0.104 -.0773525 .007263
open | .0013623 .0107646 0.13 0.899 -.0197359 .0224605
cit | -.1055809 .0387232 -2.73 0.006 -.181477 -.0296848
lnpop | 1.435553 .2608094 5.50 0.000 .9243757 1.94673
cr | .8368848 .534084 1.57 0.117 -.2099007 1.88367
lngreenfieldL1 | -.1874725 .1027013 -1.83 0.068 -.3887632 .0138183
--------------------------------------------------------------------------------
Instruments for differenced equation
GMM-type: L(2/.).lngreenfield
Standard: D.lngdppc D.angdppc D.inf D.open D.cit D.lnpop D.cr
D.lngreenfieldL1
Instruments for level equation
GMM-type: LD.lngreenfield
Comment