Bayesian statistical functions I use.