samplers
constsamplers:object
Defined in: mc/src/index.js:108
Type Declaration
HamiltonianMC
HamiltonianMC: typeof
HamiltonianMC
HMC
HMC: typeof
HMC
MetropolisHastings
MetropolisHastings: typeof
MetropolisHastings
NUTS
NUTS: typeof
NUTS
summary
summary: (
chainsOrResults,opts?) =>any[]
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 }.