Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

re: st: Problem with xtabond2


From   Christopher Baum <kit.baum@bc.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
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
/Applications/Stata/ado/base/_/_gmax.ado
*! 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

Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
                             An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
  An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html


*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index