Previous Up Next

9.4.16  The Weibull distribution

The probability density function for the Weibull distribution: weibull weibulld

The Weibull distribution depends on three parameters; k>0, λ > 0 and a real number θ. The probability density at x is given by

k
λ
(
x − θ
λ
)2 e−((x−θ)λ)2     (11)

The weibull (or weibulld) command compute this density function.
weibulld is a synonym for weibull.


Example.
Input:

weibull(2,1,3)

or:

weibull(2,1,0,3)

Output:

6
e9

The cumulative distribution function for the Weibull distribution: weibull_cdf weibulld_cdf

The weibull_cdf (or weibulld_cdf) command computes the cumulative distribution function for the Weibull distribution.

In this case, the Weibull cumulative distribution function is given by the formula weibull_cdf(k,λ,θ,x) = 1 − e−((x−θ)/λ)2.


Examples.

The inverse distribution function for the Weibull distribution: weibull_icdf weibulld_icdf

The weibull_icdf (or weibulld_icdf) command computes the inverse distribution for the Weibull distribution.


Example.
Input:

weibull_icdf(2.2,1.5,0.4,0.632)

Output:

1.89977657604

Previous Up Next