Subversion Repositories wimsdev

Rev

Rev 4161 | Rev 4455 | 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 multinomial random data
4
 
4352 bpr 5
slib_out=Random data of <tt>m</tt> integers following a multinomial law of parameters \
6
<tt>n</tt> and p=[p_1,...,p_j] (n is an integer and p_i are positive reals of sum <= 1; \
7
if the sum of the p_i is less than 1, 1-sum(p_i) is add to the list.
4161 bpr 8
 
9
slib_comment= P(X1=k1,X2=k2,..)=n