| ![]() |
From | Richard Williams <Richard.A.Williams.5@ND.edu> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: -generate- and run time contingencies |
Date | Mon, 30 Jan 2006 11:36:34 -0500 |
At 11:15 AM 1/30/2006, n j cox wrote:
That works too. It seemed a little quicker but I didn't time it.// not tested, but simplified gen x = uniform() capture assert x >= 0.8 while _rc { replace x = cond(x < 0.8, uniform(), x) capture assert x >= 0.8 }
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |