bridgesampling: An R Package for Estimating Normalizing Constants

Open Access
Authors
Publication date 02-2020
Journal Journal of Statistical Software
Article number 10
Volume | Issue number 92 | 10
Number of pages 29
Organisations
  • Faculty of Social and Behavioural Sciences (FMG) - Psychology Research Institute (PsyRes)
Abstract
Statistical procedures such as Bayes factor model selection and Bayesian model averaging require the computation of normalizing constants (e.g., marginal likelihoods). These normalizing constants are notoriously difficult to obtain, as they usually involve high- dimensional integrals that cannot be solved analytically. Here we introduce an R package that uses bridge sampling (Meng and Wong 1996; Meng and Schilling 2002) to estimate normalizing constants in a generic and easy-to-use fashion. For models implemented in Stan, the estimation procedure is automatic. We illustrate the functionality of the package with three examples.
Document type Article
Note With supplementary files
Language English
Published at https://doi.org/10.18637/jss.v092.i10
Published at https://arxiv.org/abs/1710.08162
Downloads
v92i10 (Final published version)
Supplementary materials
Permalink to this page
Back