https://salt.pythonprogramminghelp.com/3-facts-about-maximum-likelihood-estimation/