Normal-inverse-gamma distribution

normal-inverse-gamma
Parameters location (real)
(real)
(real)
(real)
Support
PDF

In probability theory and statistics, the normal-inverse-gamma distribution (or Gaussian-inverse-gamma distribution) is a four-parameter family of multivariate continuous probability distributions. It is the conjugate prior of a normal distribution with unknown mean and variance.

Definition

Suppose

has a normal distribution with mean and variance , where

has an inverse gamma distribution. Then has a normal-inverse-gamma distribution, denoted as

( is also used instead of )

In a multivariate form of the normal-inverse-gamma distribution, -- that is, conditional on , is a random vector that follows the multivariate normal distribution with mean and covariance -- while, as in the univariate case, .

Characterization

Probability density function

For the multivariate form where is a random vector,

where is the determinant of the matrix . Note how this last equation reduces to the first form if so that are scalars.

Alternative parameterization

It is also possible to let in which case the pdf becomes

In the multivariate form, the corresponding change would be to regard the covariance matrix instead of its inverse as a parameter.

Cumulative distribution function

Differential equation

The probability density function of the normal-inverse-gamma distribution is a solution to the following differential equation:

Properties

Marginal distributions

Given as above, by itself follows an inverse gamma distribution:

while follows a t distribution with degrees of freedom.

In the multivariate case, the marginal distribution of is a multivariate t distribution:

Posterior distribution of the parameters

See the articles on normal-gamma distribution and conjugate prior.

Interpretation of the parameters

See the articles on normal-gamma distribution and conjugate prior.

Generating normal-inverse-gamma random variates

Generation of random variates is straightforward:

  1. Sample from an inverse gamma distribution with parameters and
  2. Sample from a normal distribution with mean and variance

Related distributions

References

This article is issued from Wikipedia - version of the 11/17/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.