https://classes.pythonprogramminghelp.com/break-all-the-rules-and-generalized-linear-models/