LaplaceMetropolis_admkr(theta, data_x, data_y, method = c("likelihood", "L1center", "median"))
L1center
and median
are computationally fastThe simplest way to estimate $\theta$ from posterior simulation output, and probably the most accurate, is to compute $h(\theta^(t))$ for each $t=1,\dots,T$ and take the value for which it is largest.
S. M. Lewis and A. E. Raftery (1997) Estimating Bayes factors via posterior simulation with the Laplace-Metropolis estimator, Journal of the American Statistical Association, 92(438), 648-655.
A. E. Raftery (1996) Hypothesis testing and model selection, in Markov Chain Monte Carlo In Practice by W. R. Gilks, S. Richardson and D. J. Spiegelhalter, Chapman and Hall, London.
logdensity_admkr
, logpriors_admkr
, loglikelihood_admkr
, mcmcrecord_admkr