check_hmc_diagn {rbmi}R Documentation

Diagnostics of the MCMC based on HMC-related measures.

Description

Check that:

  1. There are no divergent iterations.

  2. The Bayesian Fraction of Missing Information (BFMI) is sufficiently low.

  3. The number of iterations that saturated the max treedepth is zero.

Please see rstan::check_hmc_diagnostics() for details.

Usage

check_hmc_diagn(stan_fit)

Arguments

stan_fit

A stanfit object.

Value

A warning message in case of detected problems.


[Package rbmi version 1.2.6 Index]