Generalized gamma |
---|
Probability density function  |
Parameters |
(scale),  |
---|
Support |
 |
---|
PDF |
 |
---|
CDF |
 |
---|
Mean |
 |
---|
Mode |
 |
---|
Variance |
 |
---|
Entropy |
 |
---|
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.[1] Another example is the half-normal distribution.
Characteristics
The generalized gamma distribution has two shape parameters,
and
, and a scale parameter,
. For non-negative x from a generalized gamma distribution, the probability density function is[2]

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
is the cumulative distribution function of the gamma distribution with parameters
and
. The quantile function is then given by inverting
using known relations about inverse of composite functions, yielding:
![{\displaystyle F^{-1}(q;a,d,p)=a\cdot {\big [}G^{-1}(q){\big ]}^{1/p},}](./0ed466895e31f2510f212f571598a16e72b53b78.svg)
with
being the quantile function for a gamma distribution with
.
- If
then the generalized gamma distribution becomes the Weibull distribution.
- If
the generalised gamma becomes the gamma distribution.
- If
then it becomes the exponential distribution.
- If
then it becomes the Rayleigh distribution.
- If
and
then it becomes the Nakagami distribution.
- If
and
then it becomes a half-normal distribution.
Alternative parameterisations of this distribution are sometimes used; for example with the substitution α = d/p.[3] In addition, a shift parameter can be added, so the domain of x starts at some value other than zero.[3] 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.[4]
Moments
If X has a generalized gamma distribution as above, then[3]

Properties
Denote GG(a,d,p) as the generalized gamma distribution of parameters a, d, p.
Then, given
and
two positive real numbers, if
, then
and
.
Kullback–Leibler divergence
If
and
are the probability density functions of two generalized gamma distributions, then their Kullback–Leibler divergence is given by
+{\frac {\Gamma {\bigl (}(d_{1}+p_{2})/p_{1}{\bigr )}}{\Gamma \left(d_{1}/p_{1}\right)}}\left({\frac {a_{1}}{a_{2}}}\right)^{p_{2}}-{\frac {d_{1}}{p_{1}}}\end{aligned}}}](./568287890f02a4650ef601b9da752a394a07b07e.svg)
where
is the digamma function.[5]
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:
,
,
.
In the python programming language, it is implemented in the SciPy package, with parametrisation:
,
, and scale of 1.
See also
References
- ^ Box-Steffensmeier, Janet M.; Jones, Bradford S. (2004) Event History Modeling: A Guide for Social Scientists. Cambridge University Press. ISBN 0-521-54673-7 (pp. 41-43)
- ^ Stacy, E.W. (1962). "A Generalization of the Gamma Distribution." Annals of Mathematical Statistics 33(3): 1187-1192. JSTOR 2237889
- ^ a b c Johnson, N.L.; Kotz, S; Balakrishnan, N. (1994) Continuous Univariate Distributions, Volume 1, 2nd Edition. Wiley. ISBN 0-471-58495-9 (Section 17.8.7)
- ^ Gavin E. Crooks (2010), The Amoroso Distribution, Technical Note, Lawrence Berkeley National Laboratory.
- ^ C. Bauckhage (2014), Computing the Kullback–Leibler Divergence between two Generalized Gamma Distributions, arXiv:1401.6853.
|
---|
Discrete univariate | with finite support | |
---|
with infinite support | |
---|
|
---|
Continuous univariate | supported on a bounded interval | |
---|
supported on a semi-infinite interval | |
---|
supported on the whole real line | |
---|
with support whose type varies | |
---|
|
---|
Mixed univariate | |
---|
Multivariate (joint) |
- Discrete:
- Ewens
- Multinomial
- Continuous:
- Dirichlet
- Multivariate Laplace
- Multivariate normal
- Multivariate stable
- Multivariate t
- Normal-gamma
- Matrix-valued:
- LKJ
- Matrix beta
- Matrix normal
- Matrix t
- Matrix gamma
- Wishart
- Normal
- Inverse
- Normal-inverse
- Complex
- Uniform distribution on a Stiefel manifold
|
---|
Directional |
- Univariate (circular) directional
- Circular uniform
- Univariate von Mises
- Wrapped normal
- Wrapped Cauchy
- Wrapped exponential
- Wrapped asymmetric Laplace
- Wrapped Lévy
- Bivariate (spherical)
- Kent
- Bivariate (toroidal)
- Bivariate von Mises
- Multivariate
- von Mises–Fisher
- Bingham
|
---|
Degenerate and singular | |
---|
Families | |
---|
|