https://ats.codingforstudent.com/3-smart-strategies-to-generalized-linear-models/