Statalist


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

st: Error handling in -simulate-


From   Rachel <[email protected]>
To   statalist <[email protected]>
Subject   st: Error handling in -simulate-
Date   Wed, 11 Jun 2008 11:47:20 -0400

Consider a -simulate- command that stipulates R repetitions. Suppose
that the nth repetition of -simulate- produces an error.  Is there any
way to make Stata simply run that repetition again?  If that's not
possible, is there a way to make Stata continue on to the next
repetition so that the the resulting dataset produces R-1 observations
(instead of the intended R)?

Thanks very much,
Rachel
*
*   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