Skip to main content

poisson_binom_cdf_all

Function poisson_binom_cdf_all 

Source
pub fn poisson_binom_cdf_all(p: &[f64]) -> Vec<f64>
Expand description

Full CDF of a Poisson-Binomial distribution

Used internally by scipy.stats.poisson_binom.

p contains the success probabilities for the $n$ Bernoulli trials. The result at index k contains the probability of observing at most $k$ successes for $k$ from $0$ to $n$.

ยงSee also