control.mcmc.Bayes {PrevMap} | R Documentation |
Control settings for the MCMC algorithm used for Bayesian inference
Description
This function defines the different tuning parameter that are used in the MCMC algorithm for Bayesian inference.
Usage
control.mcmc.Bayes(
n.sim,
burnin,
thin,
h.theta1 = 0.01,
h.theta2 = 0.01,
h.theta3 = 0.01,
L.S.lim = NULL,
epsilon.S.lim = NULL,
start.beta = "prior mean",
start.sigma2 = "prior mean",
start.phi = "prior mean",
start.S = "prior mean",
start.nugget = "prior mean",
c1.h.theta1 = 0.01,
c2.h.theta1 = 1e-04,
c1.h.theta2 = 0.01,
c2.h.theta2 = 1e-04,
c1.h.theta3 = 0.01,
c2.h.theta3 = 1e-04,
linear.model = FALSE,
binary = FALSE
)
Arguments
n.sim |
total number of simulations. |
burnin |
initial number of samples to be discarded. |
thin |
value used to retain only evey |
h.theta1 |
starting value of the tuning parameter of the proposal distribution for |
h.theta2 |
starting value of the tuning parameter of the proposal distribution for |
h.theta3 |
starting value of the tuning parameter of the proposal distribution for |
L.S.lim |
an atomic value or a vector of length 2 that is used to define the number of steps used at each iteration in the Hamiltonian Monte Carlo algorithm to update the spatial random effect; if a single value is provided than the number of steps is kept fixed, otherwise if a vector of length 2 is provided the number of steps is simulated at each iteration as |
epsilon.S.lim |
an atomic value or a vector of length 2 that is used to define the stepsize used at each iteration in the Hamiltonian Monte Carlo algorithm to update the spatial random effect; if a single value is provided than the stepsize is kept fixed, otherwise if a vector of length 2 is provided the stepsize is simulated at each iteration as |
start.beta |
starting value for the regression coefficients |
start.sigma2 |
starting value for |
start.phi |
starting value for |
start.S |
starting value for the spatial random effect. |
start.nugget |
starting value for the variance of the nugget effect; default is |
c1.h.theta1 |
value of |
c2.h.theta1 |
value of |
c1.h.theta2 |
value of |
c2.h.theta2 |
value of |
c1.h.theta3 |
value of |
c2.h.theta3 |
value of |
linear.model |
logical; if |
binary |
logical; if |
Value
an object of class "mcmc.Bayes.PrevMap".
Author(s)
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Peter J. Diggle p.diggle@lancaster.ac.uk