Truncated Harmonic Mean Estimator of the Marginal Likelihood for Mixtures

Implements the truncated harmonic mean estimator (THAMES) of the reciprocal marginal likelihood for uni- and multivariate mixture models using posterior samples and unnormalized log posterior values via reciprocal importance sampling. Metodiev, Irons, Perrot-Dockès, Latouche & Raftery (2025) .


thamesmix

Implements the truncated harmonic mean estimator (THAMES) of the reciprocal marginal likelihood for uni- and multivariate mixture models using posterior samples and unnormalized log posterior values via reciprocal importance sampling. Reference: Metodiev, Irons, Perrot-Dockès, Latouche & Raftery (2025) <arXiv:2504.21812>.

Installation

You can install the development version of regexcite from GitHub with:

# install.packages("devtools")
devtools::install_github("m-metodiev/thamesmix")

Usage

See the vignette for details.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("thamesmix")

0.1.4 by Martin Metodiev, a month ago


Browse source code at https://github.com/cran/thamesmix


Authors: Martin Metodiev [aut, cre, cph] (ORCID: , Nicholas J. Irons [aut] (ORCID: , Marie Perrot-Dockès [aut]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports stats, sparsediscrim, quadprog, igraph, gor, Rfast, mvtnorm, combinat, withr

Suggests multimode, knitr, bayesmix, label.switching, LaplacesDemon, markdown


See at CRAN