cov_chol: Calculate log marginal likeliood from MCMC output

Description Usage Arguments Value Author(s) References See Also

Description

It is a type of candidate estimator for calculating log marginal likelihood, where the MCMC outputs are used for estimating posterior density.

Usage

1
cov_chol(xpost, data_x, data_y, alpha, prior_p, prior_st)

Arguments

xpost

MCMC output

data_x

Regressor

data_y

Response

alpha

Quantile of the critical value in calculating Geweke's log marginal likelihood

prior_p

Hyperparameter of the inverse-gamma prior

prior_st

Hyperparameter of inverse-gamma prior

Value

Log marginal likelihood

Author(s)

Han Lin Shang

References

J. Geweke (1998) Using simulation methods for Bayesian econometric models: inference, development, and communication, Econometric Reviews, 18(1), 1-73.

See Also

LaplaceMetropolis_gaussian, logdensity_gaussian, logpriors_gaussian, loglikelihood_gaussian, mcmcrecord_gaussian



Search within the bbemkr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.