Learn R Programming

bbefkr (version 4.2)

loglikelihood_global_admkr: Compute the marginal likelihood using Chib's (1995) method

Description

The log marginal likelihood can be computed as the log likelihood + log prior - log posterior. The latter one can be estimated from the MCMC.

Usage

loglikelihood_global_admkr(h, resid)

Arguments

h
Estimated bandwidth
resid
Estimated residuals

Value

The value of log likelihood

References

S. Chib (1995) `Marginal likelihood from the Gibbs output', Journal of the American Statistical Association, 90(432), 1313-1321.

See Also

logpriors_admkr, logdensity_admkr