% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{dcvar_diagnostics}
\alias{dcvar_diagnostics}
\alias{dcvar_diagnostics.default}
\alias{dcvar_diagnostics.dcvar_model_fit}
\title{Extract MCMC diagnostics}
\usage{
dcvar_diagnostics(object, ...)

\method{dcvar_diagnostics}{default}(object, ...)

\method{dcvar_diagnostics}{dcvar_model_fit}(object, ...)
}
\arguments{
\item{object}{A fitted model object.}

\item{...}{Additional arguments (unused).}
}
\value{
A named list with:
\itemize{
\item \code{n_divergent}: total number of divergent transitions
\item \code{n_max_treedepth}: transitions hitting max tree depth
\item \code{max_rhat}: worst (highest) Rhat across sampled parameters
\item \code{min_ess_bulk}: smallest bulk ESS among sampled parameters
\item \code{min_ess_tail}: smallest tail ESS among sampled parameters
\item \code{mean_accept_prob}: mean acceptance probability
}
}
\description{
Returns a summary of sampling diagnostics including divergences,
tree depth warnings, Rhat, and effective sample size.
The convergence headline is computed from sampled parameters only and
excludes generated quantities and deterministic transformed outputs.
}
