Statistically, random numbers exhibit no predictable pattern or regularity. Sequences of statistically random numbers are used to simulate complex mathematical and physical systems.
Random number generators can be used to approximate a random integer from a uniform distribution. When generated by a machine, these numbers are pseudorandom, which means they are deterministic and can be replicated in the same sequence. This allows for the ability to recreate an experiment or simulation with repeatable results, typically by specifying the algorithm as well as starting seeds.
Many types of Monte Carlo simulations require sequences that approximate other parametric or nonparametric distributions. Some common probability distributions include:
When common random generation methods are inadequate, such as in Bayesian data analysis, then a Markov Chain Monte Carlo (MCMC) simulation using Metropolis Hastings and slice sampling algorithms are the preferred choice for generating posterior distributions.
Quasi-random numbers can be generated from solbol or halton sequences that produce uniform space filling numbers. These are useful for Monte Carlo simulations and experimental designs where space filling properties are more desirable than statistical randomness.
For more information, please see Statistics and Machine Learning Toolbox™.