The Gamma Distribution

From ReliaWiki
Jump to navigation Jump to search

New format available! This reference is now available in a new format that offers faster page load, improved display for calculations and images, more targeted search and the latest content available as a PDF. As of September 2023, this Reliawiki page will not continue to be updated. Please update all links and bookmarks to the latest reference at help.reliasoft.com/reference/life_data_analysis

Chapter 13: The Gamma Distribution


Weibullbox.png

Chapter 13  
The Gamma Distribution  

Synthesis-icon.png

Available Software:
Weibull++

Examples icon.png

More Resources:
Weibull++ Examples Collection


The Gamma Distribution

The gamma distribution is a flexible life distribution model that may offer a good fit to some sets of failure data. It is not, however, widely used as a life distribution model for common failure mechanisms. The gamma distribution does arise naturally as the time-to-first-fail distribution for a system with standby exponentially distributed backups, and is also a good fit for the sum of independent exponential random variables. The gamma distribution is sometimes called the Erlang distribution, which is used frequently in queuing theory applications. [32]

Gamma Probability Density Function

The pdf of the gamma distribution is given by:

f(T)=ekzeztΓ(k)

where:

z=ln(t)μ

and:

eμ=scale parameterk=shape parameter

where 0<t< , <μ< and k>0 .

The Gamma Reliability Function

The reliability for a mission of time T for the gamma distribution is:


R=1Γ1(k;ez)


The Gamma Mean, Median and Mode

The gamma mean or MTTF is:


T=keμ


The mode exists if k>1 and is given by:


T~=(k1)eμ


The median is:

T^=eμ+ln(Γ11(0.5;k))

The Gamma Standard Deviation

The standard deviation for the gamma distribution is:

σT=keμ


The Gamma Reliable Life

The gamma reliable life is:

TR=eμ+ln(Γ11(1R;k))

The Gamma Failure Rate Function

The instantaneous gamma failure rate is given by:

λ=ekzeztΓ(k)(1Γ1(k;ez))

Characteristics of the Gamma Distribution

Some of the specific characteristics of the gamma distribution are the following:

For k>1 :

• As T0, , f(T)0.

f(T) increases from 0 to the mode value and decreases thereafter.

• If k2 then pdf has one inflection point at T=eμk1( k1+1).

• If k>2 then pdf has two inflection points for T=eμk1( k1±1).

• For a fixed k , as μ increases, the pdf starts to look more like a straight angle.

As T,λ(T)1eμ.

LdaGD10.1.gif

For k=1 :

• Gamma becomes the exponential distribution.

• As T0 , f(T)1eμ.

• As T,f(T)0.

• The pdf decreases monotonically and is convex.

λ(T)1eμ . λ(T) is constant.

• The mode does not exist.

LdaGD10.2.gif

For 0<k<1 :

• As T0 , f(T).

• As T,f(T)0.

• As T,λ(T)1eμ.

• The pdf decreases monotonically and is convex.

• As μ increases, the pdf gets stretched out to the right and its height decreases, while maintaining its shape.

• As μ decreases, the pdf shifts towards the left and its height increases.

• The mode does not exist.

LdaGD10.3.gif

Confidence Bounds

The only method available in Weibull++ for confidence bounds for the gamma distribution is the Fisher matrix, which is described next. The complete derivations were presented in detail (for a general function) in Chapter 5.

Bounds on the Parameters

The lower and upper bounds on the mean, μ^ , are estimated from:

μU=μ^+KαVar(μ^) (upper bound)μL=μ^KαVar(μ^) (lower bound)


Since the standard deviation, σ^ , must be positive, ln(σ^) is treated as normally distributed and the bounds are estimated from:

kU=k^eKαVar(k^)k^ (upper bound)kL=σ^eKαVar(k^)k^ (lower bound)

where Kα is defined by:

α=12πKαet22dt=1Φ(Kα)

If δ is the confidence level, then α=1δ2 for the two-sided bounds and α=1δ for the one-sided bounds.

The variances and covariances of μ^ and k^ are estimated from the Fisher matrix, as follows:

(Var^(μ^)Cov^(μ^,k^)Cov^(μ^,k^)Var^(k^))=(2Λμ22Λμk2Λμk2Λk2)μ=μ^,k=k^1


Λ is the log-likelihood function of the gamma distribution, described in Chapter 3 and Appendix C.

Bounds on Reliability

The reliability of the gamma distribution is:

R^(T;μ^,k^)=1Γ1(k^;ez^)

where:

z^=ln(t)μ^

The upper and lower bounds on reliability are:

RU=R^R^+(1R^)exp(KαVar(R^) R^(1R^)) (upper bound)
RL=R^R^+(1R^)exp(KαVar(R^) R^(1R^)) (lower bound)

where:

Var(R^)=(Rμ)2Var(μ^)+2(Rμ)(Rk)Cov(μ^,k^)+(zk)2Var(k^)

Bounds on Time

The bounds around time for a given gamma percentile (unreliability) are estimated by first solving the reliability equation with respect to time, as follows:


T^(μ^,σ^)=μ^+σ^z


where:


z=ln(ln(R))


Var(T^)=(Tμ)2Var(μ^)+2(Tμ)(Tσ)Cov(μ^,σ^)+(Tσ)2Var(σ^)

or:


Var(T^)=Var(μ^)+2z^Cov(μ^,σ^)+z^2Var(σ^)


The upper and lower bounds are then found by:


TU=T^+KαVar(T^) (Upper bound)TL=T^KαVar(T^) (Lower bound)

A Gamma Distribution Example

Twenty four units were reliability tested and the following life test data were obtained:


615067495362536143655356625658555848664448584340

Fitting the gamma distribution to this data, using maximum likelihood as the analysis method, gives the following parameters:

μ^=7.72E02k^=50.4908

Using rank regression on X, the estimated parameters are:

μ^=0.2915k^=41.1726


Using rank regression on Y, the estimated parameters are:

μ^=0.2915k^=41.1726