This function evaluates the Weibull cumulative distribution function.
WBLDF — Function value, the probability that a Weibull random variable takes a value less than or equal to X. (Output)
X — Argument for which the Weibull cumulative distribution function is to be evaluated. (Input)
Specific: The specific interface names are S_WBLDF and D_WBLDF.
Double: The double precision name is DWBLDF.
The function WBLDF evaluates the Weibull cumulative distribution function with scale parameter A and shape parameter B, defined
To deal with potential loss of precision for small values of
, the difference
expression for p is re-written as
and the right factor is accurately evaluated using EXPRL.
In this example, we evaluate the Weibull cumulative
distribution function at X =
1.5, A =
1.0,
B =
2.0.
USE
UMACH_INT
USE
WBLDF_INT
IMPLICIT NONE
WRITE (NOUT, 99999) X, A, B, PR
99999 FORMAT (' WBLDF(', F4.2, ', ', F4.2, ', ', F4.2, ') = ', F6.4)
WBLDF(1.50, 1.00, 2.00) = 0.8946
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |