mcmc_summary

utils.diagnostics.mcmc_summary(chains, probs=(0.025, 0.5, 0.975))

Posterior summary table for a set of named chains.

Parameters

Name Type Description Default
chains dict of str -> np.ndarray Named chains (each 1-D). required
probs tuple of float Quantiles reported as q025 / q50 / q975-style columns. (0.025, 0.5, 0.975)

Returns

Name Type Description
pd.DataFrame Indexed by parameter name with columns mean, sd, one per quantile, ess, rhat_split, mcse, geweke_z.