Statalist


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

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


From   n j cox <[email protected]>
To   [email protected]
Subject   Re: Re: Random number routines [was: st: Simple Question - Use ofrndbin]
Date   Mon, 24 Sep 2007 19:40:52 +0100

Quite so.

-genbinomial- is by Roberto Gutierrez.

And it is much more general than anything else mentioned
in this thread. But all the examples that Tiago has mentioned
don't need any of that machinery, so as I can infer from
his posts.

Nick
[email protected]

Yulia Marchenko

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.


*
* 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