bayesfit.bci - Bayesian Credible Interval (BCI)

bayesfit.bci(marginal, alpha)

Input Arguments

marginalNumpy array

A marginal distribution obatined from the metrics dictionary object output after fitting a model to data via the bayesfit.fitmodel function.

alphafloat (limited range: 0 - 1)

Level of confidence.

Output Variables

lower, upperfloat

Upper and lower bounds of Bayesian Credible Interval (BCI) for a marginal distribution given a specified level of confidence.