Source: https://biotoolbox.binghamton.edu/Statistical Models/Generalized Linear Models/pdf files/GLM 030.pdf