Subversion Repositories wimsdev

Rev

Rev 4352 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

slib_lang_exists_tmp=yes

slib_title=Generation of binomial random data

slib_out=Random data of <tt>m</tt> integers following a binomial law of parameters <tt>n</tt> and <tt>p</tt> \
(<tt>n</tt> is an integer and <tt>p</tt> a real between 0 and 1).
slib_comment= P(X=k)=binomial(n,k)*p^k*(1-p)^(n-k) for k=0,...,n