bayesplain.core.intervals.eti_from_draws

bayesplain.core.intervals.eti_from_draws(draws, level=0.95)[source]

Equal-tailed interval from posterior draws.

Parameters:
draws : array_like

Posterior draws.

level : float, default 0.95

Probability the interval should contain.

Returns:

Lower and upper bounds.

Return type:

tuple of float