FACTOID # 110: Around 80% of all livejournal users are from the United States of America.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Generalized linear model

In statistics, the generalized linear model (GLM) is a useful generalization of ordinary least squares regression. A GLM stipulates that the random part of the experiment (the distribution function) and the systematic portion of the experiment (the linear predictor) are related through what's deemed the link function. A graph of a bell curve in a normal distribution showing statistics used in educational assessment, comparing various grading methods. ... Line of best fit redirects here. ...

Contents

Overview

In a GLM, the data (Y) are assumed to be generated from a distribution function in the exponential family (a very large range of distributions; also see below). The data's expectation μ is predicted by In probability and statistics, an exponential family is any class of probability distributions having a certain form. ...

operatorname{E}(mathbf{Y}) = boldsymbol{mu} = g^{-1}(mathbf{X}boldsymbol{beta})

where is the linear predictor, a linear combination (X, known from the experiment) of unknown parameters β, and g is called the link function.


In this framework, typically the random component is also a function V of the mean:


operatorname{Var}(mathbf{Y}) = operatorname{V}( boldsymbol{mu} ) = operatorname{V}(g^{-1}(mathbf{X}boldsymbol{beta})).


It is convenient if the variance follows from the exponential family distribution, but it may simply be that the variance is a function of the predicted value. In probability and statistics, an exponential family is any class of probability distributions having a certain form. ...


The unknown parameters β are typically estimated with maximum likelihood, quasi maximum likelihood, or Bayesian techniques. Maximum likelihood estimation (MLE) is a popular statistical method used to make inferences about parameters of the underlying probability distribution of a given data set. ... Bayesian refers to probability and statistics -- either methods associated with the Reverend Thomas Bayes (ca. ...


Components of the model

The GLM consists of three elements.

1. A distribution function f, from the exponential family.
2. A linear predictor η = X β.
3. A link function g such that E(y) = μ = g-1(η).

Exponential Family of Distributions

The exponential family of distributions are those probability distributions, parameterized by θ and τ, whose density functions can be expressed in the form

f_y(y; theta, tau) = exp{left(frac{a(y)b(theta) + c(theta)} {h(tau)} + d(y,tau) right)} ,!.

τ, called the dispersion parameter, typically is known. The functions a, b, c, d, and h are known. Many, although not all, common distributions are in this family.


If a is the identity function, then the distribution is said to be in canonical form. If in addition b is the identity, then θ is called the canonical parameter. Generally, in mathematics, a canonical form is a function that is written in the most standard, conventional, and logical way. ...


Linear Predictors

The linear predictor is a quantity relating to the expectation of the data (thus, "predictor") through the link function. The symbol η ("eta") is typically used to denote a linear predictor.


η is expressed as linear combinations (thus, "linear") of unknown parameters β. The coefficients of the linear combination are represented as the matrix X; its elements are either fully known by the experimenters or stipulated by them in the modeling process.


Thus η can be expressed as

boldsymbol{eta} = mathbf{X}boldsymbol{beta}.

Link functions

The link function provides the relationship between the linear predictor and the distribution function (through its mean). There are many commonly used link functions, and their choice can be somewhat arbitrary. However, it is important to match the domain of the link function to the range of the distribution function's mean. In probability theory the expected value (or mathematical expectation) of a random variable is the sum of the probability of each possible outcome of the experiment multiplied by its payoff (value). Thus, it represents the average amount one expects as the outcome of the random trial when identical odds are...


Following is a table of some common link functions and their inverses (sometimes referred to as the mean function) used for several distributions in the exponential family.

Link Functions
Distribution Name Link Function Mean Function
Normal Identity Xbeta=mu,! mu=Xbeta,!
Exponential Inverse Xbeta=mu^{-1},! mu=(Xbeta)^{-1},!
Gamma
Poisson Log Xbeta=ln{(mu)},! mu=exp{(Xbeta)},!
Binomial Logit Xbeta=ln{left(frac{mu}{1-mu}right)},! mu=frac{exp{(Xbeta)}}{1 + exp{(Xbeta)}},!
Multinomial

Examples

Linear regression

The simplest example of a GLM is linear regression. Here the distribution function is the normal distribution with constant variance and the link function is the identity. Line of best fit redirects here. ...


Binomial data

When the response data (Y) are binary (taking on only values 0 and 1), the distribution function is generally chosen to be the binomial distribution and the interpretation of μi is then the probability of Yi taking on the value one. There are several popular link functions for binomial functions; the most typical is the logistic function: In probability theory and statistics, the binomial distribution is the discrete probability distribution of the number of successes in a sequence of n independent yes/no experiments, each of which yields success with probability p. ...

g(p) = ln{left( { p over 1-p } right) }.

GLMs with this setup are logistic regression models. It has been suggested that Logit be merged into this article or section. ...


In addition, any inverse cumulative density function (CDF) can be used for the link since the CDF's range is [0, 1], the range of the binomial mean. The normal CDF Φ is a popular choice and yields the probit model. Its link is In probability theory, the cumulative distribution function (abbreviated cdf) completely describes the probability distribution of a real-valued random variable, X. For every real number x, the cdf is given by where the right-hand side represents the probability that the random variable X takes on a value less than... The probit model is a popular specification of a binary regression model, using a probit link function. ...

g(p) = Phi^{-1}(p),!.

The identity link is also sometimes used for binomial data (this is equivalent to using the uniform distribution instead of the normal as the CDF) but this can be problematic as the predicted probabilities can be greater than one or less than zero. In implementation it is possible to fix the nonsensical probabilities outside of [0,1] but interpreting the coefficients can be difficult in this model. The model's primary merit is that near p=0.5 it is approximately a linear transformation of the probit and logit — econometricians sometimes call this the Harvard model.


The variance function for binomial data is given by:

operatorname{Var}(Y_{i})= taumu_{i} (1-mu_{i}),!

where the dispersion parameter τ is typically exactly one. When it is not, the model is often described as binomial with overdispersion or quasibinomial.


Count data

Another example of generalized linear models includes Poisson regression which models count data using the Poisson distribution. The link is typically the logarithm. In statistics, the Poisson regression model attributes to a response variable Y a Poisson distribution whose expected value depends on a predictor variable x (written in lower case because the model treats x as non-random, in the following way: (where log means natural logarithm). ... In probability theory and statistics, the Poisson distribution is a discrete probability distribution. ...


The variance function is proportional to the mean:

operatorname{Var}(Y_{i}) = taumu_{i},

where the dispersion parameter τ is typically exactly one. When it is not, the model is often described as poisson with overdispersion or quasipoisson.


References

  • P. McCullagh and J.A. Nelder. Generalized Linear Models. London: Chapman and Hall, 1989.
  • A.J. Dobson. Introduction to Generalized Linear Models, Second Edition. London: Chapman and Hall/CRC, 2001.

External links

  • John Nelder FRS
  • Royal Society citation for Nelder

  Results from FactBites:
 
Generalized linear model - Wikipedia, the free encyclopedia (215 words)
Error distributions from the exponential family, besides the normal distribution are permitted.
As in the notation of other regression models such as the General linear model, X is the design matrix, and β is a matrix containing parameters that must be estimated.
Generalized linear models include, as special cases, ordinary linear regression, logistic regression, Poisson regression, and several other interesting models.
MA3201 Generalized Linear Models (639 words)
The aim of covering the theory for the generalized linear model is to understand the extension of the theory to cover log-linear models for the analysis of counts and proportions and linear logistic regression models for binary data.
Students should be able to understand the theory of the generalized linear model and be able to understand how to use GLIM to analyse data with the generalized linear model.
Students will be able to assess the fit of a log-linear model using change in deviance, knowledge of the theory of the general linear model, and the ability to use GLIM to analyse data with the generalized linear model.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.