GLM
Generalized linear model (GLM) is a framework for regression that extends ordinary linear regression to response variables whose distributions come from the exponential family and that may have non-constant variance. A GLM consists of three components: a random component specifying the distribution of the response variable, a systematic component given by a linear predictor, and a link function that connects the mean of the distribution to the linear predictor.
The random component assumes Y given predictors X follows a member of the exponential family, such as
Estimation is typically performed by maximum likelihood, often using iteratively reweighted least squares to solve the