Re: Random number generator

2009-04-09 Thread ANJAN PURKAYASTHA
Thank you guys. Anjan On Thu, Apr 9, 2009 at 6:59 PM, Chas. Owens wrote: > On Thu, Apr 9, 2009 at 17:34, ANJAN PURKAYASTHA > wrote: > > I need a Bernoulli random number generator which takes as inputs: a value > > for p(1) (probability of choosing a "1") and the number of trials and > > outputs

Re: Random number generator

2009-04-09 Thread Chas. Owens
On Thu, Apr 9, 2009 at 17:34, ANJAN PURKAYASTHA wrote: > I need a Bernoulli random number generator which takes as inputs: a value > for p(1) (probability of choosing a "1") and the number of trials and > outputs a series of 0s and 1s according to the model B(p(1)). > Any thoughts on which module

Re: Random number generator

2009-04-09 Thread Jim Gibson
On 4/9/09 Thu Apr 9, 2009 2:34 PM, "ANJAN PURKAYASTHA" scribbled: > I need a Bernoulli random number generator which takes as inputs: a value > for p(1) (probability of choosing a "1") and the number of trials and > outputs a series of 0s and 1s according to the model B(p(1)). > Any thoughts on