Skip to main content

nbdtrin

Function nbdtrin 

Source
pub fn nbdtrin(k: f64, y: f64, p: f64) -> f64
Expand description

Inverse of nbdtr with respect to n

Corresponds to scipy.special.nbdtrin.

The CDF $\I_p(n, k + 1)$ is continuous in n, so that n is real. Unlike in SciPy, the limits inf and 0 are returned if y is 0 or 1, instead of NaN. As in SciPy, NaN is returned if p is 0 or 1.

ยงSee also