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]

st: xtabond2 with large datasets


From   Asdsa Sdjfkn <asquriot@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: xtabond2 with large datasets
Date   Wed, 4 Aug 2010 14:42:33 -0700 (PDT)

I'm trying to run xtabond2 models on a fairly large dataset - 8 million 
observations and ~350mb. The command I issue is of the form:

 xtabond2 yvar L.xvar, twostep robust noleveleq iv(L2.xvar)

which runs fine with person fixed effects, but when I use person-month fixed 
effects, I get the out of memory error:

          J():  3900  unable to allocate real <tmp>[1288703978,8]
         xtabond2_mata():     -  function returned error
                 <istmt>:     -  function returned error

The machine I'm running the command on has about 16gb memory. What can one do in 
this situation? I'm only using one instrumental variable and it's not in "GMM" 
form. Would ivregress, gmm fare better?

Thanks for any help.


      

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