Calculates simple summaries of posterior samples: the minimum and maximum, the weighted mean, median, mode, and credible intervals.
# S3 method for abc
summary(object, unadj = FALSE, intvl = .95, print = TRUE,
digits = max(3, getOption("digits")-3), ...)The returned value is an object of class "table". The rows are,
minimun
lower percentile
or weighted median
or weighted mean
or weighted mode
upper percentile
maximum
an object of class "abc".
logical, if TRUE it forces to plot the unadjusted values when method
is "loclinear" or "neuralnet".
size of the symmetric credible interval.
logical, if TRUE prints messages. Mainly for internal use.
the digits to be rounded to. Can be a vector of the same length as the number of parameters, when each parameter is rounded to its corresponding digits.
other arguments passed to density.
If method is "rejection" in the original call to
abc, posterior means, medians, modes and percentiles
defined by intvl, 95 by default (credible intervals) are
calculated. If a regression correction was used (i.e. method is
"loclinear" or "neuralnet" in the original call to
abc) the weighted posterior means, medians, modes and
percentiles are calculated.
To calculate the mode, parameters are passed on from
density.default. Note that the posterior mode can be
rather different depending on the parameters to estimate the
density.
abc, hist.abc, plot.abc