In this section, we will study a two-parameter family of distributions that has special importance in reliability.
The Basic Weibull Distribution
Distribution Functions
The basic Weibull distribution with shape parameter is a continuous distribution on with distribution function given by
The special case gives the standard Weibull distribution.
Details:
Clearly is continuous and increasing on with and as .
The Weibull distribution is named for Waloddi Weibull. Weibull was not the first person to use the distribution, but was the first to study it extensively and recognize its wide use in applications. The standard Weibull distribution is the same as the standard exponential distribution. But as we will see, every Weibull random variable can be obtained from a standard Weibull variable by a simple deterministic transformation, so the terminology is justified.
The probability density function is given by
- If , is decreasing and concave upward with as .
- If , is decreasing and concave upward with mode .
- If , increases and then decreases, with mode .
- If , is concave downward and then upward, with inflection point at
- If , is concave upward, then downward, then upward again, with inflection points at
Details:
These results follow from basic calculus. The PDF is where is the CDF in [1]. The first order properties come from
The second order properties come from
So the Weibull density function has a rich variety of shapes, depending on the shape parameter, and has the classic unimodal shape when . If , is defined at 0 also.
In the special distribution simulator, select the Weibull distribution. Vary the shape parameter and note the shape of the probability density function. For selected values of the shape parameter, run the simulation 1000 times and compare the empirical density function to the probability density function.
The quantile function is given by
- The first quartile is .
- The median is .
- The third quartile is .
Details:
The formula follows from [1] by solving for in terms of .
Open the quantile app and select the Weibull distribution. Vary the shape parameter and note the shape of the distribution and probability density functions. For selected values of the parameter, compute the median and the first and third quartiles.
The failure rate function is given by
- If , is decreasing with as and as .
- If , is constant 1.
- If , is increasing with and as .
Details:
The formula for follows immediately from the PDF in [2] and the reliability function in [6], since .
Thus, the Weibull distribution can be used to model devices with decreasing failure rate, constant failure rate, or increasing failure rate. This versatility is one reason for the wide use of the Weibull distribution in reliability. If , is defined at 0 also.
Moments
Suppose that has the basic Weibull distribution with shape parameter . The moments of , and hence the mean and variance of can be expressed in terms of the gamma function
for .
Details:
For ,
Substituting gives
So the Weibull distribution has moments of all orders. The moment generating function, however, does not have a simple, closed expression in terms of the usual elementary functions.
In particular, the mean and variance of are
Note that and as . We will learn more about the limiting distribution in [15].
In the special distribution simulator, select the Weibull distribution. Vary the shape parameter and note the size and location of the mean standard deviation bar. For selected values of the shape parameter, run the simulation 1000 times and compare the empirical mean and standard deviation to the distribution mean and standard deviation.
The skewness and kurtosis also follow easily from the general moment result in [8], although the formulas are not particularly helpful.
Skewness and kurtosis
- The skewness of is
- The kurtosis of is
Details:
The results follow directly from [8] and the computational formulas for skewness and kurtosis.
Related Distributions
As noted above, the standard Weibull distribution (shape parameter 1) is the same as the standard exponential distribution. More generally, any basic Weibull variable can be constructed from a standard exponential variable.
Suppose that .
- If has the standard exponential distribution then has the basic Weibull distribution with shape parameter .
- If has the basic Weibull distribution with shape parameter then has the standard exponential distribution.
Details:
We use distribution functions. The basic Weibull CDF is given in [1]; the standard exponential CDF is on . Note that the inverse transformations and are strictly increasing and map onto .
- for .
- for .
The basic Weibull distribution has the usual connections with the standard uniform distribution by means of the distribution function in [1] and the quantile function in [4] given above.
Suppose that .
- If has the standard uniform distribution then has the basic Weibull distribution with shape parameter .
- If has the basic Weibull distribution with shape parameter then has the standard uniform distribution.
Details:
Let denote the CDF of the basic Weibull distribution in [1] with shape parameter and let denote the corresponding quantile function in [4].
- If has the standard uniform distribution then so does . Hence has the basic Weibull distribution with shape parameter .
- If has the basic Weibull distribution with shape parameter then has the standard uniform distribution. But then so does .
Since the quantile function has a simple, closed form, the basic Weibull distribution can be simulated using the random quantile method.
Open the random quantile experiment and select the Weibull distribution. Vary the shape parameter and note again the shape of the distribution and density functions. For selected values of the parameter, run the simulation 1000 times and compare the empirical density, mean, and standard deviation to their distributional counterparts.
The limiting distribution with respect to the shape parameter is concentrated at a single point.
The basic Weibull distribution with shape parameter converges to point mass at 1 as .
Details:
Once again, let denote the basic Weibull CDF in [1] with shape parameter . Note that as for ; for all ; and as for . Except for the point of discontinuity , the limits are the CDF of point mass at 1.
The General Weibull Distribution
Like most special continuous distributions on , the basic Weibull distribution is generalized by the inclusion of a scale parameter. A scale transformation often corresponds in applications to a change of units, and for the Weibull distribution this usually means a change in time units.
Suppose that has the basic Weibull distribution with shape parameter . For , random variable has the Weibull distribution with shape parameter and scale parameter .
Generalizations of the results given above follow easily from basic properties of the scale transformation.
Distribution Functions
Suppose that has the Weibull distribution with shape parameter and scale parameter .
distribution function given by
Details:
Recall that for where is the CDF of the basic Weibull distribution in [1].
has probability density function given by
- If , is decreasing and concave upward with as .
- If , is decreasing and concave upward with mode .
- If , increases and then decreases, with mode .
- If , is concave downward and then upward, with inflection point at
- If , is concave upward, then downward, then upward again, with inflection points at
Details:
Recall that for where is the PDF of the corresponding basic Weibull distribution in [2].
Open the special distribution simulator and select the Weibull distribution. Vary the parameters and note the shape of the probability density function. For selected values of the parameters, run the simulation 1000 times and compare the empirical density function to the probability density function.
has quantile function given by
- The first quartile is .
- The median is .
- The third quartile is .
Details:
Recall that for where is the quantile function of the corresponding basic Weibull distribution in [4].
Open the quantile app and select the Weibull distribution. Vary the parameters and note the shape of the distribution and probability density functions. For selected values of the parameters, compute the median and the first and third quartiles.
has reliability function given by
Details:
This follows trivially from the CDF in [17], since .
As before, the Weibull distribution has decreasing, constant, or increasing failure rates, depending only on the shape parameter.
has failure rate function given by
- If , is decreasing with as and as .
- If , is constant .
- If , is increasing with and as .
Moments
Suppose again that has the Weibull distribution with shape parameter and scale parameter . Recall that by definition [16], we can take where has the basic Weibull distribution with shape parameter .
for .
Details:
The result then follows from , since .
In particular, the mean and variance of are
Note that and as .
Open the special distribution simulator and select the Weibull distribution. Vary the parameters and note the size and location of the mean standard deviation bar. For selected values of the parameters, run the simulation 1000 times and compare the empirical mean and standard deviation to the distribution mean and standard deviation.
Skewness and kurtosis
- The skewness of is
- The kurtosis of is
Details:
Skewness and kurtosis depend only on the standard score of the random variable, and hence are invariant under scale transformations. So the results are the same as the skewness and kurtosis of in [11].
Related Distributions
Since the Weibull distribution is a scale family for each value of the shape parameter, it is trivially closed under scale transformations.
Suppose that has the Weibull distribution with shape parameter and scale parameter . If then has the Weibull distribution with shape parameter and scale parameter .
Details:
By definition [16], we can take where has the basic Weibull distribution with shape parameter . But then .
The exponential distribution is a special case of the Weibull distribution, the case corresponding to constant failure rate.
The Weibull distribution with shape parameter 1 and scale parameter is the exponential distribution with scale parameter .
Details:
When , the Weibull CDF in [17] is given by for . But this is also the CDF of the exponential distribution with scale parameter .
More generally, any Weibull distributed variable can be constructed from the standard variable. The following result is a simple generalization of [12].
Suppose that .
- If has the standard exponential distribution (parameter 1), then has the Weibull distribution with shape parameter and scale parameter .
- If has the Weibull distribution with shape parameter and scale parameter , then has the standard exponential distribution.
Details:
The results are a simple consequence of [12].
- If has the standard exponential distribution then has the basic Weibull distribution with shape parameter , and hence has the Weibull distribution with shape parameter and scale parameter .
- If has the Weibull distribution with shape parameter and scale parameter then has the basic Weibull distribution with shape parameter , and hence has the standard exponential distributioon.
The Rayleigh distribution, named for William Strutt, Lord Rayleigh, is also a special case of the Weibull distribution.
The Rayleigh distribution with scale parameter is the Weibull distribution with shape parameter and scale parameter .
Details:
The Rayleigh distribution with scale parameter has CDF given by
But this is also the Weibull CDF in [17] with shape parameter and scale parameter .
Recall that the minimum of independent, exponentially distributed variables also has an exponential distribution (and the rate parameter of the minimum is the sum of the rate parameters of the variables). The Weibull distribution has a similar, but more restricted property.
Suppose that is an independent sequence of variables, each having the Weibull distribution with shape parameter and scale parameter . Then has the Weibull distribution with shape parameter and scale parameter .
Details:
Recall that the reliability function of the minimum of independent variables is the product of the reliability functions of the variables. It follows that has reliability function given by
and so the result follows.
As before, Weibull distribution has the usual connections with the standard uniform distribution by means of the distribution function in [17] and the quantile function in [20].
Suppose that .
- If has the standard uniform distribution then has the Weibull distribution with shape parameter and scale parameter .
- If has the Weibull distribution with shape parameter and scale parameter then has the standard uniform distribution.
Details:
Let denote the Weibull CDF in [17] with shape parameter and scale parameter and so that is the corresponding quantile function in [20].
- If has the standard uniform distribution then so does . Hence has the Weibull distribution with shape parameter and scale parameter .
- If has the Weibull distribution with shape parameter and scale parameter then has the standard uniform distribution. But then so does .
Again, since the quantile function has a simple, closed form, the Weibull distribution can be simulated using the random quantile method.
Open the random quantile experiment and select the Weibull distribution. Vary the parameters and note again the shape of the distribution and density functions. For selected values of the parameters, run the simulation 1000 times and compare the empirical density, mean, and standard deviation to their distributional counterparts.
The limiting distribution with respect to the shape parameter is concentrated at a single point.
The Weibull distribution with shape parameter and scale parameter converges to point mass at as .
Details:
If has the Weibull distribution with shape parameter and scale parameter , then we can write where has the basic Weibull distribution with shape parameter . From [15], the distribution of converges to point mass at 1, so by the continuity theorem for convergence in distribution, the distribution of converges to point mass at .
Finally, the Weibull distribution is a member of the family of general exponential distributions if the shape parameter is fixed.
Suppose that has the Weibull distribution with shape parameter and scale parameter . For fixed , has a general exponential distribution with respect to , with natural parameter and natural statistics .
Details:
This follows from the definition of the general exponential distribution, and the Weibull PDF in [18].
Computational Exercises
The lifetime of a device (in hours) has the Weibull distribution with shape parameter and scale parameter .
- Find the probability that the device will last at least 1500 hours.
- Approximate the mean and standard deviation of .
- Compute the failure rate function.
Details:
- ,