Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Getting Binomial Distribution under Math::Pari (log) and Combinatorial Method

by tall_man (Parson)
on Mar 23, 2005 at 16:22 UTC ( [id://441814]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub binomial_pari {
       my ($k, $n, $p) = @_;
    ...
       my $Prob = $first * $second * $third;
       return $Prob;
    }
    
  2. or download this
    Sub Binom Comb       = 0.3125
    Sub Binom Log        = 0.3125000000000001128
    Sub Binom Pari       = 0.3125000000000000000
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://441814]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-03-19 03:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found