Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Issues with xtabond2

From   Christopher Baum <>
To   "" <>
Subject   Re: st: Issues with xtabond2
Date   Mon, 28 Nov 2011 09:53:14 -0500

On Nov 28, 2011, at 2:33 AM, Alan wrote:

> I am trying to perform a regression using the GMM estimator with the
> xtabond2 function.  I have panel data with about 25,000 observations, 430
> groups (unbalanced), and 132 time periods.  My model is of the form:
> s(i,t) = s(i,t-1) + p(i,t) + x(i,t) + error (without coefficients)
> Where s is my dependent variable, p are my variables of interest, and x are
> my control variables.  My Stata command to implement xtabond is essentially
> as follows (after implementing xtset for i and t):
> xtabond2 s l.s p x, gmm(l.s) iv(p x) robust

Take some time out and read "How to do xtabond2" by Roodman, cited in the help file for xtabond2, as well as his "Too many instruments" paper. The DPD approach is appropriate for small T, large N panels. You have relatively large T, so the xtabond2 approach is trying to create hundreds of instruments. You need to use the lag( ) suboption to limit the number of instruments generated as gmm-style instruments.


Kit Baum   |   Boston College Economics & DIW Berlin   |
                             An Introduction to Stata Programming  |
  An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index