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: Stata closes while running a command using mi estimate


From   ymarchenko@stata.com (Yulia Marchenko, StataCorp LP)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Stata closes while running a command using mi estimate
Date   Mon, 30 Aug 2010 12:48:26 -0500

Martina <Martina.Engemann@lrz.uni-muenchen.de> experiences a Stata shut down
when using -mi estimate, cmdok- with the user-written command -xtabond2-:

> I am using an imputed dataset and I am using the mi estimate command with
> different estimation commands (reg, xtreg, xtabond2). reg and xtreg work
> fine but xtabond2 starts running and then suddenly Stata closes completely.
> I know that xtabond2 is not supported by mi estimate, therefore I chose the
> cmdok option. Does anybody know why Stata might shut down when I am using
> the xtabond2 command? And how I can solve this problem?

David Roodman, the author of -xtabond2-, contacted us some time ago describing
a similar problem.  The problem that David experienced was caused by
-xtabond2- posting Mata matrices of zero column length to Stata when
-xtabond2-'s option -ivstyle()- was used.  Stata does not support matrices of
zero length (except in Mata) and thus did not handle reading such a matrix
properly which caused a crash.  We made some internal changes to address this
issue.

If Martina is running into the same problem as reported by David, she can
resolve this by obtaining the latest update.  Martina should type

 . update all

in Stata and follow the instructions.  If the problem persists, I'd be happy
to look into Martina's problem further in private and will report back to the
list with my findings.


-- Yulia
ymarchenko@stata.com
*
*   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