Thank you much for your guidance and thorough explanation. Following your response, I was able to reproduce the results of xtabond2 with xtdpdgmm and iverg2 for the system gmm estimator.
I know that you have explained about the redundancy of using the time-dummies both in the level and first-difference equations. However, I understand that both xtabond2 and xtdpdgmm take care of this redundancy by dropping the colinear instruments. I am also aware that this may (or at least used to) lead xtabond2 reporting the wrong degrees of freedom and p-values for some diagnostics regarding the instruments. However, for the purposes of reproducing the results of xtabond2 (point estimates and their standard errors) with xtdpdgmm for the system gmm, I could only do so by including iv(yr1978 - yr1984) and iv(L(w k)) in both equations for xtdpdgmm? Thank you in advance for your guidance.
Code:
webuse abdata
xtabond2 L(0/1).n L(w k) (yr1978 - yr1984), ///
gmm(L(n), lag(2 3)) iv(yr1978 - yr1984, eq(diff)) iv(yr1978 - yr1984, eq(level)) iv(L(w k), eq(diff)) iv(L(w k), eq(level)) two cluster(id)
estimate store m1
xtdpdgmm L(0/1).n L(w k), model(level) gmm(L(n), lag(2 3) model(difference)) ///
gmm(L(n), lag(1 1) difference model(level)) iv(L(w k)) iv(yr1978 - yr1984, difference model(difference)) iv(L(w k), difference model(difference)) two vce(cluster id) teffects
estimate store m2
esttab m1 m2
xtdpdgmm L(0/1).n L(w k) yr1978 - yr1984, model(level) gmm(L(n), lag(2 3) model(difference)) ///
gmm(L(n), lag(1 1) difference model(level)) iv(yr1978 - yr1984) iv(L(w k)) iv(yr1978 - yr1984, difference model(difference)) iv(L(w k), difference model(difference)) two vce(cluster id)
estimate store m3
quietly predict iv*, iv
ivreg2 n (L1.(n w k) yr1978 - yr1984 = iv*), gmm2s cluster(id) nocollin
estimate store m4
esttab m1 m2 m3 m4
----------------------------------------------------------------------------
(1) (2) (3) (4)
n n n n
----------------------------------------------------------------------------
L.n 0.968*** 0.968*** 0.968*** 0.968***
(11.09) (11.09) (11.09) (30.63)
L.w -0.0610 -0.0610 -0.0610 -0.0610**
(-1.56) (-1.56) (-1.56) (-2.85)
L.k 0.0254 0.0254 0.0254 0.0254
(0.34) (0.34) (0.34) (0.98)
yr1978 -0.0139 -0.0139 -0.0139
(-0.83) (-0.83) (-1.06)
yr1979 -0.0172 -0.0172 -0.0172
(-0.83) (-0.83) (-1.15)
yr1980 -0.0650*** -0.0650*** -0.0650***
(-3.44) (-3.44) (-4.46)
yr1981 -0.155*** -0.155*** -0.155***
(-6.15) (-6.15) (-8.51)
yr1982 -0.131*** -0.131*** -0.131***
(-5.10) (-5.10) (-8.44)
yr1983 -0.0795* -0.0795* -0.0795***
(-2.54) (-2.54) (-4.54)
yr1984 -0.0579 -0.0579 -0.0579**
(-1.61) (-1.61) (-3.23)
1978.year -0.0139
(-0.83)
1979.year -0.0172
(-0.83)
1980.year -0.0650***
(-3.44)
1981.year -0.155***
(-6.15)
1982.year -0.131***
(-5.10)
1983.year -0.0795*
(-2.54)
1984.year -0.0579
(-1.61)
_cons 0.262 0.262 0.262 0.262*
(1.09) (1.09) (1.09) (2.54)
----------------------------------------------------------------------------
N 891 891 891 891
----------------------------------------------------------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001

Leave a comment: