In
probability theory
Probability theory or probability calculus is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expre ...
and
statistics
Statistics (from German language, German: ', "description of a State (polity), state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a s ...
, the inverse gamma distribution is a two-parameter family of continuous
probability distribution
In probability theory and statistics, a probability distribution is a Function (mathematics), function that gives the probabilities of occurrence of possible events for an Experiment (probability theory), experiment. It is a mathematical descri ...
s on the positive
real line
A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin (geometry), origin point representing the number zero and evenly spaced mark ...
, which is the distribution of the
reciprocal of a variable distributed according to the
gamma distribution
In probability theory and statistics, the gamma distribution is a versatile two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the g ...
.
Perhaps the chief use of the inverse gamma distribution is in
Bayesian statistics
Bayesian statistics ( or ) is a theory in the field of statistics based on the Bayesian interpretation of probability, where probability expresses a ''degree of belief'' in an event. The degree of belief may be based on prior knowledge about ...
, where the distribution arises as the marginal posterior distribution for the unknown
variance
In probability theory and statistics, variance is the expected value of the squared deviation from the mean of a random variable. The standard deviation (SD) is obtained as the square root of the variance. Variance is a measure of dispersion ...
of a
normal distribution
In probability theory and statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is
f(x) = \frac ...
, if an
uninformative prior
A prior probability distribution of an uncertain quantity, simply called the prior, is its assumed probability distribution before some evidence is taken into account. For example, the prior could be the probability distribution representing the ...
is used, and as an analytically tractable
conjugate prior
In Bayesian probability theory, if, given a likelihood function
p(x \mid \theta), the posterior distribution p(\theta \mid x) is in the same probability distribution family as the prior probability distribution p(\theta), the prior and posteri ...
, if an informative prior is required. It is common among some Bayesians to consider an alternative
parametrization of the
normal distribution
In probability theory and statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is
f(x) = \frac ...
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
In probability theory, a probability density function (PDF), density function, or density of an absolutely continuous random variable, is a Function (mathematics), function whose value at any given sample (or point) in the sample space (the s ...
is defined over the
support
:
with
shape parameter
In probability theory and statistics, a shape parameter (also known as form parameter) is a kind of numerical parameter of a parametric family of probability distributionsEveritt B.S. (2002) Cambridge Dictionary of Statistics. 2nd Edition. CUP.
th ...
and
scale parameter
In probability theory and statistics, a scale parameter is a special kind of numerical parameter of a parametric family of probability distributions. The larger the scale parameter, the more spread out the distribution.
Definition
If a family ...
. Here
denotes the
gamma function
In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
.
Unlike the
gamma distribution
In probability theory and statistics, the gamma distribution is a versatile two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the g ...
, which contains a somewhat similar exponential term,
is a scale parameter as the density function satisfies:
:
Cumulative distribution function
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.
Ever ...
is the
regularized gamma function
:
where the numerator is the upper
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 ...
and the denominator is the
gamma function
In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
. 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
:
Characteristic function
The inverse gamma distribution has
characteristic function In mathematics, the term "characteristic function" can refer to any of several distinct concepts:
* The indicator function of a subset, that is the function
\mathbf_A\colon X \to \,
which for a given subset ''A'' of ''X'', has value 1 at points ...
where
is the
modified Bessel function
Bessel functions, named after Friedrich Bessel who was the first to systematically study them in 1824, are canonical solutions of Bessel's differential equation
x^2 \frac + x \frac + \left(x^2 - \alpha^2 \right)y = 0
for an arbitrary complex ...
of the 2nd kind.
Properties
For
and
,
:
and
:
The
information entropy
In information theory, the entropy of a random variable quantifies the average level of uncertainty or information associated with the variable's potential states or possible outcomes. This measures the expected amount of information needed ...
is
:
where
is the
digamma function
In mathematics, the digamma function is defined as the logarithmic derivative of the gamma function:
:\psi(z) = \frac\ln\Gamma(z) = \frac.
It is the first of the polygamma functions. This function is Monotonic function, strictly increasing a ...
.
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
In probability theory and statistics, the Lévy distribution, named after Paul Lévy, is a continuous probability distribution for a non-negative random variable. In spectroscopy, this distribution, with frequency as the dependent variable, is k ...
)
* If
then
(
Exponential distribution
In probability theory and statistics, the exponential distribution or negative exponential distribution is the probability distribution of the distance between events in a Poisson point process, i.e., a process in which events occur continuousl ...
)
* If
(
Gamma distribution
In probability theory and statistics, the gamma distribution is a versatile two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the g ...
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
The Pearson distribution is a family of continuous probability distributions. It was first published by Karl Pearson in 1895 and subsequently extended by him in 1901 and 1916 in a series of articles on biostatistics.
History
The Pearson syste ...
* A
multivariate generalization of the inverse-gamma distribution is the
inverse-Wishart distribution
In statistics, the inverse Wishart distribution, also called the inverted Wishart distribution, is a probability distribution defined on real-valued positive-definite matrices. In Bayesian statistics it is used as the conjugate prior for the cov ...
.
* 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
In probability theory and statistics, the gamma distribution is a versatile two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the g ...
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
In probability theory and statistics, a scale parameter is a special kind of numerical parameter of a parametric family of probability distributions. The larger the scale parameter, the more spread out the distribution.
Definition
If a family ...
.
:
Occurrence
*
Hitting time distribution of a
Wiener process
In mathematics, the Wiener process (or Brownian motion, due to its historical connection with Brownian motion, the physical process of the same name) is a real-valued continuous-time stochastic process discovered by Norbert Wiener. It is one o ...
follows a
Lévy distribution
In probability theory and statistics, the Lévy distribution, named after Paul Lévy, is a continuous probability distribution for a non-negative random variable. In spectroscopy, this distribution, with frequency as the dependent variable, is k ...
, which is a special case of the inverse-gamma distribution with
.
See also
*
Gamma distribution
In probability theory and statistics, the gamma distribution is a versatile two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the g ...
*
Inverse-chi-squared distribution
*
Normal distribution
In probability theory and statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is
f(x) = \frac ...
*
Pearson distribution
The Pearson distribution is a family of continuous probability distributions. It was first published by Karl Pearson in 1895 and subsequently extended by him in 1901 and 1916 in a series of articles on biostatistics.
History
The Pearson syste ...
References
*
{{DEFAULTSORT:Inverse-Gamma Distribution
Continuous distributions
Conjugate prior distributions
Probability distributions with non-finite variance
Exponential family distributions
Gamma and related functions