Generalized linear model vs logistic regression