Lewis and Raftery (1997) describe the Laplace-Metropolis (LM) estimator, a way to compute integrated (marginal) likelihoods — and hence Bayes factors — from existing Markov chain Monte Carlo (MCMC) output without additional simulation runs. The method applies the classical Laplace approximation to the marginal likelihood integral, estimating the required posterior mode and posterior variance matrix directly from the MCMC sample using robust statistics. For hierarchical models with many random-effect nuisance parameters, a compound variant integrates out the random effects analytically (inner Laplace) before applying the basic LM estimator to the remaining parameters (outer Laplace). Validated against a 50-million-draw Monte Carlo gold standard on an Iran Fertility Survey example, the method recovers the correct log-integrated likelihood to within one unit using only 5,500 MCMC iterations.
The Laplace approximation to at the posterior mode gives (eq. 4):
where is the parameter dimension, is the posterior covariance matrix, and is the posterior mode. Both quantities are estimated from the MCMC output already in hand:
No additional MCMC runs are required beyond the original posterior simulation. This distinguishes LM from Chib (1995), which requires additional reduced Gibbs runs, one per parameter block.
For models with many nuisance random effects , direct application of the basic LM is infeasible (too many parameters). The compound LM marginalizes over the random effects analytically using a nested Laplace approximation (Section 4).
Partition parameters into: (fixed effects), (variance hyperparameter), (random effects). The compound integrated likelihood (eq. 6–7) is:
where and each factor is a Laplace approximation over at its conditional mode .
For the logistic hierarchical model (eq. 8–11): , :
Divide the MCMC output of length into batches of iterations each. Compute a compound LM estimate within each batch. These estimates are approximately independent; their mean and variance give the overall estimate and its uncertainty (Section 7).
Sample of 29 women from the Iran Fertility Survey (IFS) dataset (part of the World Fertility Survey); response = birth in each exposure-year; mixed logistic model with 4 fixed effects (centered age, first-year indicator, parity, woman's education) + random effects per woman + variance hyperparameter.
| Model | log-integrated likelihood | Method |
|---|---|---|
| 4 fixed effects | −220.5 | Compound LM (5,500 MCMC iters) |
| 4 fixed effects | −221.8 | Gold standard (50M prior draws) |
| 4 fixed effects + husband's education | −223.5 | Compound LM |
| 4 fixed effects, no random effects | −222.15 | Analytic Laplace (Raftery 1996b) |
| Method | Requires extra runs? | Works with Metropolis-Hastings (M-H)? | Random effects? | Notes |
|---|---|---|---|---|
| Chib (1995) | Yes ( reduced runs) | No (Gibbs only) | Via compound version | Exact; requires tractable conditionals |
| Chib-Jeliazkov (2001) | Yes (short reduced run) | Yes | Via compound version | Extends Chib to any MCMC |
| Lewis-Raftery (1997) LM | No | Yes | Yes (compound LM) | Unimodal posterior required |
| Gelfand-Dey (1994) | No | Yes | Harder | Single pass; can have infinite variance |
| Harmonic mean | No | Yes | Harder | Inconsistent variance; unreliable |
| Prior MC (eq. 2) | No | — | — | Exact but requires ~50M draws |
Lewis-Raftery (1997) occupy a useful middle ground: no additional runs (unlike Chib/CJ), more stable than harmonic mean, and extendable to hierarchical models. The main limitation is the Laplace approximation's reliance on approximate posterior normality (unimodal, not heavy-tailed).
"The key quantity needed for Bayesian hypothesis testing and model selection is the integrated, or marginal, likelihood of a model."
"Using this approximation, a 95% confidence interval for the compound Laplace–Metropolis estimate is (–222.0, –219.0). The actual log-integrated likelihood was –221.8. So the compound Laplace–Metropolis estimator worked well in this example."
LM is the practical, low-overhead option when (a) an MCMC run has already been done, (b) the posterior is approximately unimodal, and (c) additional reduced runs (as in Chib/CJ) would be expensive. The compound variant for hierarchical models is genuinely useful and underappreciated — most practitioners revert to the Bayesian information criterion (BIC) or harmonic mean in this setting. The batch-means uncertainty assessment is a well-motivated complement. The limitation is real: for mixtures, separated posteriors, or highly non-normal posteriors the Laplace approximation can fail silently, making Chib (1995) or Chib-Jeliazkov (2001) preferable when tractable. The "gold standard" comparison (50M-draw prior MC) is a convincing validation, making this a trustworthy reference for approximate marginal likelihood computation.