Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: discrepancy xtdpd vs xtabond2
From
"David Roodman ([email protected])" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
RE: st: discrepancy xtdpd vs xtabond2
Date
Sun, 19 Sep 2010 12:53:57 +0000
Building on the example I posted before, Stata's built-in -gmm- command agrees with -xtabond2- and DPD for Ox and disagrees with -xtdpd-. Try:
xtabond2 n w, gmm(w k, l(2 2)) nolevel
xtdpd n w, dgmmiv(w k, l(2 2)) nocons
gmm (D.n - {rho}*D.w) xtinstruments(w k, lags(2/2)) instruments(, nocons) deriv(1/rho = -1*D.w) winitial(xt D) onestep vce(unadjusted) variables(w)
--David
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/