If and , then the posterior is normal with precision matrix and mean equal to the inverse precision times .
In a normal linear model , assign the coefficient vector a proper normal distribution with fixed positive-definite covariance matrix , independently of the variance , whose prior distribution is inverse-gamma distribution. Completing the square givesMultiplying the residual likelihood function by the inverse-gamma distribution density also givesThese full conditional distributions permit a Gibbs sampler. The marginal coefficient posterior distribution is obtained by marginalization over . Its conditional mean and covariance matrix both depend on , so it is generally not a Student's t-distribution. Even if the columns of and the prior coordinates make the conditional coefficient components independent, averaging over a shared unknown need not preserve that independence.
A normal-inverse-gamma prior instead scales the conditional coefficient prior covariance matrix by , producing a multivariate Student's t-distribution on marginalization. It is a different joint prior distribution.
Condition on initial observations and modelwith known and independent standard-normal prior distributions for . Put and . Gaussian conjugacy for a normal linear model gives posterior precision matrix and posterior meanThe prior distribution makes positive-definite even with a deficient design matrix. The unscaled sums occur specifically when .
If and , the two full conditional distributions have means and and variances and . These formulas use the conditional autoregressive model of order two likelihood function. Giving the initial pair its stationary law, or imposing a stationary-parameter restriction, changes that posterior distribution.
Let , let the prior distribution of the precision be the shape-rate Gamma distribution , and use a constant improper prior for . Assume has zero null space. Write , , , , and . The proper joint posterior density is proportional toIts conditional distributions are and . Its marginal precision law is . Integration of the displayed kernel gives , proving propriety despite the improper prior.
A joint maximum a posteriori estimate relative to exists exactly when , and is . If , the supremum is approached at but not attained; if , the density is unbounded there. Separate marginal maximization gives for the unknown and for the precision when . This illustrates that joint and marginal modes need not agree, and that a proper posterior distribution need not have a mode in its open parameter space.
For , with independent and , the multivariate normal distribution of the Bayesian posterior has posterior mean and covariance matrix . The singular value decomposition shows that the variance on a right singular vector of nonzero singular value is , while the variance along the null space is one. Thus, for fixed data, the mean tends to the minimum-norm least-squares solution and the covariance tends to the orthogonal projection onto the null space. Unobserved components retain their prior distribution even as the noise vanishes.
A Gaussian likelihood is a likelihood function obtained by modeling the observations conditionally with a normal distribution.
Articles by others on the same topic
There are currently no matching articles.