Marginal Likelihoods from Monte Carlo Markov Chains
Alan Heavens, Yabebal Fantaye, Arrykrishna Mootoovaloo, Hans Eggers,, Zafiirah Hosenie, Steve Kroon, Elena Sellentin

TL;DR
This paper introduces a Bayesian method to estimate marginal likelihoods from MCMC samples using k-nearest-neighbour distances, effective in high-dimensional parameter spaces, with applications in cosmology.
Contribution
The authors develop a novel Bayesian approach leveraging k-nearest-neighbour distances to compute marginal likelihoods from MCMC samples, including importance-sampled chains, applicable up to 20 dimensions.
Findings
Effective for chains of ~10^5 points in up to 20 dimensions
Optimal choice of k=1 for the nearest-neighbour distance
Validated with an idealized posterior of known marginal likelihood
Abstract
In this paper, we present a method for computing the marginal likelihood, also known as the model likelihood or Bayesian evidence, from Markov Chain Monte Carlo (MCMC), or other sampled posterior distributions. In order to do this, one needs to be able to estimate the density of points in parameter space, and this can be challenging in high numbers of dimensions. Here we present a Bayesian analysis, where we obtain the posterior for the marginal likelihood, using th nearest-neighbour distances in parameter space, using the Mahalanobis distance metric, under the assumption that the points in the chain (thinned if required) are independent. We generalise the algorithm to apply to importance-sampled chains, where each point is assigned a weight. We illustrate this with an idealised posterior of known form with an analytic marginal likelihood, and show that for chains of length $\sim…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInsurance, Mortality, Demography, Risk Management · Markov Chains and Monte Carlo Methods · Statistical Methods and Inference
