In probability theory and statistics, the Weibull distribution is a continuous probability distribution. It models a broad range of random variables, largely in the nature of a time to failure or time between events. Examples are maximum one-day rainfalls and the time a user spends on a web page. The distribution is named after Swedish mathematician Waloddi Weibull, who described it in detail in 1939, although it was first identified by René Maurice Fréchet and first applied by Rosin & Rammler (1933) to describe a particle size distribution.
Definition
Standard parameterization The probability density function of a Weibull random variable is
f(x;λ,k)={kλ(xλ)k−1e−(x/λ)k,x≥0,0,x<0, where k > 0 is the shape parameter and λ > 0 is the scale parameter of the distribution. Its complementary cumulative distribution function is a stretched exponential function. The Weibull distribution is related to a number of other probability distributions; in particular, it interpolates between the exponential distribution (k = 1) and the Rayleigh distribution (k = 2 and λ=2σ). If the quantity, x, is a "time-to-failure", the Weibull distribution gives a distribution for which the hazard rate is proportional to a power of time. The shape parameter, k, is that power plus one, and so this parameter can be interpreted directly as follows:
A value of k<1 indicates that the hazard rate decreases over time (like in case of the Lindy effect, which however corresponds to Pareto distributions rather than Weibull distributions). This happens if there is significant "infant mortality", or defective items failing early and the hazard rate decreasing over time as the defective items are weeded out of the population. In the context of the diffusion of innovations, this means negative word of mouth: the hazard function is a monotonically decreasing function of the proportion of adopters; A value of k=1 indicates that the hazard rate is constant over time. This might suggest random external events are causing mortality, or failure. The Weibull distribution reduces to an exponential distribution; A value of k>1 indicates that the hazard rate increases with time. This happens if there is an "aging" process, or parts that are more likely to fail as time goes on. In the context of the diffusion of innovations, this means positive word of mouth: the hazard function is a monotonically increasing function of the proportion of adopters. The function is first convex, then concave with an inflection point at (e1/k−1)/e1/k,k>1. In the field of materials science, the shape parameter k of a distribution of strengths is known as the Weibull modulus. In the context of diffusion of innovations, the Weibull distribution is a "pure" imitation/rejection model.
Optional parameterizations
First option Applications in medical statistics and econometrics often adopt a different parameterization. The shape parameter k is the same as above, while the scale parameter is b=λ−k. In this case, for x ≥ 0, the probability density function is
f(x;k,b)=bkxk−1e−bxk, the cumulative distribution function is
F(x;k,b)=1−e−bxk, the quantile function is
Q(p;k,b)=(−1bln(1−p))1k, the hazard function is
h(x;k,b)=bkxk−1, and the mean is
b−1/kΓ(1+1/k).
Second option A second parameterization option can also be found. The shape parameter k is the same as in the standard case, while the scale parameter λ is replaced with a rate parameter β = 1/λ. Then, for x ≥ 0, the probability density function is
f(x;k,β)=βk(βx)k−1e−(βx)k the cumulative distribution function is
F(x;k,β)=1−e−(βx)k, the quantile function is
Q(p;k,β)=1β(−ln(1−p))1k, and the hazard function is
h(x;k,β)=βk(βx)k−1. In all three parameterizations, the hazard is decreasing for k < 1, increasing for k > 1 and constant for k = 1, in which case the Weibull distribution reduces to an exponential distribution.
Properties
Density function The form of the density function of the Weibull distribution changes drastically with the value of k. For 0 < k < 1, the density function tends to ∞ as x approaches zero from above and is strictly decreasing. For k = 1, the density function tends to 1/λ as x approaches zero from above and is strictly decreasing. For k > 1, the density function tends to zero as x approaches zero from above, increases until its mode and decreases after it. The density function has infinite negative slope at x = 0 if 0 < k < 1, infinite positive slope at x = 0 if 1 < k < 2 and null slope at x = 0 if k > 2. For k = 1 the density has a finite negative slope at x = 0. For k = 2 the density has a finite positive slope at x = 0. As k goes to infinity, the Weibull distribution converges to a Dirac delta distribution centered at x = λ. Moreover, the skewness and coefficient of variation depend only on the shape parameter. A generalization of the Weibull distribution is the hyperbolastic distribution of type III.
Cumulative distribution function The cumulative distribution function for the Weibull distribution is
F(x;k,λ)=1−e−(x/λ)k for x ≥ 0, and F(x; k; λ) = 0 for x < 0. If x = λ then F(x; k; λ) = 1 − e−1 ≈ 0.632 for all values of k. Vice versa: at F(x; k; λ) = 0.632 the value of x ≈ λ. The quantile (inverse cumulative distribution) function for the Weibull distribution is
Q(p;k,λ)=λ(−ln(1−p))1/k for 0 ≤ p < 1. The failure rate h (or hazard function) is given by
h(x;k,λ)=kλ(xλ)k−1. The Mean time between failures MTBF is
MTBF(k,λ)=λΓ(1+1/k).
Moments The moment generating function of the logarithm of a Weibull distributed random variable is given by
E[etlogX]=λtΓ(tk+1) where Γ is the gamma function. Similarly, the characteristic function of log X is given by
E[eitlogX]=λitΓ(itk+1). In particular, the nth raw moment of X is given by
mn=λnΓ(1+nk). The mean and variance of a Weibull random variable can be expressed as
E(X)=λΓ(1+1k) and
var(X)=λ2[Γ(1+2k)−(Γ(1+1k))2]. The skewness is given by
γ1=2Γ13−3Γ1Γ2+Γ3[Γ2−Γ12]3/2 where Γi=Γ(1+i/k), which may also be written as
γ1=Γ(1+3k)λ3−3μσ2−μ3σ3 where the mean is denoted by μ and the standard deviation is denoted by σ. The excess kurtosis is given by
γ2=−6Γ14+12Γ12Γ2−3Γ22−4Γ1Γ3+Γ4[Γ2−Γ12]2 where Γi=Γ(1+i/k). The kurtosis excess may also be written as:
γ2=λ4Γ(1+4k)−4γ1σ3μ−6μ2σ2−μ4σ4−3.
Moment generating function A variety of expressions are available for the moment generating function of X itself. As a power series, since the raw moments are already known, one has
E[etX]=∑n=0∞tnλnn!Γ(1+nk). Alternatively, one can attempt to deal directly with the integral
… excerpt ends here. Continue reading the full article.





![Weibull distribution: Fitted curves for oil production time series data[26]](https://thumb.wikimedia.org/wikipedia/commons/thumb/8/8f/DCA_with_four_RDC.png/500px-DCA_with_four_RDC.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)