5-8. Weibull Distribution (*)

1. What is the Weibull Distribution?

The Weibull distribution is a continuous probability distribution named after Swedish mathematician Waloddi Weibull. He originally proposed the distribution as a model for material breaking strength, but recognized the potential of the distribution in his 1951 paper A Statistical Distribution Function of Wide Applicability.

Today, it’s commonly used to assess product reliability, analyze life data and model failure times. The Weibull can also fit a wide range of data from many other fields, including: biology, economics, engineering sciences, and hydrology (Rinne, 2008).

Although it’s extremely useful in most cases, the Weibull isn’t an appropriate model for every situation. For example, chemical reactions and corrosion failures are usually modeled with the lognormal distribution.

2. Weibull Distribution PDFs

Two versions of the Weibull probability density function (pdf) are in common use: the two parameter pdf and the three parameter pdf.

Different authors use different notation, which makes the notation a little confusing if you’re looking at different texts. For example, The Engineering Statistics Handbook uses gamma(γ) to represent the shape parameter, while other authors (e.g. Fritz Scholz, writing for Boeing) use beta (β).

For clarity, I’m staying with the same notation for all formulas: α\alpha for the shape parameter, xx as the variable, θ\theta as scale parameter and μμ for the location parameter.

2.1 Three parameter Weibull

The formula for the probability density function of the three parameter general Weibull distribution is:

f(x)=(αθ)(xμθ)α1exp[(xμθ)α],f(x) = \left ( \frac{\alpha}{\theta} \right ) \left ( \frac{x - \mu}{\theta} \right ) ^{\alpha -1}exp\left [ - \left ( \frac{x-\mu}{\theta} \right )^\alpha \right ], xμ;x \ge \mu; α>0,\alpha>0, θ>0.\theta>0.

Where,

  • α\alpha is the shape parameter (also known as the Weibull slope or the threshold parameter). Note: some authors use β, m, or k.

  • θ\theta is the scale parameter, also called the characteristic life parameter. Note: some authors use c, ν or η instead. I found a single text (Glantz & Kissell, 2013) using γ.

  • μμ is the location parameter, also called the waiting time parameter or sometimes the shift parameter. Note: μ the time to failure, is not included in the two parameter version.

When μ=0μ = 0 and θ=1\theta = 1 , the formula for the pdf reduces to:

f(x)=αxα1expxα,f(x) = \alpha x^{\alpha -1}exp^{-x^\alpha}, x>0;x > 0; α>0.\alpha > 0.

which is the standard Weibull distribution.

2.2 Two parameter Weibull

The formula is practically identical to the three parameter Weibull, except that μμ isn’t included:

f(x)=(αθ)(xθ)α1exp[(xθ)α],f(x) = \left ( \frac{\alpha}{\theta} \right ) \left ( \frac{x}{\theta} \right ) ^{\alpha -1}exp\left [ - \left ( \frac{x}{\theta} \right )^\alpha \right ], x0,x \ge 0, α>0,\alpha>0, θ>0.\theta>0.

The two parameter Weibull is often used in failure analysis, because no failure can happen before time zero. If you know μμ , the time where the failure happens, you can subtract it from xx (i.e. time tt ). Therefore, when you move from the two-parameter to the three-parameter version, all you have to do is replace each instance of xx with (xμ)(x – μ) .

2.3 Expected Value and Variance

E(X)=θΓ(1+1α),E(X) = \theta\Gamma(1+\frac{1}{\alpha}), Var(X)=θ2[Γ(1+2α){Γ(1+1α)}2]Var(X) = \theta^2 [ \Gamma(1+\frac{2} {\alpha}) - \{ \Gamma(1+\frac{1} {\alpha}) \}^2 ]

2.4 Cumulative distribution function

F(x)=1e(x/θ)αF(x) = 1 - e^{-(x/\theta)^\alpha}

2.5 Reliability Function and Failure Rate Function

1) Reliability Function

확률변수 XX가 수명(lifetime)인 경우로 한정하면, P(X>x)P(X>x) 는 수명이 xx보다 클 확률이므로 이를 신뢰함수(Reliability Function) R(x)R(x) 라 한다.

P(X>x)=R(x)=1F(x)=e(x/θ)α.P(X>x) =R(x) = 1-F(x) = e^{-(x/\theta)^\alpha}.

2) Failure Rate Function

또한, 고장률함수(failure rate function)λ(x)f(x)/R(x)\lambda (x) \equiv f(x)/R(x) 로 정의되는데, 와이블분포의 고장률함수는 다음과 같이 멱함수(power function) 형태이므로 사용하기 편리하다.

λ(x)f(x)R(x)=(αθ)(xθ)α1,\lambda (x) \equiv \frac{f(x)}{R(x)} = \left ( \frac{\alpha}{\theta} \right ) \left ( \frac{x}{\theta} \right ) ^{\alpha -1}, x>0;x >0; α>0,\alpha >0, θ>0.\theta>0.

3) Alpha and Failure Rates

The value for the shape parameter ( α\alpha ) determines the failure rates:

  • If α\alpha is less than 1, then the failure rate decreases with time (i.e. the process has a large number of infantile or early-life failures and fewer failures as time passes).

  • For α=1\alpha = 1 : the failure rate is constant, which means it’s indicative of useful life or random failures.

  • If α>1\alpha > 1 : the failure rate increases with time (i.e. the distribution models wear-out failures, which tend to happen after some time has passed).

EXAMPLE 36. θ=1\theta=1일 때, α=0.5,1,2,3\alpha = 0.5, 1,2,3 인 와이블 분포의 확률밀도함수와 누적분포함수 그래프를 작성하시오.

[ Solution ]

library(Rstat)

# set the parameter, run the function
th <- 1; alp <- c(0.5, 1:3)
cont.mpdf("weibull", 0, 5, para=alp, para2=th, ymax=1.2)

EXAMPLE 37. 어떤 전동 안마기의 수명이 α=2,\alpha = 2, θ=5\theta=5인 와이블분포를 따를 때, 아래의 확률을 구하시오.

  1. 이 전동안마기가 3년간 고장 없이 작동할 확률

  2. 5년간 고장이 없었을 때, 앞으로 3년 더 고장없이 작동할 확률

[ Solution ]

  1. P(X>3)=e(3/5)2=e0.360.6977.P(X>3) = e^{-(3/5)^2} = e^{-0.36} \approx 0.6977.

  2. P(X>5+3X>5)=P(X>8)P(X>5).P(X>5+3 | X>5) = \frac{P(X>8)}{P(X>5)}. P(X>8)==e(8/5)2=e2.560.0773P(X>8) = = e^{-(8/5)^2} = e^{-2.56} \approx 0.0773

    P(X>5)==e(5/5)2=e10.3679.P(X>5) = = e^{-(5/5)^2} = e^{-1} \approx 0.3679. \therefore P(X>5+3X>5)=P(X>8)P(X>5)=0.07730.36790.2101P(X>5+3 | X>5) = \frac{P(X>8)}{P(X>5)} = \frac{0.0773}{0.3679} \approx 0.2101

library(Rstat)

alp <- 2; th <- 5

# 1. P(X>3)
pweibull(3, alp, th, lower=FALSE)

# 2. P(X>5+3 | X>5) 
pweibull(8, alp, th, lower=FALSE) / pweibull(5, alp, th, lower=FALSE)

3. The Weibull Family

3.1 Changing the Shape Parameter

The Weibull distribution is a family of distributions that can take on many shapes, depending on what parameters you choose.

The Weibull distributions above include two exponential distributions (when α=0.5,α=1\alpha = 0.5 , \alpha=1 ), a right-skewed distribution (when α=2\alpha=2 ) and a symmetric distribution (when α=3\alpha = 3 ).

The exponential distribution is a special case of the Weibull distribution, which happens when the Weibull shape parameter equals 1.

3.2 Changing the Scale Parameter

Changing the Weibull parameters also changes the shape of the distribution.

Changing θ\theta, the scale parameter, does not change the type of shape, but it does stretch out the existing shape. If the other two parameters are kept the same:

  • Increasing θ\theta results in the graph being stretched to the right. The height will decrease.

  • Decreasing θ\theta results in the graph being shrunk to the left (towards zero). The height will increase.

4. Weibull Analysis

Weibull analysis involves using the Weibull distribution (and sometimes, the lognormal) to study life data analysisthe analysis of time to failure.

For example, Weibull analysis can be used to study:

  • Lifetimes of medical and dental implants,

  • Components produced in a factory (like bearings, capacitors, or dialetrics),

  • Warranty analysis,

  • Utility services,

  • Other areas where time-to-failure is important.

The analysis isn’t limited to production; it is applicable to the design stage and in-service time as well.

In the past, the techniques to perform Weibull analysis by hand were tedious and lengthy. The process has now been replaced by statistical software programs and is today the most widely used technique for analyzing lifetimes data in the world.

The major advantages to using Weibull analysis is that it can be used for analyzing lifetimes with very small samples. It also produces an easy-to-understand plot.

The horizontal axis on a Weibull plot shows lifetimes or aging parameters like mileage, operating times, or cycles of use. The vertical axis shows cumulative (additive total) percentage failures.

The analysis includes:

  • Forecasting when spare parts will be needed.

  • Implementing a plan for corrective action.

  • Planning maintenance and cost effective replacement strategies.

  • Plotting and interpreting data.

  • Predicting failures.

Last updated