c212.print.convergence.summary: Print a Summary of the Convergence Diagnostics of the...

View source: R/c212.convergence.R

c212.print.convergence.summaryR Documentation

Print a Summary of the Convergence Diagnostics of the Simulation

Description

The function prints the maximum and minimum values of either Gelman-Rubin diagnostic or the Geweke diagnostic for each group of samples, e.g. theta, gamma, mu.gamma etc.

Usage

	c212.print.convergence.summary(conv)

Arguments

conv

The output from a call to c212.convergence.diag.

Value

Nothing

Note

The Geweke statistic is a Z-score calculated from a single chain. Due to the large number of variables sampled it is possible that a certain number will be deemed significant (at the 5% level) even though the simulation may have converged.

Author(s)

R. Carragher

Examples

data(c212.trial.data)
raw = c212.BB(c212.trial.data, burnin = 100, iter = 200)
conv = c212.convergence.diag(raw)
c212.print.convergence.summary(conv)
## Not run: 
data(c212.trial.data)
raw = c212.BB(c212.trial.data)
conv = c212.convergence.diag(raw)
c212.print.convergence.summary(conv)

## End(Not run)

c212 documentation built on April 3, 2025, 10:29 p.m.