Usage
mincrit(obs, param, sumstats, obspar = NULL, abcmethod = abc,
crit = nn.ent, sumsubs = 1:ncol(sumstats), limit=length(sumsubs),
do.only = NULL, verbose = TRUE, do.crit = TRUE, do.err = FALSE,
final.dens = FALSE, errfn = rsse, ...)
Arguments
obs
(matrix of) observed summary statistics.
param
matrix of simulated model parameter values.
sumstats
matrix of simulated summary statistics.
obspar
optional observed parameters (for use to assess simulation performance).
abcmethod
a function to perform ABC inference, e.g. the abc function from package abc.
crit
a function to minimize to measure information from a posterior sample, e.g. nn.ent.
sumsubs
an optional index into the summary statistics to limit summary selection to a specific subset of summaries.
limit
an optional integer indicating whether to limit summary selection to subsets of a maximum size.
do.only
an optional index into the summary statistics combination table. Can be used to limit entropy calculations to certain summary statistics subsets only.
verbose
a boolean value indicating whether informative statements should be printed to screen.
do.crit
a boolean value indicating whether the measure on the posterior sample should be returned.
do.err
a boolean value indicating whether the simulation error should be returned. Note: if do.err=TRUE, obspar must be supplied.
final.dens
a boolean value indicating whether the posterior sample should be returned.
errfn
an error function to assess ABC inference performance.
...
any other optional arguments to the ABC inference procedure (e.g. arguments to the abc function).