check.emc | R Documentation |
Runs a series of convergence checks, prints statistics to the console, and makes traceplots of the worst converged parameter per selection.
## S3 method for class 'emc'
check(
emc,
selection = c("mu", "sigma2", "alpha"),
digits = 3,
plot_worst = TRUE,
...
)
check(emc, ...)
emc |
An emc object |
selection |
A Character vector. Indicates which parameter types to check (e.g., |
digits |
Integer. How many digits to round the ESS and Rhat to in the plots |
plot_worst |
Boolean. If |
... |
Optional arguments that can be passed to |
Note that the Rhat
is calculated by doubling the number of chains by
first splitting chains into first and second half, so it also a test of
stationarity.
Efficiency of sampling is indicated by the effective
sample size (ESS) (from the coda
R package).
Full range of possible samples manipulations described in get_pars
.
a list with the statistics for the worst converged parameter per selection
check(samples_LNR)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.