> From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] > > Ripley (1987) Stochastic Simulation, pp.80-1 for one. I am > pretty sure it is Knuth's book, although I don't have that to > hand. I attribute it to > Moses & Oakford (1963).
Thanks to Brian, Peter and Duncan for the info. And I have both Ripley (1987) and Knuth (1981), just not smart enough to look there... The shuffling algorithm is described on pp. 139-140 in Knuth's book (vol. 2, 2nd ed.), and in addition to Moses & Oakford, he also referenced R. Durstenfeld, CACM 7 (1964), 420. Best, Andy > -- > Brian D. Ripley, [EMAIL PROTECTED] > Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 > > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help