https://graphs.pythonprogramminghelp.com/confessions-of-a-bayesian-estimation/