Marsaglia's theorem

from Wikipedia, the free encyclopedia

The set of Marsaglia (by George Marsaglia , 1968 ) states for a linear congruential (qv) gained pseudorandom numbers following:

Is formed from the result of the tuple , ..., ..., so by this are certain tuple points in a maximum of parallel hyperplanes .

The following components are used here:

  • Module ,
  • Increment ,
  • Factor ,
  • Start value (seed) .

The set is therefore suitable for testing linear congruence generators, since with a higher number of parallel hyperplanes, a higher quality of the pseudo-random numbers can be assumed.

The inverse congruence generator does not know such hyperplane behavior and is therefore an alternative to the linear congruence generator.

Marsaglia's theorem is used in the spectral test for testing random numbers.