Sequential random sampling

  • Authors:
  • J. H. Ahrens;U. Dieter

  • Affiliations:
  • Mathematisches Seminar, Universität Kiel, Olshausenstrasse 40-60, D 2300 Kiel, Federal Republic of Germany;Institut für Statistik, Universität Graz, Lessingstrasse 27, A 8010 Graz, Austria

  • Venue:
  • ACM Transactions on Mathematical Software (TOMS)
  • Year:
  • 1985

Quantified Score

Hi-index 0.00

Visualization

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.