[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] Hypergeometric distribution

From: Brian Gough
Subject: Re: [Bug-gsl] Hypergeometric distribution
Date: Fri, 12 Mar 2004 15:02:30 +0000

Jussi Piitulainen writes:
 > The info page says p(k) = C(n_1,k) C(n_2, t-k) / C(n_1 + n_2,k). It
 > does not tell what the parameters are, but I believe the very last
 > symbol is wrong, and p(k) = C(n_1,k) C(n_2, t-k) / C(n_1 + n_2,t) is
 > meant. It also says the domain of k is max(0,t-n_2),...,max(t,n_1).
 > If "domain" means the possible values, I believe 0,...,min(t,n_1) is
 > better. (No definition is given for C(n_2, t-k) with t < k.)
 > Also, the documentation mentions an N3 where T must be meant.

Thanks for the bug report.
I will correct that in the next release.

Brian Gough

reply via email to

[Prev in Thread] Current Thread [Next in Thread]