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: how to skip error messages and get estimation finished


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to skip error messages and get estimation finished
Date   Mon, 5 Sep 2011 12:55:04 +0100

Yes and no. It depends what you mean by "continue estimation".

Yes, in that -capture- eats error messages and allows you to continue
to the next command.

No, in that "insufficient observations" cannot be stepped around.

Nick

On Mon, Sep 5, 2011 at 12:42 PM, Nobuya Fukugawa <nfukugawa@gmail.com> wrote:

> sometimes i get an error message shown below that stops estimation.
> is there any command to skip this kind of error message and continue
> estimation?
> thank you in advance.
> example
> . tobit y f2 q2  if student==1,ll(0)
> insufficient observations
> r(2001);
>
> end of do-file
>
> r(2001);

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