check_neff: Quick summary of n.eff values by parameter name

View source: R/summarize.R

check_neffR Documentation

Quick summary of n.eff values by parameter name

Description

Returns the mean number of n.eff values (by each parameter) that are greater than a specified threshold criterion.

n.eff is calculated within 'JAGS', and may be interpreted as a crude measure of effective sample size for a given parameter node.

Usage

check_neff(x, thresh = 500)

Arguments

x

Output object from jagsUI::jags()

thresh

Threshold value (defaults to 500)

Value

Numeric (named) giving the proportion of n.eff values above the given threshold.

Author(s)

Matt Tyers

See Also

check_Rhat, traceworstRhat, plotRhats, qq_postpred, ts_postpred

Examples

check_neff(SS_out)

jagshelper documentation built on Oct. 22, 2024, 1:06 a.m.