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.