Statalist


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

Re: Random number routines [was: st: Simple Question - Use of rndbin]


From   ymarchenko@stata.com (Yulia Marchenko, StataCorp LP)
To   statalist@hsphsun2.harvard.edu
Subject   Re: Random number routines [was: st: Simple Question - Use of rndbin]
Date   Mon, 24 Sep 2007 13:18:52 -0500

One more alternative to -rndbin- in addition to those mentioned by Nick in his
response as of 21sep2007

> http://www.stata.com/statalist/archive/2007-09/msg00689.html

is the -genbinomial- command (an extension of -rndbinx-).  It uses a plugin
for the binomial generation algorithm and therefore should be faster than
-rndbin- and -rndbinx-.  See

 . findit genbinomial

for more information.

-- Yulia
ymarchenko@stata.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index