Computing the Bayes Factor from a Markov Chain Monte CArlo Simulation of the Posterior Distribution

被引:47
作者
Weinberg, Martin D. [1 ]
机构
[1] Univ Massachusetts, Dept Astron, Amherst, MA 01003 USA
来源
BAYESIAN ANALYSIS | 2012年 / 7卷 / 03期
基金
美国国家科学基金会; 美国国家航空航天局;
关键词
Bayesian computation; marginal likelihood; algorithm; Bayes factors; model selection; MODEL SELECTION; LIKELIHOOD; INFERENCE;
D O I
10.1214/12-BA725
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Determining the marginal likelihood from a simulated posterior distribution is central to Bayesian model selection but is computationally challenging. The often-used harmonic mean approximation (HMA) makes no prior assumptions about the character of the distribution but tends to be inconsistent. The Laplace approximation is stable but makes strong, and often inappropriate, assumptions about the shape of the posterior distribution. Here, I argue that the marginal likelihood can be reliably computed from a posterior sample using Lebesgue integration theory in one of two ways: 1) when the HMA integral exists, compute the measure function numerically and analyze the resulting quadrature to control error; 2) compute the measure function numerically for the marginal likelihood integral itself using a space-partitioning tree, followed by quadrature. The first algorithm automatically eliminates the part of the sample that contributes large truncation error in the HMA. Moreover, it provides a simple graphical test for the existence of the HMA integral. The second algorithm uses the posterior sample to assign probability to a partition of the sample space and performs the marginal likelihood integral directly. It uses the posterior sample to discover and tessellate the subset of the sample space that was explored and uses quantiles to compute a representative field value. When integrating directly, this space may be trimmed to remove regions with low probability density and thereby improve accuracy. This second algorithm is consistent for all proper distributions. Error analysis provides some diagnostics on the numerical condition of the results in both cases.
引用
收藏
页码:737 / 769
页数:33
相关论文
共 26 条
  • [1] [Anonymous], 2003, Bayesian Data Analysis
  • [2] CARLIN BP, 1995, J ROY STAT SOC B MET, V57, P473
  • [3] Marginal likelihood from the Metropolis-Hastings output
    Chib, S
    Jeliazkov, I
    [J]. JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 2001, 96 (453) : 270 - 281
  • [4] Cormen T., 2001, Introduction to Algorithms
  • [5] de Berg M., 2008, Computational Geometry: Algorithms and Applications, DOI DOI 10.1007/978-3-540-77974-2
  • [6] Computing Bayes factors by combining simulation and asymptotic approximations
    DiCiccio, TJ
    Kass, RE
    Raftery, A
    Wasserman, L
    [J]. JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 1997, 92 (439) : 903 - 915
  • [7] Edelsbrunner H, 1996, ALGORITHMICA, V15, P223, DOI 10.1007/BF01975867
  • [8] Gelman A., 1992, Statist. Sci., V7, P457
  • [9] Geyer C., 1991, COMPUTING SCI STAT, V156
  • [10] Giakoumatos S.G., 1999, J COMPUTATIONAL GRAP, V1, P431