Marginal Likelihood from the Gibbs Output

bayesianmodel-comparisonmarginal-likelihoodbayes-factorgibbs-samplermcmcprobitmixture-modelsmarkov-switchingmodel-selectiondata-augmentation

Summary

Chib (1995) derives a stable, automatic method for computing the marginal likelihood — the key ingredient for Bayes factors — directly from the output of a Gibbs sampler. The approach exploits the Basic Marginal Likelihood Identity (BMI): the marginal likelihood equals the likelihood times the prior divided by the posterior ordinate, which holds for any parameter value. Because the posterior ordinate at a high-density point can be estimated by Rao-Blackwellizing over the Gibbs draws, the entire calculation is a by-product of the Markov chain Monte Carlo (MCMC) run already performed for estimation. Applications to binary probit variable selection, Gaussian mixture models, and a Markov switching model demonstrate accuracy and negligible numerical standard errors.

Key Claims

Concepts Introduced or Extended

Entities Mentioned

Quotes

"The approach is fully automatic and stable, requiring no inputs beyond the draws from the simulation. Thus draws from the prior, or additional maximizations, or importance sampling functions, or any other tuning function, are not required."

"It was shown that the numerical standard error of the estimate can be derived from the posterior sample and the calculations are exhibited in problems dealing with probit regression and finite-mixture models."

My Take

This is the canonical reference for MCMC-based marginal likelihood computation. The BMI identity is a simple algebraic rearrangement of Bayes' theorem, but exploiting it for marginal likelihood estimation required the insight that Gibbs output contains enough information to estimate the posterior ordinate accurately. The key limitation — that the full conditionals must have closed-form expressions to allow Rao-Blackwellization — was later addressed by Chib and Jeliazkov (2001) for Metropolis-Hastings (M-H) samplers. The three B-block extension is straightforward in principle but adds B-1 reduced runs in practice; for large BB or expensive likelihoods, the Gelfand-Dey (1994) modified importance sampler or the Laplace approximation may be preferred (see Amisano-Federico (2004)). The NSE framework is a valuable addition: it makes the accuracy of the marginal likelihood estimate itself quantifiable.