SIR_fsMCMC_blockedIS: fsMCMC MCMC for SIR Epidemic Panel Data (with blocked...

Description Usage Arguments Value See Also

View source: R/blockSamplesSIRfsMCMC.R

Description

Adapts proposal parameters for with a view of optimal of a target using forward simulation MCMC scheme.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
SIR_fsMCMC_blockedIS(
  obsTransData,
  I_0,
  obsTimes,
  N,
  beta0,
  gamma0,
  lambda,
  V,
  noDraws = 2 * N - I_0,
  blockSize,
  noIts,
  burnIn = 0,
  lagMax = NA,
  thinningFactor = 1
)

Arguments

obsTransData

Interpanel transition data.

I_0

Initial number of infectives in the population.

obsTimes

Times at which epidemic cohort were followed up.

N

Population size.

beta0

Starting value for infectious process parameter.

gamma0

Starting value for removal/recovery process parameter.

lambda

Starting value for RWM proposal parameter which is to be adapted.

V

Starting state for RWM proposal Covariance matrix which is to be adapted.

noDraws

Number of underlying variables to be drawn (i.e max. number of events in observation period)

blockSize

Number of underlying random variables of the process to refresh.

noIts

Number of MCMC iterations.

lagMax

Plotting parameter for acf() function.

thinningFactor

Controls the factor by which MCMC samples are thinned, to reduce dependency.

Value

MCMC summary.

See Also

Other Panel Data MCMC: adaptiveSIR_PseudoMarginalMCMC(), adaptiveSIS_PseudoMarginalMCMC(), adaptiveSISfsMCMC()


JMacDonaldPhD/Epidemics documentation built on Jan. 10, 2020, 2:48 a.m.