Weibull Distribution

The Weibull distribution, also known as the Rosin-Rammler distribution, is a continuous probability distribution used to model the lifetime of equipment in reliability engineering. It is characterized by its scale and shape parameters.

Definition

The Weibull distribution has a scale parameter η and a shape parameter β. The probability density function (PDF) is given by:

f(x;β,η)=βη(xη)β1e(x/η)β

The cumulative distribution function (CDF) is:

F(x;β,η)=1e(x/η)β

The Weibull distribution is defined for all non-negative values (x ≥ 0), with both the shape parameter β and scale parameter η required to be strictly positive.

Applications

  • Reliability engineering uses it to model component lifetimes and failure rates.

  • Wind energy assessment employs it to model wind speed distributions.

  • Materials science uses it for analyzing material strength and fatigue life.

  • Weather forecasting applies it to extreme weather event prediction.

Properties

Statistical Properties
PropertyValue
MeanηΓ(1+1β)
Varianceη2[Γ(1+2β)Γ2(1+1β)]
SkewnessΓ(1+3β)3Γ(1+1β)Γ(1+2β)+2Γ3(1+1β)[Γ(1+2β)Γ2(1+1β)]3/2
Excess KurtosisΓ(1+4β)4Γ(1+1β)Γ(1+3β)+6Γ2(1+1β)Γ(1+2β)3Γ4(1+1β)[Γ(1+2β)Γ2(1+1β)]23
Medianη(ln2)1/β
Modeη(β1β)1/β,β>1
Entropyγ(11β)+ln(ηβ)+1

Notable properties include:

  • The hazard rate function is h(x)=βη(xη)β1.

  • The characteristic function has no closed form expression.

  • The distribution exhibits different failure rate behaviors depending on β: decreasing (β<1), constant (β=1), or increasing (β>1).

Relationships to Other Distributions

The WeibullDistribution class

The Weibull distribution is implemented by the WeibullDistribution class. It has one constructor with two arguments. The first argument is the location parameter, and corresponds to the mode of the probability density function. The second argument is the scale parameter.

The following constructs the same Weibull distribution with scale parameter 6.8 and shape parameter 4.1:

C#
var weibull = new WeibullDistribution(6.8, 4.1);

The WeibullDistribution class has three specific properties, LocationParameter, ScaleParameter and ShapeParameter, which return the parameters of the distribution.

WeibullDistribution has one static (Shared in Visual Basic) method, Sample, which generates a random sample using a user-supplied uniform random number generator. The second and third parameters are the location and scale parameters of the distribution.

C#
var random = new Pcg32();
double sample = WeibullDistribution.Sample(random, 6.8, 4.1);

The above example uses the Pcg32 class to generate uniform random numbers.

References

For more information on the Weibull distribution, refer to the following sources:

  • Johnson, N. L., Kotz, S., & Balakrishnan, N. (1994). "Continuous Univariate Distributions, Volume 1", Chapter 21. Wiley Series in Probability and Statistics.

  • Forbes, C., Evans, M., Hastings, N., & Peacock, B. (2011). "Statistical Distributions", Chapter 46. Wiley Series in Probability and Statistics.

  • Weibull, W. (1951). "A statistical distribution function of wide applicability". Journal of Applied Mechanics.

  • Nelson, W. (1982). "Applied Life Data Analysis". John Wiley & Sons.

See Also