Generalized Linear Models and Survival Models