Bayesian inference for a deterministic DE model (with models solved via an DE solver) with an observation model.
de_mcmc(
N,
data,
de.model,
obs.model,
all.params,
ref.params = NULL,
ref.inits = NULL,
Tmax,
data.times,
cnt = 10,
plot = TRUE,
sizestep = 0.01,
solver = "ode",
verbose.mcmc = TRUE,
verbose = FALSE,
...
)a debinfer_result object containing input parameters, data and MCMC samples
integer, number of MCMC iterations
data.frame of time course observations to fit the model to. The observations must be ordered ascending by time.
a function defining a DE model, compliant with the solvers in deSolve or PBSddesolve
a function defining an observation model. Must be a function with arguments 'data', 'sim.data', 'samp'.
debinfer_parlist containing all model, MCMC, and observation
an optional named vector containing a set of reference parameters, e.g. the true parameters underlying a simulated data set
an optional named vector containing a set of reference initial values, e.g. the true initial values underlying a simulated data set
maximum timestep for solver
time points for which observations are available
integer interval at which to print and possibly plot information on the current state of the MCMC chain
logical, plot traces for all parameters at the interval defined by cnt
timestep for solver to return values at, only used if data.times is missing
the solver to use. 1 or "ode" = deSolve::ode; 2 or "dde" = PBSddesolve::dde; 3 or "dede" = deSolve::dde
logical display MCMC progress messages
logical display verbose solver output
further arguments to the solver