An efficient algorithm for random sampling without replacement

From MaRDI portal





In many statistical experiments, or in data processing, or in many computer simulation studies, the problem occurs of drawing a random sample without replacement of size \(M\) from a population of size \(N\). If any subset of size \(M\) from the population with the size \(N\) has an equal probability of being in the sample, then the technique of drawing the sample is quite simple, but there are many other cases when the equal probability of being in the sample is not true. Well, there are techniques where items of the population are selected with probabilities proportional to some known characteristic of the items. \textit{S. E. Goodman} and \textit{S. T. Hedetniemi} [Introduction to the design and analysis of algorithms, McGraw Hill (1977)], have presented an algorithm, named SELECT, for this problem. This algorithm was improved by \textit{J. Ernvall} and \textit{O. Nevalainen} [An algorithm for unbiased random sampling, Comput. J. 25, No. 1, 45--47 (1982; \url{doi:10.1093/comjnl/25.1.45})] and by \textit{J. Teuhola} and \textit{O. Nevalainen} in [Int. J. Comput. Math. 11, 127--140 (1982; Zbl 0479.68071)]. These improved algorithms are named HSELECT and HSEL. In this paper the authors present an algorithm for the same problem. Criteria for a good algorithm, after the correctness of this one, is the time for calculation and the requirements of storage. Comparing the algorithm proposed by the authors of this paper and the other algorithms as SELECT or HSELECT, or as HSEL we can see that the algorithm proposed by the authors is more efficient both in time complexity and in space complexity.











This page was built for publication: An efficient algorithm for random sampling without replacement

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3217576)