By using SIAM Journals Online you agree to abide by the
Terms and Conditions of Use.

©  SIAM

 

SIAM Journal on Scientific Computing

Previous Article
How to Polish off Median Polish
Tukey's median polish is an algorithm for smoothing data in two-way tables. Each iteration lowers the $L_1 $ norm of the residual. For commensurable data the algorithm converges in a finite number of ...
Next Article
Sampling from Gauss Rules
Approximating multidimensional integrals via product quadrature rules becomes increasingly intractable as the dimension increases. Hammersley [Ann. New York Acad. Sci., 86 (1960), pp. 844–874] su...

You are not logged in to this journal. Log in

Bit-Wise Behavior of Random Number Generators

SIAM J. Sci. and Stat. Comput. Volume 9, Issue 5, pp. 941-949 (September 1988)

Issue Date: September 1988
Buy This PDF   (US$25)
Download PDF (935 kB) View Cart
In 1985, G. Marsaglia proposed the $m$-tuple test, a runs test on bits, as a test of nonrandomness of a sequence of pseudorandom integers. We try this test on the outputs from a large set of pseudorandom number generators and discuss the behavior of the generators. The lower-order bits of a linear congruential generator taken modulo $2^p $ always have small period, and hence fail the test. However, we also show by example that sequences of bits with long period can display substantial nonrandom behavior. Linear congruential generators with prime modulus can fail the test in their low-order bits. Shift-register (Tausworthe) generators can fail in their central bits. The combination generators proposed by Marsaglia also fail the test.Fibonacci generators perform well on the test, if properly initialized. These generators require a vector of seeds which can be conveniently set using the output of a simple (that is, congruential or shift-register) generator. Shift-register generators are good initializers for almost every combination of lags and operators reported here. Fibonacci generators initialized by linear congruential generators pass if the initializer passes and fail if it fails. ©1988 Society for Industrial and Applied Mathematics
History: Received 1987-02-09; accepted 1988-01-04
Permalink: http://dx.doi.org/10.1137/0909065

PUBLICATION DATA

ISSN:
1064-8275 (print)   1095-7197 (online)
Publisher:
AIP is a member of CrossRef SIAM

REFERENCES (4)

For access to fully linked references, you need to log in. For access to fully linked references, you need to Log in.

CITING ARTICLES

For access to citing articles, you need to log in.
For access to citing articles, you need to Log in.