Generalized linear model example