
All convergence diagnostics for a fit (details of each checker used)
Source:R/bayes_mcmc.R
morie_bayes_diagnostics.RdAll convergence diagnostics for a fit (details of each checker used)
Examples
set.seed(1)
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.047042 1.050337 1.028131
#>
#> $ess
#> (Intercept) x log_sigma
#> 22.97959 18.28227 47.70508
#>
#> $geweke
#> (Intercept) x log_sigma
#> 0.7125451 -0.8160184 1.0271930
#>