thames: Truncated Harmonic Mean Estimator of the Marginal Likelihood

Implements the truncated harmonic mean estimator (THAMES) of the reciprocal marginal likelihood using posterior samples and unnormalized log posterior values via reciprocal importance sampling. Metodiev, Perrot-Dockès, Ouadah, Irons, Latouche, & Raftery (2024). Bayesian Analysis. <doi:10.1214/24-BA1422>.

Package details

AuthorNicholas J. Irons [aut, cre] (ORCID: <https://orcid.org/0000-0002-9720-8259>), Marie Perrot-Dockès [aut], Martin Metodiev [aut]
MaintainerNicholas J. Irons <nicholasjonirons@gmail.com>
LicenseGPL (>= 3)
Version0.1.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("thames")

Try the thames package in your browser

Any scripts or data that you put into this service are public.

thames documentation built on Aug. 8, 2025, 7:25 p.m.