Simulating pseudo random numbers

Pseudo random numbers are the basis for almost any statistical (Monte Carlo) simulation, and they are used in a huge variety of problems in statistics. Simulating them well is crucial for valid outputs on Monte Carlo simulations, and also resampling methods rely on the quality of pseudo random numbers.

We can distinguish between (at least) two kinds of pseudo random number generators:

  • Arithmetic random number generators: They are based purely on, as the name suggests, arithmetic. Irrational numbers like Simulating pseudo random numbers and e may be used as random number generators by making use of the fractional part of any multiples used. However, ...

Get Simulation for Data Science with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.