Module 8: Generalized Linear Models

Author

Aaron R. Caldwell, Ph.D.

In this module, we will take a look at generalize linear models.

A generalized linear model (GLM) is a flexible generalization of ordinary least squares (OLS) regression. It extends OLS to accommodate a wider range of response variables beyond continuous data and allows for non-linear relationships between the response and predictor variables.

Here’s how they differ:

In essence, GLMs provide a more general framework for modeling relationships between variables, while OLS is a special case within this framework.

Lecture Videos

Lecture Notes

Lecture notes displayed in the lectures can always be found at the lecture notes website.

Introduction to GLMs

Logistic Regression as a GLM

Credit Default Data

Regular Linear Regression versus Logistic Regression

Predictions and Classification in Logistic Regression

Confusion Matrices

Combining Categorical and Quantitative Predictors in Models

Mesothelioma Data

Initial Variable Removal and VIF Removal

  • Redundancy is the same as linear regression.

Form of the Residuals

DHARMa to examine residuals