[−][src]Function r_stats::normal_cdf_both
pub fn normal_cdf_both(x: f64, mu: f64, sigma: f64, log_p: bool) -> (f64, f64)
Evaluate the culmulative density function of the normal distribution with mean mu
and
variance sigma
at x
. Both integrals ((-∞, x)
and (x, ∞)
) are returned in that order.
If log_p
is true, the natural logarithm of the value will be returned, with potentially
higher numerical accuracy than calling .ln()
on the result.