Skip to contents

All convergence diagnostics for a fit (details of each checker used)

Usage

morie_bayes_diagnostics(fit)

Arguments

fit

A morie_bayes_fit.

Value

A list with rhat, ess, and geweke.

Examples

d <- data.frame(x = rnorm(40)); d$y <- d$x + rnorm(40)
morie_bayes_diagnostics(morie_bayes_lm(y ~ x, d, chains = 2, iter = 300,
                                       warmup = 100))
#> $rhat
#> (Intercept)           x   log_sigma 
#>    1.029269    1.035972    1.001433 
#> 
#> $ess
#> (Intercept)           x   log_sigma 
#>    33.80398    23.33268    72.05760 
#> 
#> $geweke
#> (Intercept)           x   log_sigma 
#>  -0.4166176  -4.4990595  -0.1102167 
#>