Abstract
I outlined the general process of simulation design in Chap. 8. One topic I did not address applies to stochastic simulations. This is the generation of random occurrences based on random numbers. Random numbers are what make simulations stochastic. In fact, “stochastic” means random. But what is a random number and how are they generated? These are the questions for this chapter.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
See https://en.wikipedia.org/wiki/Form_follows_function. Last accessed January 14, 2023.
- 2.
See the Popular Science article by Caroline Delbert (August 18, 2021) at https://www.popularmechanics.com/science/math/a37329769/supercomputer-calculated-pi-to-record-breaking-628-trillion-digits/. Last accessed February 16, 2022.
- 3.
See https://en.wikipedia.org/wiki/Fibonacci_number. Last accessed February 21, 2022.
- 4.
See the Wikipedia article at https://en.wikipedia.org/wiki/Fibonacci_number for some comments about the staring values. Last accessed February 21, 2022.
- 5.
As of February 16, 2022.
- 6.
See https://stackoverflow.com/questions/49195632/why-do-the-numpy-and-random-modules-give-different-random-numbers-for-the-same-s. Last accessed February 16, 2022.
- 7.
The documentation for the Numpy random package notes that the “high limit may be included in the returned array of floats due to floating-point rounding.” See https://numpy.org/doc/stable/reference/random/generated/numpy.random.uniform.html, last accessed March 14, 2022.
- 8.
Source for this example: https://stats.stackexchange.com/questions/374931/how-to-find-the-inverse-transform-of-the-gumbel-distribution. Last accessed February 16, 2022.
- 9.
The \(\leq \) is not needed in (9.10) because the probability at a specific value of X is zero. This is easy to see using (9.10) with both limits of the integral set to the same value, x.
- 10.
See https://medium.com/geekculture/the-story-behind-random-seed-42-in-machine-learning-b838c4ac290a, last accessed February 17, 2023, for an interesting perspective on 42.
- 11.
A military clock is the same, but by 24 h.
- 12.
Recall that 12 divides into 1 0 times with a remainder of 1.
- 13.
As of October 2020. See https://en.wikipedia.org/wiki/Mersenne_prime. Last accessed February 21, 2022.
References
Anderson, P. G. (1991). A Fibonacci-based pseudo-random number generator. In Applications of Fibonacci numbers (vol. 4, pp. 1–8). Kluwer Academic Publishers.
Bennett, D. J. (1998). Randomness. Harvard University Press.
Dershowitz, N., & Reingold, E. M. (2008). Calendrical calculations (3rd ed.). Cambridge University Press.
du Sautoy, M. (2003). The music of the primes: searching to solve the greatest mystery in mathematics. HarperCollins Publishers, Inc.
Eagle, A. (2021). Chance versus randomness. Stanford Encyclopedia of Philosophy (vol. 1).
Gandrud, C. (2014). Reproducible research with R and RStudio. CRC Press.
Johnson, D. (2022, February). These magnetic whirlpools could unlock true random numbers: meet the “skyrmion” - a breakthrough tech for cryptography and secure communications? IEEE Sprectrum. https://spectrum.ieee.org/true-random-number-generator-skyrmion.
Kneusel, R. T. (2018). Random numbers and computers. Springer.
Knuth, D. E. (1997). The art of computer programming (3rd ed.). Volume 1: Fundamental Algorithms. Addison-Wesley.
Marsaglia, G. (2010). On the randomness of pi and other decimal expansions. Techreport, Department of Statistics, Florida State University.
Paczkowski, W. R. (2022b). Business analytics: data science for business problems. Springer.
Rockmore, D. N. (2005). Stalking the Riemann hypothesis: the quest to find the hidden law of prime numbers. Pantheon Books.
Rogers, I., Harrell, G., & Wang, J. (2015). Using pi digits to generate random numbers: a visual and statistical analysis. In H. R. Arabnia, L. Deligiannidis, G. Jandieri, F. G. Tinetti, G. A. Gravvanis, M. R. Grimaila, D. D. Hodson, & A. M. G. Solo (Eds.), Scientific computing (pp. 251–257).
von Neumann, J. (1951). Various techniques used in connection with random digits. In Monte Carlo method, Volume 12 of Applied mathematics series (pp. 36–38). Journal of Research at the National Bureau of Standards. Reprinted in von Neumann’s Collected Works, 5 (pp. 768–770). Pergamon Press (1963).
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Paczkowski, W.R. (2023). Random Numbers: The Backbone of Stochastic Simulations. In: Predictive and Simulation Analytics. Springer, Cham. https://doi.org/10.1007/978-3-031-31887-0_9
Download citation
DOI: https://doi.org/10.1007/978-3-031-31887-0_9
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-31886-3
Online ISBN: 978-3-031-31887-0
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)