Skip to contents

Get the parameters that were flagged for diagnostics for the model run

Usage

get_model_run_diagnostics(
  stan_fit_object,
  rhat_threshold = 1.05,
  ess_threshold = 100
)

Arguments

stan_fit_object

CmdstanR object

rhat_threshold

Max acceptable Rhat, above this number we flag that parameter

ess_threshold

this number times n chains is the minimum effective sample size before we flag

Value

model_flags: a dataframe containing all the parameters that are flagged for havign either high Rhat or low effective sample size