update_sample_rev
This is the workhorse of the MCMC algorithm
update_sample_rev( samps, samp.p, cov.mats, data, sim, out, Tmax, sizestep, data.times, l, solver, i, cnt, obs.model, pdfs, hyper, w.p, verbose.mcmc, verbose, is.de, is.single, joint.blocks, ... )
samps
: row vector of samples from the previous mcmc iterationsamp.p
: the parlist created by setup_debinfercov.mats
: the covariance matricesdata
: the observationsim
: the de.modelout
: list containing the initial or previous update i.e. list(s=samps[i-1,], inits=inits, p=params, sim.old=sim.start)Tmax
: maximum timestep for solversizestep
: sizestep for solver when not using data.timesdata.times
: times with observationsl
: number of parameters to be proposedsolver
: solver choicei
: current MCMC iterationcnt
: interval for printing/plotting information on chainsobs.model
: function containing obs modelpdfs
: names of prior pdfshyper
: list of hyperparametersw.p
: names of free parametersverbose.mcmc
: logical print MCMC progress messagesverbose
: logical, print additional information from solveris.de
: logical, parameter is an input for the solveris.single
: parameter is to be proposed individuallyjoint.blocks
: names of joint blocks...
: further arguments to solver