Random seed

Topic of Simulation, part of Probability

Random seed

Type Topic
Taught in Simulation
Part Probability

The starting value X_0 of a pseudorandom number generator. The same seed reproduces the same sequence of draws, which is why a simulation records it, with set.seed in R.

In Simulation

From Simulation

starting from a seed X_0, with positive integer multiplier a, increment c and modulus m. The pseudorandom numbers are U_i=X_i/m. With c=0 it is a multiplicative congruential generator.

Used in

See also

Linear congruential generator · Inverse-transform method · Acceptance–rejection method · Random numbers · Draws from the usual families · Box–Muller method · Cauchy distribution

Glossary and index