ZWcarp has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to do a multinomial test in Perl --> http://en.wikipedia.org/wiki/Multinomial_distribution.
First I was wondering if anyone knows a good stats package for this kind of thing
If not ( or in addition) if anyone knows of a good way to deal with factorials (which seem to be the main issue). Calculating 35,000! isn't really ideal. Any recommendations on trick's to deal with large factorials?
The formula is (n!/(Xsub1!.....Xsubk!)) *p1^(x1)....pk^(xk)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Multinomial Distribution Test in Perl
by Loops (Curate) on Aug 08, 2013 at 17:05 UTC | |
|
Re: Multinomial Distribution Test in Perl
by Laurent_R (Canon) on Aug 08, 2013 at 17:12 UTC | |
|
Re: Multinomial Distribution Test in Perl
by McA (Priest) on Aug 08, 2013 at 15:32 UTC | |
|
Re: Multinomial Distribution Test in Perl
by pachydermic (Beadle) on Aug 08, 2013 at 17:16 UTC | |
by CountZero (Bishop) on Aug 08, 2013 at 18:35 UTC |