estimate_bayesian function

(Hierarchical) Bayesian Estimation