Normal-Wishart distribution

From testwiki
Revision as of 21:05, 24 April 2023 by imported>Ngiann (Undid revision 1151558076 by Ngiann (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision β†’ (diff)
Jump to navigation Jump to search

Template:Probability distribution In probability theory and statistics, the normal-Wishart distribution (or Gaussian-Wishart distribution) is a multivariate four-parameter family of continuous probability distributions. It is the conjugate prior of a multivariate normal distribution with unknown mean and precision matrix (the inverse of the covariance matrix).[1]

Definition

Suppose

μ|μ0,λ,Λ𝒩(μ0,(λΛ)1)

has a multivariate normal distribution with mean μ0 and covariance matrix (λΛ)1, where

Λ|𝐖,ν𝒲(Λ|𝐖,ν)

has a Wishart distribution. Then (μ,Λ) has a normal-Wishart distribution, denoted as

(μ,Λ)NW(μ0,λ,𝐖,ν).

Characterization

Probability density function

f(μ,Λ|μ0,λ,𝐖,ν)=𝒩(μ|μ0,(λΛ)1) π’²(Λ|𝐖,ν)

Properties

Scaling

Marginal distributions

By construction, the marginal distribution over Λ is a Wishart distribution, and the conditional distribution over μ given Λ is a multivariate normal distribution. The marginal distribution over μ is a multivariate t-distribution.

Posterior distribution of the parameters

After making n observations 𝒙1,,𝒙n, the posterior distribution of the parameters is

(μ,Λ)NW(μn,λn,𝐖n,νn),

where

λn=λ+n,
μn=λμ0+n𝒙¯λ+n,
νn=ν+n,
𝐖n1=𝐖1+i=1n(𝒙i𝒙¯)(𝒙i𝒙¯)T+nλn+λ(𝒙¯μ0)(𝒙¯μ0)T.[2]

Generating normal-Wishart random variates

Generation of random variates is straightforward:

  1. Sample Λ from a Wishart distribution with parameters 𝐖 and ν
  2. Sample μ from a multivariate normal distribution with mean μ0 and variance (λΛ)1

Notes

Template:Reflist

References

  • Bishop, Christopher M. (2006). Pattern Recognition and Machine Learning. Springer Science+Business Media.

Template:ProbDistributions

  1. ↑ Bishop, Christopher M. (2006). Pattern Recognition and Machine Learning. Springer Science+Business Media. Page 690.
  2. ↑ Cross Validated, https://stats.stackexchange.com/q/324925