ess_diagnostics: Check ESS

Description Usage Arguments Value

View source: R/analyses.R

Description

Checks the MCMC chain for effective sample sizes used the coda package, and highlights where these are less than a certain threshold

Usage

1
ess_diagnostics(chain, threshold = 200)

Arguments

chain

the MCMC chain to be tested

threshold

the minimum allowable ESS

Value

a list containing the ESS sizes and flagging which parameters have ESS below the threshold


jameshay218/lazymcmc documentation built on Sept. 16, 2021, 12:14 a.m.