Trait probability::distribution::Inverse [−][src]
A distribution capable of inverting the distribution function.
Required methods
fn inverse(&self, _: f64) -> Self::Value
[src]
Compute the inverse of the cumulative distribution function.
Implementors
impl Inverse for Bernoulli
[src]
impl Inverse for Beta
[src]
impl Inverse for Binomial
[src]
fn inverse(&self, p: f64) -> usize
[src]
Compute the inverse of the cumulative distribution function.
For small n
, a simple summation is utilized. For large n
and large
variances, a normal asymptotic approximation is used. Otherwise, the
Newton method is employed.
References
- S. Moorhead, “Efficient evaluation of the inverse binomial cumulative distribution function where the number of trials is large,” Oxford University, 2013.
impl Inverse for Categorical
[src]
impl Inverse for Exponential
[src]
impl Inverse for Gaussian
[src]
fn inverse(&self, p: f64) -> f64
[src]
Compute the inverse of the cumulative distribution function.
References
-
M. J. Wichura, “Algorithm as 241: The percentage points of the normal distribution,” Journal of the Royal Statistical Society. Series C (Applied Statistics), vol. 37, no. 3, pp. pp. 477–484, 1988.
-
http://people.sc.fsu.edu/~jburkardt/c_src/asa241/asa241.html