Algorithms for Generating Small Random Samples
Vincent A. Cicirello

TL;DR
This paper introduces efficient algorithms for generating small random samples without replacement, specifically for pairs and triples, with constant worst-case runtime, and provides open source Java implementations.
Contribution
It presents novel algorithms for small sample sizes with constant worst-case runtime, improving efficiency over general sampling methods.
Findings
Constant worst-case runtime for pair and triple sampling algorithms
Open source Java implementations included
Improved efficiency for small sample generation
Abstract
We present algorithms for generating small random samples without replacement. We consider two cases. We present an algorithm for sampling a pair of distinct integers, and an algorithm for sampling a triple of distinct integers. The worst-case runtime of both algorithms is constant, while the worst-case runtimes of common algorithms for the general case of sampling elements from a set of increase with . Java implementations of both algorithms are included in the open source library .
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.
