[−][src]Function r_stats::hypergeometric_quantile
pub fn hypergeometric_quantile(
p: f64,
succ: f64,
fail: f64,
samples: f64,
lower_tail: bool,
log_p: bool
) -> f64
Evaluate the quantile function of the hypergeometric distribution. If samples
samples were taken at random from a collection of succ
successes and fail
failures, then
this function evaluates the number of samples where there is p
probability there are <= that
many successes.
If lower_tail
is true, then p
is the integral from -∞
to x
, else it is the integral
from x
to ∞
. "Usual" behaviour corresponds to true
.
If log_p
is true, the natural logarithm of the value will be returned, with potentially
higher numerical accuracy than calling .ln()
.