Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: capture number of -xtmixed- iterations?


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: capture number of -xtmixed- iterations?
Date   Wed, 26 Dec 2007 09:14:52 -0500

Some programs, such as -nl-, leave behind e(ic) for this; however, I don't see this for -xtmixed-; I suggest you contact tech support and check this and ask that it be included.

Rich

Jeph Herrin wrote:

I suppose this applies to any use of maximum
likelihood.

I'm running a simulation using -simulate- to
call a wrapper program for -xtmixed-.

Sometimes -xtmixed- doesn't converge, so I call
-xtmixed- with the option -iterate(1000)-, which
forces it to stop after 1000 iterations.

What I would like to do is keep track of how often
-xtmixed- is not converging before 1000 iterations.
However, there seems to be no way that I can find
to capture the number of iterations, other than
parse the output of -xtmixed- itself. Is there
anywhere that the number of iterations is stored
for use post-estimation?

thanks,
Jeph
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index