Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: bypass error -r(450)-


From   David Kantor <[email protected]>
To   [email protected]
Subject   Re: st: RE: bypass error -r(450)-
Date   Wed, 21 Apr 2004 11:13:46 -0400

At 03:44 PM 4/21/2004 +0100, Nick wrote:
-capture-

Nick
[email protected]

 [email protected]

> I'm running a quite lengthy macro that includes also the
> -ksmirnov- test.
> However, Stata halts when -ksmirnov- comes across to a sample
> with insufficient
> number of observations.
> Is there a command that can bypass errors such as -r(450)-
> and continue running up until the end?
>
> Something like -set more off/on-, os something else?
I would add one little addendum. You would probably want to do...
capture noisily whatever_command_you_want

This way, you see all the output that you would normally see from just the command. But -capture- without -noisily- will completely suppress the output.

David Kantor
Institute for Policy Studies
Johns Hopkins University
[email protected]
410-516-5404

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index