This function fits ordinary differential equations models to a uni- or multi-variate time series by MCMC using the Metropolis-Hastings update rule. It searches through the parameter space on link scales, which can provide more efficient posterior sampling.
fitodeMCMC(
model,
data,
start,
tcol = "times",
proposal.vcov,
prior = list(),
chains = 1,
iter = 2000,
burnin = iter/2,
thin = 1,
refresh = max(iter/10, 1),
prior.only = FALSE,
link,
fixed = list(),
solver.opts = list(method = "rk4"),
solver = ode,
...
)An object of class ``fitodeMCMC'' as described in fitodeMCMC-class.
ode model
data frame with time column and observation column
named vector of starting parameter values
time column
variance-covariance matrix of a multivariate normal proposal distribution
list of formulas specifying prior distributions
(numeric) number of chains
(numeric) number of iterations per chain
(numeric) number of burnin interations
(numeric) thining interval between consecutive observations
(numeric) refresh interval
(logical) sample from prior distribution only?
named vector or list of link functions for model parameters
named vector or list of model parameters to fix and their values
options for ode integration. See ode
ode solver
additional arguments (unused)