pub fn binomial_cdf(k: u64, n: u64, p: f64) -> f64
The binomial CDF P(X <= k) for n trials with success probability p.
P(X <= k)
n
p