https://dictionaries.pythonprogramminghelp.com/3-tips-to-log-linear-models-and-contingency-tables/