Re: Random Sampling Without Replacement?
- To: mathgroup at smc.vnet.net
- Subject: [mg26590] Re: [mg26586] Random Sampling Without Replacement?
- From: Jean-Marie THOMAS <jmt at agat.net>
- Date: Thu, 11 Jan 2001 10:39:06 -0500 (EST)
- References: <200101090652.BAA00242@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
<< DiscreteMath`Permutations`
Take[RandomPermutation[25], 3]
{3, 5, 19}
On Tuesday 09 January 2001 07:52, A. E. Siegman wrote:
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 -- ???
- References:
- Random Sampling Without Replacement?
- From: "A. E. Siegman" <siegman@stanford.edu>
- Random Sampling Without Replacement?