Generalized gamma distribution

1

The generalized gamma distribution is a continuous probability distribution with two shape parameters (and a scale parameter). It is a generalization of the gamma distribution which has one shape parameter (and a scale parameter). Since many distributions commonly used for parametric models in survival analysis (such as the exponential distribution, the Weibull distribution and the gamma distribution) are special cases of the generalized gamma, it is sometimes used to determine which parametric model is appropriate for a given set of data. Another example is the half-normal distribution.

Characteristics

The generalized gamma distribution has two shape parameters, d > 0 and p > 0, and a scale parameter, a > 0. For non-negative x from a generalized gamma distribution, the probability density function is where denotes the gamma function. The cumulative distribution function is where denotes the lower incomplete gamma function, and denotes the regularized lower incomplete gamma function. The quantile function can be found by noting that where G is the cumulative distribution function of the gamma distribution with parameters and \beta = 1. The quantile function is then given by inverting F using known relations about inverse of composite functions, yielding: with G^{-1}(q) being the quantile function for a gamma distribution with.

Related distributions

Alternative parameterisations of this distribution are sometimes used; for example with the substitution α = d/p. In addition, a shift parameter can be added, so the domain of x starts at some value other than zero. If the restrictions on the signs of a, d and p are also lifted (but α = d/p remains positive), this gives a distribution called the Amoroso distribution, after the Italian mathematician and economist Luigi Amoroso who described it in 1925.

Moments

If X has a generalized gamma distribution as above, then

Properties

Denote GG(a,d,p) as the generalized gamma distribution of parameters a, d, p. Then, given c and \alpha two positive real numbers, if, then and .

Kullback-Leibler divergence

If f_1 and f_2 are the probability density functions of two generalized gamma distributions, then their Kullback-Leibler divergence is given by where \psi(\cdot) is the digamma function.

Software implementation

In the R programming language, there are a few packages that include functions for fitting and generating generalized gamma distributions. The gamlss package in R allows for fitting and generating many different distribution families including generalized gamma (family=GG). Other options in R, implemented in the package flexsurv, include the function dgengamma, with parameterization:, , , and in the package ggamma with parametrisation: a = a, b = p, k = d/p. In the python programming language, it is implemented in the SciPy package, with parametrisation: c = p, a = d/p, and scale of 1.

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

View original