Learn R Programming

rbmi (version 1.4.1)

check_hmc_diagn: 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)

Value

A warning message in case of detected problems.

Arguments

stan_fit

A stanfit object.