Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
slib_lang_exists_tmp=yes
slib_title=Generation of Negative binomial random data
slib_out=Random data of <tt>m</tt> reals following a Negative Binomial law\
of parameters <tt>n</tt> and <tt>p</tt>.\
If <tt>m</tt> is a list <tt>[r,s]</tt>, it returns an\
<tt>r</tt> by <tt>s</tt> matrix.
slib_comment= n is an integer and p a probability.\
Simulation of the number of failures in a sequence of Bernouilli trials\
before the <tt>n</tt>th successes if in each trial the probability of success is <tt>p</tt>.