O'Reilly logo

Practical Predictive Analytics by Ralph Winters

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generalized linear models

Generalized linear models (GLMs) refer to a larger framework of prediction techniques which can include linear regression, logistic regression (used to predict binary outcomes), and poisson regression (used to predict counts). They are a generalization of linear regression techniques which allow you to work with other distributions which have non-normal error terms. GLMs can be implemented in R by using the glm package, in which you supply a link function to specify which distribution you are modeling. That makes it easier to work with different types of models within a single package, using standard syntax.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required