ArticleslgStudy

mathematics

Inverse-gamma distribution

Inverse-gamma distribution is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Inverse-gamma distribution rather than just read about it. In short: 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. Perhaps the chief use of the inverse gamma distribution is in Bayesian statistics, where the distribution arises as the marginal posterior distributio…

Inverse-gamma distribution — main illustration
Inverse-gamma distribution — illustration

Key takeaways

  • Inverse-gamma distribution belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Inverse-gamma distribution to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Inverse-gamma distribution from memory before moving on to harder problems.

Reference excerpt

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. 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 x>0

f(x;α,β)=βαΓ(α)(1/x)α+1exp⁡(−β/x) with shape parameter α and scale parameter β. Here Γ(⋅) denotes the gamma function. Unlike the gamma distribution, which contains a somewhat similar exponential term, β is a scale parameter as the density function satisfies:

f(x;α,β)=f(x/β;α,1)β

Cumulative distribution function The cumulative distribution function is the regularized gamma function

F(x;α,β)=Γ(α,βx)Γ(α)=Q(α,βx) where the numerator is the upper incomplete gamma function and the denominator is the gamma function. Many math packages allow direct computation of Q, the regularized gamma function.

Moments Provided that α>n, the n-th moment of the inverse gamma distribution is given by

E[Xn]=βnΓ(α−n)Γ(α)=βn(α−1)⋯(α−n).

Characteristic function The inverse gamma distribution has characteristic function 2(−iβt)α2Γ(α)Kα(−4iβt) where Kα is the modified Bessel function of the 2nd kind.

Properties For α>0 and β>0,

𝔼[ln⁡(X)]=ln⁡(β)−ψ(α) and

𝔼[X−1]=αβ, The information entropy is

H⁡(X)=E⁡[−ln⁡(p(X))]=E⁡[−αln⁡(β)+ln⁡(Γ(α))+(α+1)ln⁡(X)+βX]=−αln⁡(β)+ln⁡(Γ(α))+(α+1)ln⁡(β)−(α+1)ψ(α)+α=α+ln⁡(βΓ(α))−(α+1)ψ(α). 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): DKL(αp,βp;αq,βq)=𝔼[log⁡ρ(X)π(X)]=𝔼[log⁡ρ(1/Y)π(1/Y)]=𝔼[log⁡ρG(Y)πG(Y)], where ρ,π are the pdfs of the Inverse-Gamma distributions and ρG,πG are the pdfs of the Gamma distributions, Y is Gamma(αp, βp) distributed.

DKL(αp,βp;αq,βq)=(αp−αq)ψ(αp)−log⁡Γ(αp)+log⁡Γ(αq)+αq(log⁡βp−log⁡βq)+αpβq−βpβp.

Related distributions If X∼Inv-Gamma(α,β) then kX∼Inv-Gamma(α,kβ), for k>0 If X∼Inv-Gamma(α,12) then X∼Inv-χ2(2α) (inverse-chi-squared distribution) If X∼Inv-Gamma(α2,12) then X∼Scaled Inv-χ2(α,1α) (scaled-inverse-chi-squared distribution) If X∼Inv-Gamma(12,c2) then X∼Levy(0,c) (Lévy distribution) If X∼Inv-Gamma(1,c) then 1X∼Exp(c) (Exponential distribution) If X∼Gamma(α,β) (Gamma distribution with rate parameter β) then 1X∼Inv-Gamma(α,β) (see derivation in the next paragraph for details) Note that If X∼Gamma(k,θ) (Gamma distribution with scale parameter θ ) then 1/X∼Inv-Gamma(k,1/θ) 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 X∼Gamma(α,β), and recall that the pdf of the gamma distribution is

fX(x)=βαΓ(α)xα−1e−βx, x>0. Note that β is the rate parameter from the perspective of the gamma distribution. Define the transformation Y=g(X)=1X. Then, the pdf of Y is

fY(y)=fX(g−1(y))|ddyg−1(y)|=βαΓ(α)(1y)α−1exp⁡(−βy)1y2=βαΓ(α)(1y)α+1exp⁡(−βy)=βαΓ(α)y−α−1exp⁡(−βy) 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.

f(y/β;α,1)β=1β1Γ(α)(yβ)−α−1exp⁡(−1y/β)=βαΓ(α)y−α−1exp⁡(−βy)=f(y;α,β)

Occurrence Hitting time distribution of a Wiener process follows a Lévy distribution, which is a special case of the inverse-gamma distribution with α=0.5.

See also Gamma distribution Inverse-chi-squared distribution Normal distribution Pearson distribution

References

Witkovsky, V. (2001). "Computing the Distribution of a Linear Combination of Inverted Gamma Variables". Kybernetika. 37 (1): 79–90. MR 1825758. Zbl 1263.62022.

Illustrations

Inverse-gamma distribution illustration
Inverse-gamma distribution illustration

Worked examples

Example 1 — a first encounter with Inverse-gamma distribution

Start with the simplest possible case. Write down what Inverse-gamma distribution claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Inverse-gamma distribution before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Inverse-gamma distribution ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Inverse-gamma distribution

In research
Inverse-gamma distribution appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Inverse-gamma distribution in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Inverse-gamma distribution is common in secondary-school and first-year university syllabi. It links to neighbouring topics Conjugate prior distributions, Continuous distributions, Exponential family distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Inverse-gamma distribution outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Inverse-gamma distribution” →

How to study Inverse-gamma distribution in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Inverse-gamma distribution means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Inverse-gamma distribution out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Inverse-gamma distribution in simple terms?

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. Perhaps the chief use of the i…

Why does Inverse-gamma distribution matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Inverse-gamma distribution?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Inverse-gamma distribution.

Tags

  • Conjugate prior distributions
  • Continuous distributions
  • Exponential family distributions
  • Gamma and related functions
  • Probability distributions with non-finite variance

Keep exploring