Paper record
W1979396756Sequential random sampling
J. H. Ahrens, U. Dieter
- Year
- 1985
- Venue
- ACM Transactions on Mathematical Software
- References
- 5
- Cited by
- 35
Details and counts from OpenAlex.
Abstract
Fast algorithms for selecting a random set of exactly k records from a file of n records are constructed. Selection is sequential: the sample records are chosen in the same order in which they occur in the file. All procedures run in O(k) time. The “geometric” method has two versions: with or without O(k) auxiliary space. A further procedure uses hashing techniques and requires O(k) space.