Evaluates the inverse of the exponential cumulative probability distribution function.
double
scalar value representing the probability at which the function is to be evaluated. double
scalar value representing the scale parameter, b. A double
scalar value. The probability that an exponential random variable takes a value less than or equal to this returned value is p
.
Method InverseExponential
evaluates the inverse distribution function of a gamma random variable with scale parameter =b and shape parameter a=1.0, that is, it determines , such that
where is the gamma function. The probability that the random variable takes a value less than or equal to x is P. See the documentation for routine Gamma
for further discussion of the gamma distribution.
InverseExponential
uses bisection and modified regula falsi to invert the distribution function, which is evaluated using method Gamma
.
Cdf Class | Imsl.Stat Namespace | Example