This function evaluates the inverse of the uniform cumulative distribution function.
UNIN — Function value, the value of the inverse of the cumulative distribution function. (Output)
P — Probability for which the inverse of the uniform cumulative distribution function is to be evaluated. (Input)
A — Location parameter of the uniform cumulative distribution function. (Input)
B — Value used to compute the scale parameter (B – A) of the uniform cumulative distribution function. (Input)
Specific: The specific interface names are S_UNIN and D_UNIN.
Double: The double precision name is DUNIN.
The function UNIN evaluates the inverse distribution function of a uniform random variable with location parameter A and scale parameter (B – A).
In this example, we evaluate the inverse probability function at P = 0.80, A = 0.25, B = 0.75.
USE
UMACH_INT
USE
UNIN_INT
IMPLICIT NONE
WRITE (NOUT, 99999) P, A, B, X
99999 FORMAT (' UNIN(', F4.2, ', ', F4.2, ', ', F4.2, ') = ', F6.4)
UNIN(0.80, 0.25, 0.75) = 0.6500
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |