Learn R Programming

bbemkr (version 2.0)

logpriors_admkr: Calculate the log prior used in the log marginal density of Chib (1995).

Description

Log marginal likelihood = Log likelihood + Log prior - Log density

Usage

logpriors_admkr(h2, data_x)

Arguments

h2
Square of re-parameterized bandwidths
data_x
Regressors

Value

Value of the log prior

Details

Calculate the log prior using the estimated averaged bandwidths of the regressors, obtained from the MCMC iterations

References

S. Chib and I. Jeliazkov (2001) Marginal likelihood from the Metropolis-Hastings output, Journal of the American Statistical Association, 96(453), 270-281.

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

M. A. Newton and A. E. Raftery (1994) Approximate Bayesian inference by the weighted likelihood bootstrap (with discussion), Journal of the Royal Statistical Society. Series B, 56(1), 3-48.

See Also

logdensity_admkr, loglikelihood_admkr, mcmcrecord_admkr