Random Number Generation

Crystal Ball uses the random number generator described in the following iteration formula as the basis for all nonuniform generators. For no starting seed value, Crystal Ball takes the value of the number of milliseconds elapsed since Windows started.

Method: Multiplicative Congruential Generator

This routine uses the iteration formula:

Iteration formula

Comment:

The generator has a period of length of 231 - 2, or 2,147,483,646. This means that the cycle of random numbers repeats after several billion trials. This formula is discussed in detail in the Simulation Modeling & Analysis and Art of Computer Programming, Vol. II, references in the Crystal Ball User's Guide bibliography.