gumbel_cdf

Function gumbel_cdf 

Source
pub fn gumbel_cdf(x: f64, mu: f64, beta: f64) -> f64
Expand description

Computes cumulative distribution function (cdf) for X ~ Gumbel(mu, beta).

§Parameters

  • Location: -infinity < mu < infinity
  • Scale: beta > 0

§Support

  • -infinity < x < infinity

§Example

Suppose X ~ Gumbel(mu=5.5, beta=2.0). Use.

use ruststat::gumbel_cdf;
println!("P(X<=3.9): {}", gumbel_cdf(3.9, 5.5, 2.0));