mcmcPass | R Documentation |
Run diagnostic tests on an MCMC trace.
mcmcPass(x, return.type = "logical")
x |
an MCMC trace. |
return.type |
output format. |
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 |
Test results in the format specified by return.type
.
The test criteria are:
Autocorrelation <= 0.1
Geweke Z <= 1.96
Heidelberger-Welch p >= 0.05
Users can apply other criteria by requesting return.type = "list"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.