The microcomputer performance of random number generators is an important component of uncertainty analysis in environmental modeling. The results of a performance study of 110 uniform variate pseudo-random number generators expressed in FORTRAN are presented. The algorithms tested include multiplicative, mixed, additive and quadratic congruential generators plus example combined and generalized feedback shift register generators. Results are presented for generator speed, period, and 17 statistical measures of number randomness quality. These results indicate that, based on both speed and number quality, the multiplicative linear congruential generator can yield superior performance. Specific moduli and multipliers are recommended for this generator. For relatively low period generators, explicit use of the integer modulus function provides superior performance. When high period generators are implemented, they should be based on the Schrage (1979) or Bongiovanni (1987) computational procedure for accomplishing the modulus operation with arithmetic that avoids explicit use of the modulus function.
Read full abstract