Generalized Linear Model
Generalized Linear ModelsIt is a flexible linear regression model that allows the dependent variable to have a distribution form other than the normal distribution.
definition
The generalized linear model is an extension of simple least squares regression. Assuming that each data observation comes from an exponential family distribution, then the mean
of the distribution can be explained by the independent
at that point:
Among them, is the expected value of
,
is the linear estimation formula composed of the unknown to-be-estimated parameters
and the known variables
, and
is the link function.
In this mode, the variance of
can be expressed as:
where can be viewed as a function of an exponential random variable, and the unknown parameter
is usually estimated using the maximum likelihood estimator, the almost maximum likelihood estimator, or the Bayesian method.
Model composition
The generalized linear model consists of the following main parts:
1. Distribution function from the exponential family.
2. Linear predictor .
3. The link function such that
.