https://operator.pythonprogramminghelp.com/3-rules-for-posterior-probabilities/