Skip to content
Prev 33215 / 398506 Next

Tested Random Number Generator

On Wed, 11 Jun 2003, Wolfgang Viechtbauer wrote:

            
Try reading the appropriate help pages (or the code), which give
references.  Also, don't imagine: check out your suppositions in the RNG
literature.  (rnorm uses inversion by default, and it is not slow. Someone
here claimed that another method was `6 to 7 times faster', but on all bar
one of the machines I tried it was less than 1.5x faster and often slower.
I never received a reply giving evidence for the claim, so presume it was
false.)
There are many much-tested PRNGs that have been found to be seriously 
deficient!  Just point your editor at the reference and that R is 
developed by people with international standing in that area, then ask 
his/her credentials for assessing RNGs.

But first make sure you have followed standard advice and run your
simulations with at least two fundamentally different PRNGs.