Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
4161 bpr 1
slib_lang_exists_tmp=yes
2
 
3
slib_title=Generation of binomial random data
4
 
4352 bpr 5
slib_out=Random data of <tt>m</tt> integers following a binomial law of parameters <tt>n</tt> and <tt>p</tt> \
6
(<tt>n</tt> is an integer and <tt>p</tt> a real between 0 and 1).
4455 bpr 7
slib_comment= P(X=k)=binomial(n,k)*p^k*(1-p)^(n-k) for k=0,...,n
4161 bpr 8