rvRhat {rv}R Documentation

R-hat Convergence Diagnostic

Description

Retrieves the R-hat convergence diagnostic for each component of the argument

Usage

rvRhat(x)

Arguments

x an object

Details

The R-hat values are assumed to be saved as attributes. If they are not available, NA will be returned.

R-hat is computed by programs such as Umacs and R2WinBUGS.

Value

Vector of numbers, NA if R-hat is not available.

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Gelman et al. Bayesian Data Analysis, 2nd edition, 2004, CRC Press.


[Package rv version 0.949 Index]