simpleRhat {wiqid}R Documentation

The Brooks-Gelman-Rubin (BGR) convergence diagnostic (deprecated)

Description

This is now a wrapper for getRhat

Usage

simpleRhat(object, n.chains, burnin=0)

Arguments

object

an object of any class with MCMC output that can be coerced to class mcmcOutput.

n.chains

ignored

burnin

ignored

Value

A named vector with the Rhat values.

Author(s)

Mike Meredith

References

Brooks, S.P. & Gelman, A. (1998) General methods for monitoring convergence of iterative simulations. Journal of Computational and Graphical Statistics, 7, 434-455.

Spiegelhalter, Thomas, Best & Lunn (2003) WinBUGS User Manual Version 1.4, on line here.

Examples

# Get some output to use
data(salamanders)
y <- rowSums(salamanders)
( out <- BoccSS0(y, 5) )

simpleRhat(out)

[Package wiqid version 0.3.3 Index]