The approximate Bayesian computation (ABC) algorithm for estimating the parameters of a partially-observed Markov process.
# S4 method for pomp
abc(object, Nabc = 1, start,
proposal, probes, scale, epsilon,
verbose = getOption("verbose"), …)
# S4 method for probed.pomp
abc(object, probes,
verbose = getOption("verbose"), …)
# S4 method for abc
abc(object, Nabc, start, proposal,
probes, scale, epsilon,
verbose = getOption("verbose"), …)
# S4 method for abc
continue(object, Nabc = 1, …)
# S4 method for abc
conv.rec(object, pars, …)
# S4 method for abcList
conv.rec(object, …)
# S4 method for abc
plot(x, y, pars, scatter = FALSE, …)
# S4 method for abcList
plot(x, y, …)
An object of class pomp
.
The number of ABC iterations to perform.
named numeric vector; the starting guess of the parameters.
optional function that draws from the proposal distribution. Currently, the proposal distribution must be symmetric for proper inference: it is the user's responsibility to ensure that it is. Several functions that construct appropriate proposal function are provided: see MCMC proposal functions for more information.
List of probes (AKA summary statistics).
See probe
for details.
named numeric vector of scales.
ABC tolerance.
logical; if TRUE, print progress reports.
Names of parameters.
optional logical;
If TRUE
, draw scatterplots.
If FALSE
, draw traceplots.
abc
object.
Ignored.
Additional arguments. These are currently ignored.
abc
returns an object of class abc
.
One or more abc
objects can be joined to form an abcList
object.
To re-run a sequence of ABC iterations, one can use the abc
method on a abc
object.
By default, the same parameters used for the original ABC run are re-used (except for tol
, max.fail
, and verbose
, the defaults of which are shown above).
If one does specify additional arguments, these will override the defaults.
One can continue a series of ABC iterations from where one left off using the continue
method.
A call to abc
to perform Nabc=m
iterations followed by a call to continue
to perform Nabc=n
iterations will produce precisely the same effect as a single call to abc
to perform Nabc=m+n
iterations.
By default, all the algorithmic parameters are the same as used in the original call to abc
.
Additional arguments will override the defaults.
Methods that can be used to manipulate, display, or extract information from an abc
object:
conv.rec(object, pars)
returns the columns of the convergence-record matrix corresponding to the names in pars
.
By default, all rows are returned.
Concatenates abc
objects into an abcList
.
Diagnostic plots.
covmat(object, start, thin, expand)
computes the empirical covariance matrix of the ABC samples beginning with iteration start
and thinning by factor thin
.
It expands this by a factor expand^2/n
, where n
is the number of parameters estimated.
The intention is that the resulting matrix is a suitable input to the proposal function mvn.rw
.
J.-M. Marin, P. Pudlo, C. P. Robert, and R. J. Ryder, Approximate Bayesian computational methods. Statistics and Compuing 22:1167--1180, 2012.
T. Toni and M. P. H. Stumpf, Simulation-based model selection for dynamical systems in systems and population biology, Bioinformatics 26:104--110, 2010.
T. Toni, D. Welch, N. Strelkowa, A. Ipsen, and M. P. H. Stumpf, Approximate Bayesian computation scheme for parameter inference and model selection in dynamical systems Journal of the Royal Society, Interface 6:187--202, 2009.
pomp
, probe
, MCMC proposal distributions, and the tutorials on the package website.