Command Palette
Search for a command to run...
Generalized Linear Model
Date
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 $latex {Y}$ comes from an exponential family distribution, then the mean $latex {\mu}$ of the distribution can be explained by the independent $latex {X}$ at that point:
$latex {E{ \left( {y} \right) }\text{ }=\text{ } \mu \text{ }=\text{ }g\mathop{{}}\nolimits^{{-1}}{ \left( {X \beta } \right) }}$
Among them, $latex {E{ \left( {y} \right) }}$ is the expected value of $latex {y}$, $latex {X \beta }$ is the linear estimation formula composed of the unknown to-be-estimated parameters $latex {\beta }$ and the known variables $latex {X}$, and $latex {g}$ is the link function.
In this mode, the variance $latex {y}$ of $latex {V}$ can be expressed as:
$latex {Var{ \left( {y} \right) }\text{ }=\text{ }V{ \left( { \mu } \right) }\text{ }=\text{ }V{ \left( {g\mathop{{}}\nolimits^{{-1}}{ \left( {X \beta } \right) }} \right) }}$
where $latex {V}$ can be viewed as a function of an exponential random variable, and the unknown parameter $latex {\beta }$ 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 $latex {f}$ from the exponential family.
2. Linear predictor $latex { \eta \text{ }=\text{ }X \beta }$ .
3. The link function $latex {g}$ such that $latex {E{ \left( {y} \right) }\text{ }=\text{ } \mu \text{ }=\text{ }g\mathop{{}}\nolimits^{{-1}}{ \left( {\eta } \right) }}$ .
References
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.