Generalized linear model (source code)

= Generalized linear model
{wiki=Generalized_linear_model}

A Generalized Linear Model (GLM) is a flexible framework for modeling a wide variety of response variables and is an extension of traditional linear regression. It generalizes linear regression to allow for response variables that have error distribution models other than a normal distribution. Here are the key components of a GLM: 1. **Random Component**: This refers to the probability distribution of the response variable \\(Y\\).