convergence_diag: Check effective sample size and geweke diagnostic

View source: R/posterior_diagnostics.R

convergence_diagR Documentation

Check effective sample size and geweke diagnostic

Description

Check effective sample size and geweke diagnostic

Usage

convergence_diag(out, type = "eSS", cutoff = ifelse(type == "eSS", 100, 1.96))

Arguments

out

Output from BSTFA or BSTFAfull.

type

Character specifying which diagnostic to compute. Options are ess and geweke.

cutoff

Numeric scalar indicating the cutoff value to flag parameters that haven't converged.

Value

A list containing the parameters not meeting the convergence cutoff criteria.

Author(s)

Adam Simpson

Examples

data(out.sm)
attach(out.sm)
convergence_diag(out.sm)

BSTFA documentation built on Aug. 28, 2025, 9:09 a.m.