Source: https://pages.vassar.edu/jutouchon/files/2018/08/Vassar_R.GLMs_2018.pdf