Skip to content

summary

summary(chainsOrResults, opts?): any[]

Defined in: mc/src/samplers/hmc-vector.js:216

ArviZ-style posterior summary across one or more chains.

Parameters

chainsOrResults

any

Array of chain results ({trace} from HMC#sample), an array of raw trace dicts, or a single trace dict.

opts?

hdi?

number = 0.94

HDI mass (e.g. 0.94 → hdi_3%/hdi_97%).

Returns

any[]

One row per scalar parameter component with { param, mean, sd, hdi_lo, hdi_hi, ess, rhat }.