# The Generalized Gamma Distribution

 Chapter 12: The Generalized Gamma Distribution

 Chapter 12 The Generalized Gamma Distribution

## Contents

Available Software:
Weibull++

More Resources:
Weibull++ Examples Collection

Life Data Analysis (*.pdf)

Generate Reference Book:
File may be more up-to-date

While not as frequently used for modeling life data as the previous distributions, the generalized gamma distribution does have the ability to mimic the attributes of other distributions such as the Weibull or lognormal, based on the values of the distribution's parameters. While the generalized gamma distribution is not often used to model life data by itself (Mostly due to its mathematical complexity and its requirement of large sample sizes (>30) for convergence), its ability to behave like other more commonly-used life distributions is sometimes used to determine which of those life distributions should be used to model a particular set of data.

### Generalized Gamma Probability Density Function

The generalized gamma function is a 3-parameter distribution. One version of the generalized gamma distribution uses the parameters k, , and . The pdf for this form of the generalized gamma distribution is given by:

where is a scale parameter, and are shape parameters and is the gamma function of x, which is defined by:

With this version of the distribution, however, convergence problems arise that severely limit its usefulness. Even with data sets containing 200 or more data points, the MLE methods may fail to converge. Further adding to the confusion is the fact that distributions with widely different values of , , and may appear almost identical, as discussed in Lawless [21]. In order to overcome these difficulties, Weibull++ uses a reparameterization with parameters , , and , as shown in [21], where:

where

While this makes the distribution converge much more easily in computations, it does not facilitate manual manipulation of the equation. By allowing to become negative, the pdf of the reparameterized distribution is given by:

### Generalized Gamma Reliability Function

The reliability function for the generalized gamma distribution is given by:

where:

and is the incomplete gamma function of

and , which is given by:

where is the gamma function of . Note that in Weibull++ the probability plot of the generalized gamma is created on lognormal probability paper. This means that the fitted line will not be straight unless

### Generalized Gamma Failure Rate Function

As defined in Basic Statistical Background, the failure rate function is given by:

Owing to the complexity of the equations involved, the function will not be displayed here, but the failure rate function for the generalized gamma distribution can be obtained merely by dividing the pdf function by the reliability function.

### Generalized Gamma Reliable Life

The reliable life, , of a unit for a specified reliability, starting the mission at age zero, is given by:

## Characteristics of the Generalized Gamma Distribution

As mentioned previously, the generalized gamma distribution includes other distributions as special cases based on the values of the parameters.

• The Weibull distribution is a special case when and:
• In this case, the generalized distribution has the same behavior as the Weibull for and ( and respectively).
• The exponential distribution is a special case when and .
• The lognormal distribution is a special case when .
• The gamma distribution is a special case when .

By allowing to take negative values, the generalized gamma distribution can be further extended to include additional distributions as special cases. For example, the Fréchet distribution of maxima (also known as a reciprocal Weibull) is a special case when .

## Confidence Bounds

The only method available in Weibull++ for confidence bounds for the generalized gamma distribution is the Fisher matrix, which is described next.

### Bounds on the Parameters

The lower and upper bounds on the parameter are estimated from:

For the parameter , is treated as normally distributed, and the bounds are estimated from:

For the parameter the bounds are estimated from:

where is defined by:

If is the confidence level, then for the two-sided bounds, and for the one-sided bounds.

The variances and covariances of and are estimated as follows:

Where is the log-likelihood function of the generalized gamma distribution.

### Bounds on Reliability

The upper and lower bounds on reliability are given by:

where:

### Bounds on Time

The bounds around time for a given percentile, or unreliability, are estimated by first solving the reliability equation with respect to time. Since is a positive variable, the transformed variable is treated as normally distributed and the bounds are estimated from:

Solving for and we get:

The variance of is estimated from:

## Example

The following data set represents revolutions-to-failure (in millions) for 23 ball bearings in a fatigue test, as discussed in Lawless [21].

When the generalized gamma distribution is fitted to this data using MLE, the following values for parameters are obtained:

Note that for this data, the generalized gamma offers a compromise between the Weibull and the lognormal distributions. The value of indicates that the lognormal distribution is better supported by the data. A better assessment, however, can be made by looking at the confidence bounds on For example, the 90% two-sided confidence bounds are:

We can then conclude that both distributions (i.e., Weibull and lognormal) are well supported by the data, with the lognormal being the better supported of the two. In Weibull++ the generalized gamma probability is plotted on a gamma probability paper, as shown next.

It is also important to note that, as in the case of the mixed Weibull distribution, the choice of regression analysis (i.e., RRX or RRY) is of no consequence in the generalized gamma model because it uses non-linear regression.