fbpx
Wikipedia

Generalized gamma distribution

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.

Generalized gamma
Probability density function
Parameters (scale),
Support
PDF
CDF
Mean
Mode
Variance
Entropy

Characteristics edit

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:

 

with   being the quantile function for a gamma distribution with  .

Related distributions edit

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 edit

If X has a generalized gamma distribution as above, then[3]

 

Properties edit

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 edit

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.[5]

Software implementation edit

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 edit

References edit

  1. ^ 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)
  2. ^ Stacy, E.W. (1962). "A Generalization of the Gamma Distribution." Annals of Mathematical Statistics 33(3): 1187-1192. JSTOR 2237889
  3. ^ 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)
  4. ^ Gavin E. Crooks (2010), The Amoroso Distribution, Technical Note, Lawrence Berkeley National Laboratory.
  5. ^ C. Bauckhage (2014), Computing the Kullback-Leibler Divergence between two Generalized Gamma Distributions, arXiv:1401.6853.

generalized, gamma, distribution, generalized, gamma, distribution, continuous, probability, distribution, with, shape, parameters, scale, parameter, generalization, gamma, distribution, which, shape, parameter, scale, parameter, since, many, distributions, co. 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 Generalized gammaProbability density functionParametersa gt 0 displaystyle a gt 0 scale d p gt 0 displaystyle d p gt 0 Supportx 0 displaystyle x in 0 infty PDFp a d G d p x d 1 e x a p displaystyle frac p a d Gamma d p x d 1 e x a p CDFg d p x a p G d p displaystyle frac gamma d p x a p Gamma d p Meana G d 1 p G d p displaystyle a frac Gamma d 1 p Gamma d p Modea d 1 p 1 p f o r d gt 1 o t h e r w i s e 0 displaystyle a left frac d 1 p right frac 1 p mathrm for d gt 1 mathrm otherwise 0 Variancea 2 G d 2 p G d p G d 1 p G d p 2 displaystyle a 2 left frac Gamma d 2 p Gamma d p left frac Gamma d 1 p Gamma d p right 2 right Entropyln a G d p p d p 1 p d p ps d p displaystyle ln frac a Gamma d p p frac d p left frac 1 p frac d p right psi left frac d p right Contents 1 Characteristics 2 Related distributions 3 Moments 4 Properties 5 Kullback Leibler divergence 6 Software implementation 7 See also 8 ReferencesCharacteristics editThe generalized gamma distribution has two shape parameters d gt 0 displaystyle d gt 0 nbsp and p gt 0 displaystyle p gt 0 nbsp and a scale parameter a gt 0 displaystyle a gt 0 nbsp For non negative x from a generalized gamma distribution the probability density function is 2 f x a d p p a d x d 1 e x a p G d p displaystyle f x a d p frac p a d x d 1 e x a p Gamma d p nbsp where G displaystyle Gamma cdot nbsp denotes the gamma function The cumulative distribution function is F x a d p g d p x a p G d p or P d p x a p displaystyle F x a d p frac gamma d p x a p Gamma d p text or P left frac d p left frac x a right p right nbsp where g displaystyle gamma cdot nbsp denotes the lower incomplete gamma function and P displaystyle P cdot cdot nbsp denotes the regularized lower incomplete gamma function The quantile function can be found by noting that F x a d p G x a p displaystyle F x a d p G x a p nbsp where G displaystyle G nbsp is the cumulative distribution function of the gamma distribution with parameters a d p displaystyle alpha d p nbsp and b 1 displaystyle beta 1 nbsp The quantile function is then given by inverting F displaystyle F nbsp using known relations about inverse of composite functions yielding F 1 q a d p a G 1 q 1 p displaystyle F 1 q a d p a cdot big G 1 q big 1 p nbsp with G 1 q displaystyle G 1 q nbsp being the quantile function for a gamma distribution with a d p b 1 displaystyle alpha d p beta 1 nbsp Related distributions editIf d p displaystyle d p nbsp then the generalized gamma distribution becomes the Weibull distribution If p 1 displaystyle p 1 nbsp the generalised gamma becomes the gamma distribution If p d 1 displaystyle p d 1 nbsp then it becomes the exponential distribution If p 2 displaystyle p 2 nbsp and d 2 m displaystyle d 2m nbsp then it becomes the Nakagami distribution If p 2 displaystyle p 2 nbsp and d 1 displaystyle d 1 nbsp then it becomes a half normal distribution Alternative parameterisations of this distribution are sometimes used for example with the substitution a 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 a 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 editIf X has a generalized gamma distribution as above then 3 E X r a r G d r p G d p displaystyle operatorname E X r a r frac Gamma frac d r p Gamma frac d p nbsp Properties editDenote GG a d p as the generalized gamma distribution of parameters a d p Then given c displaystyle c nbsp and a displaystyle alpha nbsp two positive real numbers if f G G a d p displaystyle f sim GG a d p nbsp then c f G G c a d p displaystyle cf sim GG ca d p nbsp and f a G G a a d a p a displaystyle f alpha sim GG left a alpha frac d alpha frac p alpha right nbsp Kullback Leibler divergence editIf f 1 displaystyle f 1 nbsp and f 2 displaystyle f 2 nbsp are the probability density functions of two generalized gamma distributions then their Kullback Leibler divergence is given by D K L f 1 f 2 0 f 1 x a 1 d 1 p 1 ln f 1 x a 1 d 1 p 1 f 2 x a 2 d 2 p 2 d x ln p 1 a 2 d 2 G d 2 p 2 p 2 a 1 d 1 G d 1 p 1 ps d 1 p 1 p 1 ln a 1 d 1 d 2 G d 1 p 2 p 1 G d 1 p 1 a 1 a 2 p 2 d 1 p 1 displaystyle begin aligned D KL f 1 parallel f 2 amp int 0 infty f 1 x a 1 d 1 p 1 ln frac f 1 x a 1 d 1 p 1 f 2 x a 2 d 2 p 2 dx amp ln frac p 1 a 2 d 2 Gamma left d 2 p 2 right p 2 a 1 d 1 Gamma left d 1 p 1 right left frac psi left d 1 p 1 right p 1 ln a 1 right d 1 d 2 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 nbsp where ps displaystyle psi cdot nbsp is the digamma function 5 Software implementation editIn 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 m ln a ln d ln p p displaystyle mu ln a frac ln d ln p p nbsp s 1 p d displaystyle sigma frac 1 sqrt pd nbsp Q p d displaystyle Q sqrt frac p d nbsp and in the package ggamma with parametrisation a a displaystyle a a nbsp b p displaystyle b p nbsp k d p displaystyle k d p nbsp In the python programming language it is implemented in the SciPy package with parametrisation c p displaystyle c p nbsp a d p displaystyle a d p nbsp and scale of 1 See also editHalf t distribution Truncated normal distribution Folded normal distribution Rectified Gaussian distribution Modified half normal distribution Generalized integer gamma distributionReferences edit 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 Retrieved from https en wikipedia org w index php title Generalized gamma distribution amp oldid 1152211378, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.