Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[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 <[email protected]>
To   [email protected]
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 <[email protected]> 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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index