Learn R Programming

wiqid (version 0.3.3)

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

Description

This is now a wrapper for getRhat

Usage

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

Value

A named vector with the Rhat values.

Arguments

object

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

n.chains

ignored

burnin

ignored

Author

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

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

simpleRhat(out)

Run the code above in your browser using DataLab