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

st: Error handling in -simulate-

From   Rachel <>
To   statalist <>
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,
*   For searches and help try:

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