The generalized gamma distribution is a
continuous probability distribution
In probability theory and statistics, a probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment. It is a mathematical description of a random phenomeno ...
with two
shape parameters (and a
scale parameter). It is a generalization of the
gamma distribution
In probability theory and statistics, the gamma distribution is a two- parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-square distribution are special cases of the gamma dis ...
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
In probability theory and statistics, the gamma distribution is a two- parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-square distribution are special cases of the gamma dis ...
) 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
In probability theory and statistics, the half-normal distribution is a special case of the folded normal distribution.
Let X follow an ordinary normal distribution, N(0,\sigma^2). Then, Y=, X, follows a half-normal distribution. Thus, the ha ...
.
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
In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) c ...
is
:
where
denotes the
gamma function
In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except th ...
.
The
cumulative distribution function
In probability theory and statistics, the cumulative distribution function (CDF) of a real-valued random variable X, or just distribution function of X, evaluated at x, is the probability that X will take a value less than or equal to x.
Ev ...
is
:
where
denotes the
lower incomplete gamma function
In mathematics, the upper and lower incomplete gamma functions are types of special functions which arise as solutions to various mathematical problems such as certain integrals.
Their respective names stem from their integral definitions, whic ...
.
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:
:
with
being the quantile function for a gamma distribution with
.
Related distributions
* If
then the generalized gamma distribution becomes the
Weibull distribution.
* If
the generalised gamma becomes the
gamma distribution
In probability theory and statistics, the gamma distribution is a two- parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-square distribution are special cases of the gamma dis ...
.
* If
then it becomes the
exponential distribution.
* If
and
then it becomes the
Nakagami distribution.
* If
and
then it becomes a
half-normal distribution
In probability theory and statistics, the half-normal distribution is a special case of the folded normal distribution.
Let X follow an ordinary normal distribution, N(0,\sigma^2). Then, Y=, X, follows a half-normal distribution. Thus, the ha ...
.
Alternative parameterisations of this distribution are sometimes used; for example with the substitution ''α = d/p''.
[Johnson, N.L.; Kotz, S; Balakrishnan, N. (1994) ''Continuous Univariate Distributions, Volume 1'', 2nd Edition. Wiley. (Section 17.8.7)] 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 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
:
where is the digamma function.[C. Bauckhage (2014), Computing the Kullback-Leibler Divergence between two Generalized Gamma Distributions, .]
Software implementation
In the R programming language, there are a few packages that include functions for fitting and generating generalized gamma distributions. Th
gamlss
package in R allows for fitting and generating many different distribution families includin
(family=GG). Other options in R, implemented in the package ''flexsurv'', include the function ''dgengamma'', with parameterization: , , , and in the package ''ggamma'' with parametrisation , , .
See also
* Half-''t'' distribution
* Truncated normal distribution
* Folded normal distribution
* Rectified Gaussian distribution
In probability theory, the rectified Gaussian distribution is a modification of the Gaussian distribution when its negative elements are reset to 0 (analogous to an electronic rectifier). It is essentially a mixture of a discrete distribution ( ...
* Modified half-normal distribution
* Generalized integer gamma distribution
References
{{ProbDistributions, continuous-semi-infinite
Continuous distributions