https://ipython.pythonprogramminghelp.com/how-to-quickly-logistic-regression-and-log-linear-models/