mjmcmc.loop | R Documentation |
The main loop for the MJMCMC algorithm, used in both MJMCMC and GMJMCMC
mjmcmc.loop(data, complex, loglik.pi, model.cur, N, probs, params, sub = F)
data |
The data to use |
complex |
The complexity measures of the data |
loglik.pi |
The (log) density to explore |
model.cur |
The model to start the loop at |
N |
The number of iterations to run for |
probs |
A list of the various probability vectors to use |
params |
A list of the various parameters for all the parts of the algorithm |
sub |
An indicator that if the likelihood is inexact and should be improved each model visit (EXPERIMENTAL!) |
A list containing the visited models, the models visited during local optimisation, the acceptance count and the best critical value encountered.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.