Learn R Programming

jagshelper (version 0.4.0)

check_neff: 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)

Value

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

Arguments

x

Output object from jagsUI::jags()

thresh

Threshold value (defaults to 500)

Author

Matt Tyers

See Also

check_Rhat, traceworstRhat, plotRhats, qq_postpred, ts_postpred

Examples

Run this code
check_neff(SS_out)

Run the code above in your browser using DataLab