check.mixing: check.mixing

Description Usage Arguments Value

View source: R/check_mixing.R

Description

Calculates the within and between chain mixing and tests if the between is greater than within based on the supplied quantile probability value.

Usage

1
check.mixing(J, prob.val = 0.8)

Arguments

J

a jag model fit as returned by a call to jags

prob.val

the probability value to pass to quantile to assess the between chain coefficient of variation against the within chain coefficient of variation. Please inspect the model code for more details.

Value

A list of within and between coefficient of variations for parameter, the outcome of the test if between is greater than within, and the ratio.


AIMS/NEC-estimation documentation built on Dec. 7, 2020, 10:44 a.m.