Rev 3265 | Rev 4330 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3265 | Rev 4161 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | !goto proc |
2 | !goto proc |
3 | !endif |
3 | !endif |
4 | slib_title=cumulative distribution function of hypergeometric law |
- | |
- | 4 | ||
5 | slib_parms=4\ |
5 | slib_parms=4\ |
6 | ,[data]\ |
6 | ,[data]\ |
7 | ,N\ |
7 | ,N\ |
8 | ,K\ |
8 | ,K\ |
9 | ,n |
9 | ,n |
10 | 10 | ||
11 | slib_author=Bernadette PERRIN-RIOU |
11 | slib_author=Bernadette PERRIN-RIOU |
12 | slib_out=Values on data |
- | |
13 | slib_comment=data can be a list of reals |
- | |
14 | P(X=i)=binomial(K,i)*binomial(N-K,n-i)/binomial(N,n) |
- | |
- | 12 | ||
15 | slib_example=[2,4,7],10,5,7 |
13 | slib_example=[2,4,7],10,5,7 |
16 | slib_require=pari |
14 | slib_require=pari |
17 | !exit |
15 | !exit |
18 | 16 | ||
19 | :proc |
17 | :proc |