The log marginal likelihood can be computed as the log likelihood + log prior - log posterior. The latter one can be estimated from the MCMC.
The value of log likelihood
Han Lin Shang
S. Chib (1995) ‘Marginal likelihood from the Gibbs output’, Journal of the American Statistical Association, 90(432), 1313-1321.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.