Skip to main content

pdtrik

Function pdtrik 

Source
pub fn pdtrik(p: f64, m: f64) -> f64
Expand description

Inverse of pdtr with respect to k

Corresponds to scipy.special.pdtrik.

The CDF $Q(k + 1, m)$ is continuous in k, so that k is real. If p lies below the CDF at $k = 0$, i.e. $e^{-m}$, 0 is returned. As in SciPy, NaN is returned if $p = 1$.

ยงSee also

  • pdtr: Poisson distribution function
  • pdtri: Inverse of pdtr with respect to m