Re: Random Sampling Without Replacement?

*To*: mathgroup at smc.vnet.net*Subject*: [mg26608] Re: [mg26586] Random Sampling Without Replacement?*From*: "Richard Finley" <rfinley at medicine.umsmed.edu>*Date*: Thu, 11 Jan 2001 10:39:17 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Try the following: <<DiscreteMathematics`Combinatorica` Take[RandomPermutation[n],3] where n is the size of the list you are selecting from. regards, RF >>> "A. E. Siegman" <siegman at stanford.edu> 01/09/01 12:52AM >>> Looking for neat compact way to extract three distinct (i.e., nonequal) randomly selected integers k1, k2, k3 from the range 1 to N (N > 3) -- in other words, random sampling without replacement -- ???

**Follow-Ups**:**Re: Re: Random Sampling Without Replacement?***From:*Tomas Garza <tgarza01@prodigy.net.mx>