An efficient algorithm for sequential random sampling
Author:
Open Access
- 1 March 1987
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 13 (1) , 58-67
Abstract
We examine several methods for drawing a sequential random sample of n records from a file containing N records. Method D is recommended for general use. The algorithm is on-line (so that CPU time can be overlapped with I/O), has a small constant memory requirement, and is easy to program. An improved implementation is detailed in the Appendix.Keywords
This publication has 6 references indexed in Scilit:
- Sequential random samplingACM Transactions on Mathematical Software, 1985
- Faster methods for random samplingCommunications of the ACM, 1984
- An Algorithm for Unbiased Random SamplingThe Computer Journal, 1982
- Computer methods for sampling from the exponential and normal distributionsCommunications of the ACM, 1972
- A note on sampling a tape-fileCommunications of the ACM, 1962
- Development of Sampling Plans by Using Sequential (Item by Item) Selection Techniques and Digital ComputersJournal of the American Statistical Association, 1962