Random Sampling: Practice Makes Imperfect
Philip B. Stark, Kellie Ottoboni

TL;DR
This paper highlights the inaccuracies in common pseudo-random number generators and sampling algorithms used in statistical software, advocating for cryptographically secure PRNGs and improved methods for better statistical validity.
Contribution
It identifies the limitations of current PRNGs and sampling algorithms, and recommends adopting cryptographically secure PRNGs and more accurate methods for statistical sampling.
Findings
Common PRNGs have limited state spaces causing inaccuracies.
Many sampling algorithms wrongly assume IID uniform outputs.
Cryptographically secure PRNGs improve statistical accuracy.
Abstract
The pseudo-random number generators (PRNGs), sampling algorithms, and algorithms for generating random integers in some common statistical packages and programming languages are unnecessarily inaccurate, by an amount that may matter for statistical inference. Most use PRNGs with state spaces that are too small for contemporary sampling problems and methods such as the bootstrap and permutation tests. The random sampling algorithms in many packages rely on the false assumption that PRNGs produce IID outputs. The discreteness of PRNG outputs and the limited state space of common PRNGs cause those algorithms to perform poorly in practice. Statistics packages and scientific programming languages should use cryptographically secure PRNGs by default (not for their security properties, but for their statistical ones), and offer weaker PRNGs only as an option. Software should not use…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsChaos-based Image/Signal Encryption · Algorithms and Data Compression · Advanced Steganography and Watermarking Techniques
