Generalising Linear Models

What exactly does a GLM generalise from a linear model?

To really understand this, we must first begin with what we understand a linear model to be.

Say we have some observed random variables (Y_i) we believe to be dependent on some independent variables (X_ij). For simplicity let's just say we believe only one independent variable is affecting our model (X_i). (This is often called Simple linear regression).

It must be noted, when we are first building our model, we are not developing a model for Y_i = cX_i