mcmcPass: MCMC Tests

View source: R/mcmcPass.R

mcmcPassR Documentation

MCMC Tests

Description

Run diagnostic tests on an MCMC trace.

Usage

mcmcPass(x, return.type = "logical")

Arguments

x

an MCMC trace.

return.type

output format.

Details

Three return.type formats are supported:

"logical" a single logical value, indicating whether all tests were passed
"list" a detailed list of all test results
"string" a string indicating which tests failed

Value

Test results in the format specified by return.type.

Note

The test criteria are:

  1. Autocorrelation <= 0.1

  2. Geweke Z <= 1.96

  3. Heidelberger-Welch p >= 0.05

Users can apply other criteria by requesting return.type = "list".


arnima-github/arni documentation built on Oct. 28, 2023, 6:18 p.m.