Sampler uses a mean-zero Gaussian random walk as a proposal distribution.
1 | mhrw(x0, lp, cov.chol)
|
x0 |
Initial location of sampler |
lp |
Function to evaluate log-posterior at model parameters |
cov.chol |
Cholesky decomposition of proposal covariance |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.