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 I need to use?
 TIA,
Anjan
-- 
=============================
anjan purkayastha, phd
bioinformatics analyst
whitehead institute for biomedical research
nine cambridge center
cambridge, ma 02142

purkayas [at] wi [dot] mit [dot] edu
703.740.6939

Reply via email to