Click or press any key to close help Help screen describing the interactive elements

The Weibull distribution is a "waiting time" distribution where the hazard rate (i.e. the conditional probability of an event occurring, given that it has not already occurred), is a power of time with exponent α − 1. The parameter α is a shape parameter, and the parameter β is a scale parameter.

Parameter Range Description
α α > 0 Shape parameter
β β > 0 Scale parameter

Probability Density Function

f ( x ; α , β ) = α β ( x β ) α 1 exp [ ( x β ) α ]
F ( x ; α , β ) = 1 exp [ ( x β ) α ]
S ( x ; α , β ) = exp [ ( x β ) α ]
h ( x ; α , β ) = α β ( x β ) α 1

Support

0 x <

Mean

Variance

Example α β
Failure rates for semiconductor chips often follow a Weibull distribution with α < 1, indicating that most failures occur early on. 0.6000 0.5000
The mean lifespan of a CFL bulb is 9000 hours. Let X be the time to failure of a randomly selected bulb (in 1000 hours). 3.520 10.00
Annual maximum discharge rates for the Feather River in California from 1902 - 1960 follow an approximate Weibull(1.30, 2.14) distribution. 1.300 2.140

X ∼ Weibull(α, β)

α = β =
Chart of the Weibull distribution Chart area for displaying the Weibull pdf, cdf, survival, hazard, visualization, and simulation

E(X) = , Var(X) =

The pdf can take several shapes depending on the parameter α.

  • When α < 1, the probability of an event occurring decreases with time and the pdf is strictly decreasing.
  • When α = 1, the probability of an event is independent of time and the pdf is exponentially decreasing.
  • When α > 1, the probability of an event occurring increases with time. The pdf is unimodal and can be either right-skewed, approximately symmetric, or left-skewed.

The pdf can take several shapes depending on the parameter α.

  • When α < 1, the probability of an event occurring decreases with time and the distribution is strictly decreasing.
  • When α = 1, the probability of an event is independent of time.
  • When α > 1, the probability of an event occurring increases with time. The distribution is unimodal and can be either right-skewed, approximately symmetric, or left-skewed.

The graph above displays the survival function S(x) = P(X > x) = 1 - F(X), where F(x) is the cumulative distribution function (cdf).

Survival functions are used in survival analysis, a branch of statistics concerned with the expected duration until an event occurs such as death or the failure of a mechanical system.

The graph above displays the hazard function h(x). This equals f(x)/S(x), where f(x) is the pdf and S(x) = P(X > x) is the survival function.

Note that:

  • When α < 1, the hazard function decreases with time.
  • When α = 1, the hazard function is constant and independent of time.
  • When α > 1, the hazard function increases with time.
  • The scale parameter β affects the scale but not the shape of the hazard function.

The graph above describes an event occuring randomly in time, where the conditional probability of an event given that it has not already occurred is given by the hazard function h(x) = (α/β)(x/β)α − 1. The time at which the first event occurs has a Weibull(α, β) distribution.

The simulation above shows an event occuring randomly in time, where the conditional probability of an event given that it has not already occurred is given by the hazard function h(x) = (α/β)(x/β)α − 1. The light blue line shows the time X at which the first event occurs, which has a Weibull(α, β) distribution. The histogram accumulates the results of each simulation.

Y = Weibull(1, β) ∼ Exponential(β) 1/X ∼ Fréchet(α, 1/β) −log(X) ∼ Gumbel(−log β, 1/α) min Xᵢ ∼ Weibull(α, βn−1/α)

Chart of the related distribution Chart area for displaying the related pdf, cdf, and simulation

E(Y) = , Var(Y) =