WBLIN

This function evaluates the inverse of the Weibull cumulative distribution function.

Function Return Value

WBLIN — Function value, the value of the inverse of the Weibull cumulative distribution distribution function. (Output)

Required Arguments

P — Probability for which the inverse of the Weibull cumulative distribution function is to be evaluated. (Input)

A — Scale parameter. (Input)

B — Shape parameter. (Input)

FORTRAN 90 Interface

Generic: WBLIN (P, A, B)

Specific: The specific interface names are S_WBLIN and D_WBLIN.

FORTRAN 77 Interface

Single: WBLIN (P, A, B)

Double: The double precision name is DWBLIN.

Description

The function WBLIN evaluates the inverse distribution function of a Weibull random variable with scale parameter A and shape parameter B.

Example

In this example, we evaluate the inverse probability function at P = 0.8946, A = 1.0, B = 2.0.

 

USE UMACH_INT

USE WBLIN_INT

IMPLICIT NONE

INTEGER NOUT

REAL X, A, B, P

CALL UMACH(2, NOUT)

P = 0.8946

A = 1.0

B = 2.0

X = WBLIN(P, A, B)

WRITE (NOUT, 99999) P, A, B, X

99999 FORMAT (' WBLIN(', F4.2, ', ', F4.2, ', ', F4.2, ') = ', F6.4)

END

Output

 

WBLIN(0.8946, 1.00, 2.00) = 1.5000