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: Problem with xtabond2

From   Christopher Baum <>
To   "" <>
Subject   re: st: Problem with xtabond2
Date   Sun, 4 Dec 2011 09:01:51 -0500

I am trying to run "xtabond2" but the program returns an error message:

Favoring speed over space. To switch, type or click on mata: mata set matafavor space, perm.
unknown egen function max()
                 stata():  3598  Stata returned error
         xtabond2_mata():     -  function returned error
                 <istmt>:     -  function returned error

This is not an xtabond2 (Roodman, SSC) problem. If your copy of Stata does not have an egen max() function, it has been corrupted.  You should be able to do

. which _gmax
*! version 3.1.2  20oct2004

If it says there is no _gmax.ado, then you have a problem with official Stata, not with user-written routines.


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