Description Usage Arguments Value See Also
Rhat
computes the Gelman & Rubin R.hat statistic.
Given an array of theta
values, for some parameter, produced by
several chains, compute the R.hat statistic as a check for convergence. The
R.hat
statistic (Gelman & Rubin 1992) should be close to zero if the
chains are converging. See also Gelman et al. (2004, sect 11.6)
1 | Rhat(theta)
|
theta |
(array) of samples of one parameters. |
The R.hat statistic (scalar).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.