seir.mcmc: Run MCMC on the SEIR model

Description Usage Arguments Value Author(s)

Description

Run MCMC on the SEIR model

Usage

1
2
3
4
seir.mcmc(target, init.theta, proposal.sd = NULL, n.iterations,
  print.info.every = n.iterations/100, acceptance.rate.window = NULL,
  verbose = FALSE, max.scaling.sd = 50, adapt.size.start = NULL,
  adapt.size.cooling = 0.99, adapt.shape.start = NULL)

Arguments

target

target function (takes one parameter, a numeric vector)

init.theta

initial value of the target function

proposal.sd

standard deviation of the proposal kernel

n.iterations

number of iterations to run the MCMC for

print.info.every

print info every n steps

acceptance.rate.window

window to calculate acceptance rate

verbose

if TRUE, print verbose output

max.scaling.sd

maximal scaling of the standard dveiation in the adaptive MCMC

adapt.size.start

after how many iterations to start adapting the size

adapt.size.cooling

cooling schedule of size adaptation

adapt.shape.start

after how many samples to start adapting the shape

Value

the trace

Author(s)

Anton Camacho, Sebastian Funk


sbfnk/dynmod documentation built on May 29, 2019, 3:21 p.m.