Get convergence diagnostics for a fitted model
Source:R/diagnostics.R
get_convergence_diagnostics.RdComputes and saves convergence diagnostics (Rhat, ESS) for hyperparameters and creates density overlay plots.
Arguments
- fit
A fitted model object from
fit_model- model_name
Character string specifying the model type. Either "spline" (checks Omega, Ptilde, Betas) or "rw2" (checks Omega, gamma). Default is "spline".