ArticleslgStudy

mathematics

Inverse Gaussian distribution

Inverse Gaussian 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 Gaussian distribution rather than just read about it. In short: In probability theory, the inverse Gaussian distribution (also known as the Wald distribution) is a two-parameter family of continuous probability distributions with support on ⁠(0,∞)⁠. Its probability density function is given by f(x;μ,λ)=λ2πx3exp⁡(−λ(x−μ)22μ2x) for ⁠x>0⁠, where μ>0 is the mean and λ>0 is a shape parameter.

Inverse Gaussian distribution — main illustration
Inverse Gaussian distribution — illustration

Key takeaways

  • Inverse Gaussian 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 Gaussian distribution to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Inverse Gaussian distribution from memory before moving on to harder problems.

Reference excerpt

In probability theory, the inverse Gaussian distribution (also known as the Wald distribution) is a two-parameter family of continuous probability distributions with support on ⁠(0,∞)⁠. Its probability density function is given by

f(x;μ,λ)=λ2πx3exp⁡(−λ(x−μ)22μ2x) for ⁠x>0⁠, where μ>0 is the mean and λ>0 is a shape parameter. Either ⁠μ⁠ or ⁠λ⁠ (or more generally any combination of the form μpλ1−p for any real ⁠p⁠) can serve as a scale parameter, so a proper (i.e., unscaled) shape parameter would be any non-zero power of ⁠φ=λ/μ⁠: Tweedie proposed to use the ⁠(μ,φ)⁠ and ⁠(φ,λ)⁠ parametrizations in addition to the standard ⁠(μ,λ)⁠ parametrization (“Each of these forms is convenient or suggestive for some purpose.”), and later on uses exclusively the ⁠(φ,λ)⁠ parametrization. The inverse Gaussian distribution has several properties analogous to a Gaussian distribution. The name can be misleading: it is an inverse only in that, while the Gaussian describes a Brownian motion's level at a fixed time, the inverse Gaussian describes the distribution of the time a Brownian motion with positive drift takes to reach a fixed positive level. The relationship between the Gaussian and inverse Gaussian distributions is thus the same as the relationship between the binomial (number of successes for a fixed number of Bernoulli trials) and negative binomial (number of Bernoulli trials for a fixed number of successes) distributions. The y-axis reflections of the cumulant generating functions of the Gaussian and inverse Gaussian distributions are inverse of each other (i.e., the graphs of the two cumulant generating functions are reflections of each other across the line ⁠y=−x⁠), a property that is also shared between the binomial and negative binomial distributions (after dividing their cumulant generating functions by their respective fixed parameter). To indicate that a random variable ⁠X⁠ is inverse Gaussian-distributed with mean ⁠μ⁠ and shape parameter ⁠λ⁠ we write ⁠X∼IG⁡(μ,λ)⁠.

Properties

Single parameter form The probability density function (pdf) of the inverse Gaussian distribution has a single parameter form given by

f(x;μ,μ2)=μ2πx3exp⁡(−(x−μ)22x). In this form, the mean and variance of the distribution are equal, ⁠𝔼[X]=Var⁡(X)⁠. Also, the cumulative distribution function (cdf) of the single parameter inverse Gaussian distribution is related to the standard normal distribution by

Pr⁡(X<x)=Φ(−z1)+e2μΦ(−z2), where ⁠z1=μx1/2−x1/2⁠, ⁠z2=μx1/2+x1/2⁠, and the Φ is the cdf of standard normal distribution. The variables z1 and z2 are related to each other by the identity ⁠z22=z12+4μ⁠. In the single parameter form, the MGF simplifies to

M(t)=exp⁡[μ(1−1−2t)]. An inverse Gaussian distribution in double parameter form f(x;μ,λ) can be transformed into a single parameter form f(y;μ0,μ02) by appropriate scaling ⁠y=μ2xλ⁠, where ⁠μ0=μ3/λ⁠. The above paragraph can be re-written as: if ⁠Y=λX/μ2<⁠, then ⁠Y∼IG⁡(λ/μ,(λ/μ)2)⁠. This approach is better in the sense that it clearly shows dimensionless nature of the single parameter form (note that ⁠dim⁡λ=dim⁡μ=dim⁡x⁠). This property follows from a more general fact: if a>0 and ⁠Y=aX⁠, then ⁠Y∼IG⁡(aμ,aλ)⁠. The standard form of inverse Gaussian distribution is

f(x;1,1)=12πx3exp⁡(−(x−1)22x).

Summation If ⁠Xi⁠ has an IG⁡(μ0wi,λ0wi2) distribution for ⁠i=1,2,…,n⁠ and all ⁠Xi⁠ are independent, then

S=∑i=1nXi∼IG⁡(μ0∑wi,λ0(∑wi)2). The special case wi=1/n shows that the inverse Gaussian distribution is infinitely divisible. Note that

Var⁡(Xi)E⁡(Xi)=μ02wi2λ0wi2=μ02λ0 is constant for all ⁠i⁠. This is a necessary condition for the summation. Otherwise ⁠S⁠ would not be Inverse Gaussian distributed.

Scaling For any ⁠t>0⁠ it holds that

X∼IG⁡(μ,λ)⇒tX∼IG⁡(tμ,tλ).

Exponential family The inverse Gaussian distribution is a two-parameter exponential family with natural parameters ⁠−λ/(2μ2)⁠ and ⁠−λ/2⁠, and natural statistics ⁠X⁠ and ⁠1/X⁠. For λ>0 fixed, it is also a single-parameter natural exponential family distribution where the base distribution has density

h(x)=λ2πx3exp⁡(−λ2x)𝟙[0,∞)(x). Indeed, with ⁠θ≤0⁠,

p(x;θ)=exp⁡(θx)h(x)∫exp⁡(θy)h(y)dy is a density over the reals. Evaluating the integral, we get

p(x;θ)=λ2πx3exp⁡(−λ2x+θx−−2λθ)𝟙[0,∞)(x). Substituting θ=−λ/(2μ2) makes the above expression equal to ⁠f(x;μ,λ)⁠.

Relationship with Brownian motion

Let the stochastic process ⁠Xt⁠ be given by

X0=0 Xt=νt+σWt where ⁠Wt⁠ is a standard Brownian motion. That is, ⁠Xt⁠ is a Brownian motion with drift ⁠ν>0⁠. Then the first passage time for a fixed level α>0 by ⁠Xt⁠ is distributed according to an inverse-Gaussian:

Tα=inf⁡{t>0∣Xt=α}∼IG⁡(αν,(ασ)2)=ασ2πx3exp⁡(−(α−νx)22σ2x) i.e

P(Tα∈(T,T+dT))=ασ2πT3exp⁡(−(α−νT)22σ2T)dT (cf. Schrödinger equation 19, Smoluchowski, equation 8, and Folks, equation 1).

When drift is zero A common special case of the above arises when the Brownian motion has no drift. In that case, parameter ⁠μ⁠ tends to infinity, and the first passage time for fixed level ⁠α⁠ has probability density function

f(x;0,(ασ)2)=ασ2πx3exp⁡(−α22σ2x) (see also Bachelier). This is a Lévy distribution with parameters c=(ασ)2 and ⁠μ=0⁠.

Maximum likelihood The model where

Xi∼IG⁡(μ,λwi),i=1,2,…,n with all ⁠wi⁠ known, ⁠(μ,λ)⁠ unknown and all ⁠Xi⁠ independent has the following likelihood function:

L(μ,λ)=(λ2π)n2(∏i=1nwiXi3)12exp⁡(λμ∑i=1nwi−λ2μ2∑i=1nwiXi−λ2∑i=1nwi1Xi). Solving the likelihood equation yields the following maximum likelihood estimates

μ^=∑i=1nwiXi∑i=1nwi,1λ^=1n∑i=1nwi(1Xi−1μ^). μ^ and λ^ are independent and

μ^∼IG⁡(μ,λ∑i=1nwi),nλ^∼1λχn−12.

Sampling from an inverse-Gaussian distribution The following algorithm may be used.

Generate a random variate from a normal distribution with mean ⁠0⁠ and standard deviation equal ⁠1⁠

ν∼N(0,1). Square the value

y=ν2 and use the relation

x=μ+μ2y2λ−μ2λ4μλy+μ2y2. Generate another random variate, this time sampled from a uniform distribution between ⁠0⁠ and ⁠1⁠

z∼U(0,1). If z≤μμ+x then return x else return μ2x.

Sample code in Java:

And to plot Wald distribution in Python using matplotlib and NumPy:

Related distributions If ⁠X∼IG⁡(μ,λ)⁠, then ⁠kX∼IG⁡(kμ,kλ)⁠ for any number ⁠k>0⁠. If Xi∼IG⁡(μ,λ) then ⁠1⁠. If Xi∼IG⁡(μ,λ) for i=1,…,n then ⁠X¯∼IG⁡(μ,nλ)⁠. If Xi∼IG⁡(μi,2μi2) then ⁠∑i=1nXi∼IG⁡(∑i=1nμi,2(∑i=1nμi)2)⁠. If ⁠X∼IG⁡(μ,λ)⁠, then ⁠λ(X−μ)2/μ2X∼χ2(1)⁠. The convolution of an inverse Gaussian distribution (a Wald distribution) and an exponential (an ex-Wald distribution) is used as a model for response times in psychology, with visual search as one example.

… excerpt ends here. Continue reading the full article.

Illustrations

Inverse Gaussian distribution illustration
Inverse Gaussian distribution illustration
Inverse Gaussian distribution: Example of stopped random walks with ⁠α=1,ν=0.1,σ=0.2⁠. The upper figure shows the histogram of waiting times, along with the prediction according to inverse gaussian distribution. The lower figure shows the trajectories.
Example of stopped random walks with ⁠α=1,ν=0.1,σ=0.2⁠. The upper figure shows the histogram of waiting times, along with the prediction according to inverse gaussian distribution. The lower figure shows the trajectories.
Inverse Gaussian distribution: Wald distribution using Python with aid of matplotlib and NumPy
Wald distribution using Python with aid of matplotlib and NumPy

Worked examples

Example 1 — a first encounter with Inverse Gaussian distribution

Start with the simplest possible case. Write down what Inverse Gaussian 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 Gaussian 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 Gaussian 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 Gaussian distribution

In research
Inverse Gaussian 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 Gaussian 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 Gaussian distribution is common in secondary-school and first-year university syllabi. It links to neighbouring topics Continuous distributions, Exponential family distributions, Infinitely divisible probability distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Inverse Gaussian 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 Gaussian distribution” →

How to study Inverse Gaussian distribution in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Inverse Gaussian 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 Gaussian distribution out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Inverse Gaussian distribution in simple terms?

In probability theory, the inverse Gaussian distribution (also known as the Wald distribution) is a two-parameter family of continuous probability distributions with support on ⁠(0,∞)⁠. Its probability density function is given by f(x;μ,λ)=λ2πx3exp⁡(−λ(x−μ)22μ2x) for ⁠x>0⁠, where μ>0 is the mean an…

Why does Inverse Gaussian 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 Gaussian 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 Gaussian distribution.

Tags

  • Continuous distributions
  • Exponential family distributions
  • Infinitely divisible probability distributions

Keep exploring