ess | R Documentation |
Code for the elliptical slice sampler
ess( current, prior, prior_mean, pars, log_like_fun, update_pars_fun, max_iter = 50 )
current |
The current state of the parameter of interest in the MCMC algorithm. |
prior |
A sample from the mean zero, Gaussian prior of the parameter of interest. |
prior_mean |
The mean, if nonzero, of the Gaussian prior distribution for the parameter of interest. |
pars |
The set of parameters needed to evaluation the
log-likelihood function for the parameter of interest. At a minimum,
the pars object must contain the variables |
log_like_fun |
The log-likelihood function for the parameter of interest. |
update_pars_fun |
The function to update the parameters
|
max_iter |
The maximum number of iterations to perform for the elliptical slice sampler. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.