Re: [Math] Uniqueness test expectation

2016-02-05 Thread Gilles
On Fri, 5 Feb 2016 09:43:28 -0700, Phil Steitz wrote: On 2/5/16 8:29 AM, Gilles wrote: Hi. What can I expect from drawing N "int" values from a (supposedly) uniformly random number generator? In fact, I'm wondering about a valid test condition that all the samples are different. Alternatively,

Re: [Math] Uniqueness test expectation

2016-02-05 Thread Phil Steitz
On 2/5/16 8:29 AM, Gilles wrote: > Hi. > > What can I expect from drawing N "int" values from a (supposedly) > uniformly random number generator? > In fact, I'm wondering about a valid test condition that all the > samples are different. > Alternatively, how many times one should have to draw a set

[Math] Uniqueness test expectation

2016-02-05 Thread Gilles
Hi. What can I expect from drawing N "int" values from a (supposedly) uniformly random number generator? In fact, I'm wondering about a valid test condition that all the samples are different. Alternatively, how many times one should have to draw a set of N samples so that at least one set contai