Python Bayesian Statistics Definition