fbpx
Wikipedia

Inverse-gamma distribution

In probability theory and statistics, the inverse gamma distribution is a two-parameter family of continuous probability distributions on the positive real line, which is the distribution of the reciprocal of a variable distributed according to the gamma distribution.

Inverse-gamma
Probability density function
Cumulative distribution function
Parameters shape (real)
scale (real)
Support
PDF
CDF
Mean for
Mode
Variance for
Skewness for
Ex. kurtosis for
Entropy


(see digamma function)
MGF Does not exist.
CF

Perhaps the chief use of the inverse gamma distribution is in Bayesian statistics, where the distribution arises as the marginal posterior distribution for the unknown variance of a normal distribution, if an uninformative prior is used, and as an analytically tractable conjugate prior, if an informative prior is required. It is common among some Bayesians to consider an alternative parametrization of the normal distribution in terms of the precision, defined as the reciprocal of the variance, which allows the gamma distribution to be used directly as a conjugate prior. Other Bayesians prefer to parametrize the inverse gamma distribution differently, as a scaled inverse chi-squared distribution.

Characterization

Probability density function

The inverse gamma distribution's probability density function is defined over the support  

 

with shape parameter   and scale parameter  .[1] Here   denotes the gamma function.

Unlike the Gamma distribution, which contains a somewhat similar exponential term,   is a scale parameter as the distribution function satisfies:

 

Cumulative distribution function

The cumulative distribution function is the regularized gamma function

 

where the numerator is the upper incomplete gamma function and the denominator is the gamma function. Many math packages allow direct computation of  , the regularized gamma function.

Moments

Provided that  , the  -th moment of the inverse gamma distribution is given by[2]

 

Characteristic function

  in the expression of the characteristic function is the modified Bessel function of the 2nd kind.

Properties

For   and  ,

 

and

 

The information entropy is

 

where   is the digamma function.

The Kullback-Leibler divergence of Inverse-Gamma(αp, βp) from Inverse-Gamma(αq, βq) is the same as the KL-divergence of Gamma(αp, βp) from Gamma(αq, βq):

 

where   are the pdfs of the Inverse-Gamma distributions and   are the pdfs of the Gamma distributions,   is Gamma(αp, βp) distributed.

 

Related distributions

  • If   then  , for  
  • If   then   (inverse-chi-squared distribution)
  • If   then   (scaled-inverse-chi-squared distribution)
  • If   then   (Lévy distribution)
  • If   then   (Exponential distribution)
  • If   (Gamma distribution with rate parameter  ) then   (see derivation in the next paragraph for details)
  • Note that If   (Gamma distribution with scale parameter   ) then  
  • Inverse gamma distribution is a special case of type 5 Pearson distribution
  • A multivariate generalization of the inverse-gamma distribution is the inverse-Wishart distribution.
  • For the distribution of a sum of independent inverted Gamma variables see Witkovsky (2001)

Derivation from Gamma distribution

Let  , and recall that the pdf of the gamma distribution is

 ,  .

Note that   is the rate parameter from the perspective of the gamma distribution.

Define the transformation  . Then, the pdf of   is

 

Note that   is the scale parameter from the perspective of the inverse gamma distribution. This can be straightforwardly demonstrated by seeing that   satisfies the conditions for being a scale parameter.

 


Occurrence

See also

References

  1. ^ "InverseGammaDistribution—Wolfram Language Documentation". reference.wolfram.com. Retrieved 9 April 2018.
  2. ^ John D. Cook (Oct 3, 2008). "InverseGammaDistribution" (PDF). Retrieved 3 Dec 2018.
  3. ^ Ludkovski, Mike (2007). "Math 526: Brownian Motion Notes" (PDF). UC Santa Barbara. pp. 5–6.{{cite web}}: CS1 maint: url-status (link)
  • Hoff, P. (2009). "A first course in bayesian statistical methods". Springer.
  • Witkovsky, V. (2001). "Computing the Distribution of a Linear Combination of Inverted Gamma Variables". Kybernetika. 37 (1): 79–90. MR 1825758. Zbl 1263.62022.

inverse, gamma, distribution, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, scholar, jsto. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Inverse gamma distribution news newspapers books scholar JSTOR October 2014 Learn how and when to remove this template message In probability theory and statistics the inverse gamma distribution is a two parameter family of continuous probability distributions on the positive real line which is the distribution of the reciprocal of a variable distributed according to the gamma distribution Inverse gammaProbability density functionCumulative distribution functionParametersa gt 0 displaystyle alpha gt 0 shape real b gt 0 displaystyle beta gt 0 scale real Supportx 0 displaystyle x in 0 infty PDFb a G a x a 1 exp b x displaystyle frac beta alpha Gamma alpha x alpha 1 exp left frac beta x right CDFG a b x G a displaystyle frac Gamma alpha beta x Gamma alpha Meanb a 1 displaystyle frac beta alpha 1 for a gt 1 displaystyle alpha gt 1 Modeb a 1 displaystyle frac beta alpha 1 Varianceb 2 a 1 2 a 2 displaystyle frac beta 2 alpha 1 2 alpha 2 for a gt 2 displaystyle alpha gt 2 Skewness4 a 2 a 3 displaystyle frac 4 sqrt alpha 2 alpha 3 for a gt 3 displaystyle alpha gt 3 Ex kurtosis6 5 a 11 a 3 a 4 displaystyle frac 6 5 alpha 11 alpha 3 alpha 4 for a gt 4 displaystyle alpha gt 4 Entropya ln b G a 1 a ps a displaystyle alpha ln beta Gamma alpha 1 alpha psi alpha see digamma function MGFDoes not exist CF2 i b t a 2 G a K a 4 i b t displaystyle frac 2 left i beta t right frac alpha 2 Gamma alpha K alpha left sqrt 4i beta t right Perhaps the chief use of the inverse gamma distribution is in Bayesian statistics where the distribution arises as the marginal posterior distribution for the unknown variance of a normal distribution if an uninformative prior is used and as an analytically tractable conjugate prior if an informative prior is required It is common among some Bayesians to consider an alternative parametrization of the normal distribution in terms of the precision defined as the reciprocal of the variance which allows the gamma distribution to be used directly as a conjugate prior Other Bayesians prefer to parametrize the inverse gamma distribution differently as a scaled inverse chi squared distribution Contents 1 Characterization 1 1 Probability density function 1 2 Cumulative distribution function 1 3 Moments 1 4 Characteristic function 2 Properties 3 Related distributions 4 Derivation from Gamma distribution 5 Occurrence 6 See also 7 ReferencesCharacterization EditProbability density function Edit The inverse gamma distribution s probability density function is defined over the support x gt 0 displaystyle x gt 0 f x a b b a G a 1 x a 1 exp b x displaystyle f x alpha beta frac beta alpha Gamma alpha 1 x alpha 1 exp left beta x right with shape parameter a displaystyle alpha and scale parameter b displaystyle beta 1 Here G displaystyle Gamma cdot denotes the gamma function Unlike the Gamma distribution which contains a somewhat similar exponential term b displaystyle beta is a scale parameter as the distribution function satisfies f x a b f x b a 1 b displaystyle f x alpha beta frac f x beta alpha 1 beta Cumulative distribution function Edit The cumulative distribution function is the regularized gamma function F x a b G a b x G a Q a b x displaystyle F x alpha beta frac Gamma left alpha frac beta x right Gamma alpha Q left alpha frac beta x right where the numerator is the upper incomplete gamma function and the denominator is the gamma function Many math packages allow direct computation of Q displaystyle Q the regularized gamma function Moments Edit Provided that a gt n displaystyle alpha gt n the n displaystyle n th moment of the inverse gamma distribution is given by 2 E X n b n G a n G a b n a 1 a n displaystyle mathrm E X n beta n frac Gamma alpha n Gamma alpha frac beta n alpha 1 cdots alpha n Characteristic function Edit K a displaystyle K alpha cdot in the expression of the characteristic function is the modified Bessel function of the 2nd kind Properties EditFor a gt 0 displaystyle alpha gt 0 and b gt 0 displaystyle beta gt 0 E ln X ln b ps a displaystyle mathbb E ln X ln beta psi alpha and E X 1 a b displaystyle mathbb E X 1 frac alpha beta The information entropy is H X E ln p X E a ln b ln G a a 1 ln X b X a ln b ln G a a 1 ln b a 1 ps a a a ln b G a a 1 ps a displaystyle begin aligned operatorname H X amp operatorname E ln p X amp operatorname E left alpha ln beta ln Gamma alpha alpha 1 ln X frac beta X right amp alpha ln beta ln Gamma alpha alpha 1 ln beta alpha 1 psi alpha alpha amp alpha ln beta Gamma alpha alpha 1 psi alpha end aligned where ps a displaystyle psi alpha is the digamma function The Kullback Leibler divergence of Inverse Gamma ap bp from Inverse Gamma aq bq is the same as the KL divergence of Gamma ap bp from Gamma aq bq D K L a p b p a q b q E log r X p X E log r 1 Y p 1 Y E log r G Y p G Y displaystyle D mathrm KL alpha p beta p alpha q beta q mathbb E left log frac rho X pi X right mathbb E left log frac rho 1 Y pi 1 Y right mathbb E left log frac rho G Y pi G Y right where r p displaystyle rho pi are the pdfs of the Inverse Gamma distributions and r G p G displaystyle rho G pi G are the pdfs of the Gamma distributions Y displaystyle Y is Gamma ap bp distributed D K L a p b p a q b q a p a q ps a p log G a p log G a q a q log b p log b q a p b q b p b p displaystyle begin aligned D mathrm KL alpha p beta p alpha q beta q amp alpha p alpha q psi alpha p log Gamma alpha p log Gamma alpha q alpha q log beta p log beta q alpha p frac beta q beta p beta p end aligned Related distributions EditIf X Inv Gamma a b displaystyle X sim mbox Inv Gamma alpha beta then k X Inv Gamma a k b displaystyle kX sim mbox Inv Gamma alpha k beta for k gt 0 displaystyle k gt 0 If X Inv Gamma a 1 2 displaystyle X sim mbox Inv Gamma alpha tfrac 1 2 then X Inv x 2 2 a displaystyle X sim mbox Inv chi 2 2 alpha inverse chi squared distribution If X Inv Gamma a 2 1 2 displaystyle X sim mbox Inv Gamma tfrac alpha 2 tfrac 1 2 then X Scaled Inv x 2 a 1 a displaystyle X sim mbox Scaled Inv chi 2 alpha tfrac 1 alpha scaled inverse chi squared distribution If X Inv Gamma 1 2 c 2 displaystyle X sim textrm Inv Gamma tfrac 1 2 tfrac c 2 then X Levy 0 c displaystyle X sim textrm Levy 0 c Levy distribution If X Inv Gamma 1 c displaystyle X sim textrm Inv Gamma 1 c then 1 X Exp c displaystyle tfrac 1 X sim textrm Exp c Exponential distribution If X Gamma a b displaystyle X sim mbox Gamma alpha beta Gamma distribution with rate parameter b displaystyle beta then 1 X Inv Gamma a b displaystyle tfrac 1 X sim mbox Inv Gamma alpha beta see derivation in the next paragraph for details Note that If X Gamma k 8 displaystyle X sim mbox Gamma k theta Gamma distribution with scale parameter 8 displaystyle theta then 1 X Inv Gamma k 1 8 displaystyle 1 X sim mbox Inv Gamma k 1 theta Inverse gamma distribution is a special case of type 5 Pearson distribution A multivariate generalization of the inverse gamma distribution is the inverse Wishart distribution For the distribution of a sum of independent inverted Gamma variables see Witkovsky 2001 Derivation from Gamma distribution EditLet X Gamma a b displaystyle X sim mbox Gamma alpha beta and recall that the pdf of the gamma distribution is f X x b a G a x a 1 e b x displaystyle f X x frac beta alpha Gamma alpha x alpha 1 e beta x x gt 0 displaystyle x gt 0 Note that b displaystyle beta is the rate parameter from the perspective of the gamma distribution Define the transformation Y g X 1 X displaystyle Y g X tfrac 1 X Then the pdf of Y displaystyle Y is f Y y f X g 1 y d d y g 1 y b a G a 1 y a 1 exp b y 1 y 2 b a G a 1 y a 1 exp b y b a G a y a 1 exp b y displaystyle begin aligned f Y y amp f X left g 1 y right left frac d dy g 1 y right 6pt amp frac beta alpha Gamma alpha left frac 1 y right alpha 1 exp left frac beta y right frac 1 y 2 6pt amp frac beta alpha Gamma alpha left frac 1 y right alpha 1 exp left frac beta y right 6pt amp frac beta alpha Gamma alpha left y right alpha 1 exp left frac beta y right 6pt end aligned Note that b displaystyle beta is the scale parameter from the perspective of the inverse gamma distribution This can be straightforwardly demonstrated by seeing that b displaystyle beta satisfies the conditions for being a scale parameter f b y b b 1 b b a G a y b a 1 exp y 1 G a y a 1 exp y f b 1 y displaystyle begin aligned frac f beta y beta beta amp frac 1 beta frac beta alpha Gamma alpha left frac y beta right alpha 1 exp y 6pt amp frac 1 Gamma alpha left y right alpha 1 exp y 6pt amp f beta 1 y end aligned Occurrence EditHitting time distribution of a Wiener process follows a Levy distribution which is a special case of the inverse gamma distribution with a 0 5 displaystyle alpha 0 5 3 See also EditGamma distribution Inverse chi squared distribution Normal distribution Pearson distributionReferences Edit InverseGammaDistribution Wolfram Language Documentation reference wolfram com Retrieved 9 April 2018 John D Cook Oct 3 2008 InverseGammaDistribution PDF Retrieved 3 Dec 2018 Ludkovski Mike 2007 Math 526 Brownian Motion Notes PDF UC Santa Barbara pp 5 6 a href Template Cite web html title Template Cite web cite web a CS1 maint url status link Hoff P 2009 A first course in bayesian statistical methods Springer Witkovsky V 2001 Computing the Distribution of a Linear Combination of Inverted Gamma Variables Kybernetika 37 1 79 90 MR 1825758 Zbl 1263 62022 Retrieved from https en wikipedia org w index php title Inverse gamma distribution amp oldid 1128939041, 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.