Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Binomial distribution not working correctly

$
0
0
When I try the following:
var binomial = new Binomial(0.0638, 3779);

binomial.CumulativeDistribution(250);
It will return Infinity

But when I try it in excel with =BINOM.DIST(250, 3779; 0.0638, TRUE) I will get 0.736156366002849

I've tried to write my own implementation, but I get the same result.

Only library I've found where this will work is Extreme Optimization

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>