Raftery-Lewis (1992) How Many Iterations in the Gibbs Sampler?

mcmcgibbs-samplerconvergence-diagnosticsdiagnosticschain-length

Summary

Raftery and Lewis (1992) provide a practical method for determining how many iterations a Gibbs sampler needs to estimate a given quantile qq of a parameter to within tolerance rr with probability ss. Given a short pilot run, the method fits a two-state first-order Markov chain to the binarized output and derives the required burn-in MM, thinning interval kk, and total chain length NN analytically. It is more targeted than Gelman-Rubin: rather than assessing whether convergence has been reached, it tells you how long to run before you start.

Key Claims

Concepts Introduced or Extended

Entities Mentioned

Quotes

"The method described here is based on the situation where there is a single long run of the Gibbs sampler, as practiced by Geman and Geman (1984) and Besag, York and Mollié (1991), for example."

"Sometimes, although not always, this may be exploited in the first way by reducing the value of qq, to obtain the same result with less total iteration."

My Take

The method's main strength is that it gives a calibrated answer tied to a specific inferential goal: if you care about the 2.5th percentile to ±\pm0.005, the output tells you exactly how long to run and how long to burn in. The first-order Markov assumption on the binarized chain is testable (via the G2G^2 comparison) and thinning rescues it when violated. The main limitation is that the method is univariate: it applies one parameter at a time and ignores joint behavior. In high-dimensional models with correlated parameters, the worst-case parameter determines the chain length. In practice, the method is best used as a lower bound — run at least this many iterations — and combined with Gelman-Rubin multi-chain diagnostics for a fuller assessment.