summaryMcmcChain: MCMC results

View source: R/stats.R

summaryMcmcChainR Documentation

MCMC results

Description

Return effective sample size, posterior mean, time-series standard error of the posterior mean (i.e. without ignoring autocorrelation; based on an estimate of the spectral density at 0 via spectrum0.ar), posterior standard deviation, and posterior quantiles (at 0.025, 0.5, 0.975).

Usage

summaryMcmcChain(res.mcmc, param.names)

Arguments

res.mcmc

object of class "mcmc" (not "mcmc.list"!)

param.names

parameter names in the columns of res.mcmc

Value

matrix with parameters in rows

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.