Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class '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(s)

Martyn Plummer

See Also


coda

Output Analysis and Diagnostics for MCMC

v0.19-4
GPL (>= 2)
Authors
Martyn Plummer [aut, cre, trl], Nicky Best [aut], Kate Cowles [aut], Karen Vines [aut], Deepayan Sarkar [aut], Douglas Bates [aut], Russell Almond [aut], Arni Magnusson [aut]
Initial release
2020-09-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.