Description Usage Arguments Details Value Author(s) References
This function evaluate R hat statistics for any fitted model object of class stanfit
.
1 | check_rhat(StanS4class, summary = FALSE, digits = 3)
|
StanS4class |
An S4 object of class To be passed to |
summary |
Logical: |
digits |
a positive integer, indicating the digit of R hat printed in R/R-studio console |
It evaluates whether or not r hat statistics are close to 1.
Logical, that is TRUE
or FALSE
. If model converges then TRUE
, and if not FALSE
.
betanalpha, so not my function. But I modified it. So, alphanbetan is one of the standeveloper, so his function will has consensus, thus I use it.
Gelman A. \& Rubin, D.B. (1992). Inference from Iterative Simulation Using Multiple Sequences, Statistical Science, Volume 7, Number 4, 457-472.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.