On Wed, Oct 26, 2011 at 10:50 PM, Alexandre Passos
<[email protected]> wrote:
> On Wed, Oct 26, 2011 at 22:48, Robert Layton <[email protected]> wrote:
>> You have it correct. I haven't done this level of algebra for a while, so
>> I'll need to work it out.
>> If I have it correctly, I should be able to do:
>> log(a!) + log(b!) + log((N-a)!) + log((N-b)!) - log(N!) - log(n!) -
>> log((a-n)!) - log((b-n)!) - log((N-a-b+n)!),
>> then apply Stirling and simplify?
>
> Exactly.

gammaln works pretty well in scipy.stats.distributions. I would try
that first, since it's easy, unless you expect only large numbers.

Josef

>
> --
>  - Alexandre
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> Scikit-learn-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to