> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Shareef Siddeek
> Sent: Monday, September 30, 2002 10:42 AM
> To: Dennis Roberts
> Cc: [EMAIL PROTECTED]
> Subject: Re: randomly selecting a discrete, equally probable value from a
> U dist
-------------------------------------------------------------------------
Just some very incidental comments here.
Dennis's reply is a valid approach.
If however the integers represent records, in which the apparent number is
like the number on a football jersey, then the problem is somewhat
different. The problem here becomes selection of an unbiased choice of n
records at random from a file containing N records. Here n=1 and N= 9
(1,2,3,4,5,6,7,8,9). Knuth (The Art of Computer Programming, Vol 2) on page
142-143 discusses this problem and gives an algorithm for its solution.
David Heiser
.
.
=================================================================
Instructions for joining and leaving this list, remarks about the
problem of INAPPROPRIATE MESSAGES, and archives are available at:
. http://jse.stat.ncsu.edu/ .
=================================================================