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>.
You can install the development version of regexcite from GitHub with:
# install.packages("devtools")
::install_github("M-crypto645/thamesmix") devtools
See the vignette for details.