Calculates the effective sample size (ESS) for MCMC parameters.
Details
ESS represents the number of independent samples that would give the same precision as the correlated MCMC samples. Higher values indicate better mixing of the chains.
Examples
if (FALSE) { # \dontrun{
ess_values <- calculate_effective_sample_size(fit)
print(ess_values)
} # }
