Learn R Programming

coda (version 0.19-4.1)

summary.mcmc: Summary statistics for Markov Chain Monte Carlo chains

Description

summary.mcmc produces two sets of summary statistics for each variable:

Mean, standard deviation, naive standard error of the mean (ignoring autocorrelation of the chain) and time-series standard error based on an estimate of the spectral density at 0.

Quantiles of the sample distribution using the quantiles argument.

Usage

# S3 method for mcmc
summary(object, quantiles = c(0.025, 0.25, 0.5, 0.75, 0.975), ...)

Arguments

object

an object of class mcmc or mcmc.list

quantiles

a vector of quantiles to evaluate for each variable

...

a list of further arguments

Author

Martyn Plummer

See Also

mcmc, mcmc.list.