Skip to main content

nbdtrik

Function nbdtrik 

Source
pub fn nbdtrik(y: f64, n: f64, p: f64) -> f64
Expand description

Inverse of nbdtr with respect to k

Corresponds to scipy.special.nbdtrik.

The CDF $\I_p(n, k + 1)$ is continuous in k, so that k is real. If y lies below the CDF at $k = 0$, i.e. $p^n$, 0 is returned.

ยงSee also