ArticleslgStudy

biology

Vector generalized linear model

Vector generalized linear model is a biology topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Vector generalized linear model rather than just read about it. In short: In statistics, the class of vector generalized linear models (VGLMs) was proposed to enlarge the scope of models catered for by generalized linear models (GLMs). In particular, VGLMs allow for response variables outside the classical exponential family and for more than one parameter.

Key takeaways

  • Vector generalized linear model belongs to biology; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Vector generalized linear model to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Vector generalized linear model from memory before moving on to harder problems.

Reference excerpt

In statistics, the class of vector generalized linear models (VGLMs) was proposed to enlarge the scope of models catered for by generalized linear models (GLMs). In particular, VGLMs allow for response variables outside the classical exponential family and for more than one parameter. Each parameter (not necessarily a mean) can be transformed by a link function. The VGLM framework is also large enough to naturally accommodate multiple responses; these are several independent responses each coming from a particular statistical distribution with possibly different parameter values. Vector generalized linear models are described in detail in Yee (2015). The central algorithm adopted is the iteratively reweighted least squares method, for maximum likelihood estimation of usually all the model parameters. In particular, Fisher scoring is implemented by such, which, for most models, uses the first and expected second derivatives of the log-likelihood function.

Motivation GLMs essentially cover one-parameter models from the classical exponential family, and include 3 of the most important statistical regression models: the linear model, Poisson regression for counts, and logistic regression for binary responses. However, the exponential family is far too limiting for regular data analysis. For example, for counts, zero-inflation, zero-truncation and overdispersion are regularly encountered, and the makeshift adaptations made to the binomial and Poisson models in the form of quasi-binomial and quasi-Poisson can be argued as being ad hoc and unsatisfactory. But the VGLM framework readily handles models such as zero-inflated Poisson regression, zero-altered Poisson (hurdle) regression, positive-Poisson regression, and negative binomial regression. As another example, for the linear model, the variance of a normal distribution is relegated as a scale parameter and it is treated often as a nuisance parameter (if it is considered as a parameter at all). But the VGLM framework allows the variance to be modelled using covariates. As a whole, one can loosely think of VGLMs as GLMs that handle many models outside the classical exponential family and are not restricted to estimating a single mean. During estimation, rather than using weighted least squares during IRLS, one uses generalized least squares to handle the correlation between the M linear predictors.

Data and notation We suppose that the response or outcome or the dependent variable(s), 𝒚=(y1,…,yQ1)T, are assumed to be generated from a particular distribution. Most distributions are univariate, so that Q1=1, and an example of Q1=2 is the bivariate normal distribution. Sometimes we write our data as (𝒙i,wi,𝒚i) for i=1,…,n. Each of the n observations are considered to be independent. Then 𝒚i=(yi1,…,yiQ1)T. The wi are known positive prior weights, and often wi=1. The explanatory or independent variables are written 𝒙=(x1,…,xp)T, or when i is needed, as 𝒙i=(xi1,…,xip)T. Usually there is an intercept, in which case x1=1 or xi1=1. Actually, the VGLM framework allows for S responses, each of dimension Q1. In the above S = 1. Hence the dimension of 𝒚i is more generally Q=S×Q1. One handles S responses by code such as vglm(cbind(y1, y2, y3) ~ x2 + x3, ..., data = mydata) for S = 3. To simplify things, most of this article has S = 1.

Model components The VGLM usually consists of four elements:

1. A probability density function or probability mass function from some statistical distribution which has a log-likelihood ℓ, first derivatives ∂ℓ/∂θj and expected information matrix that can be computed. The model is required to satisfy the usual MLE regularity conditions. 2. Linear predictors ηj described below to model each parameter θj, j=1,…,M. 3. Link functions gj such that θj=gj−1(ηj). 4. Constraint matrices 𝑯k for k=1,…,p, each of full column-rank and known.

Linear predictors Each linear predictor is a quantity which incorporates information about the independent variables into the model. The symbol ηj (Greek "eta") denotes a linear predictor and a subscript j is used to denote the jth one. It relates the jth parameter to the explanatory variables, and ηj is expressed as linear combinations (thus, "linear") of unknown parameters 𝜷j, i.e., of regression coefficients β(j)k. The jth parameter, θj, of the distribution depends on the independent variables, 𝒙, through

gj(θj)=ηj=𝜷jT𝒙. Let 𝜼=(η1,…,ηM)T be the vector of all the linear predictors. (For convenience we always let 𝜼 be of dimension M). Thus all the covariates comprising 𝒙 potentially affect all the parameters through the linear predictors ηj. Later, we will allow the linear predictors to be generalized to additive predictors, which is the sum of smooth functions of each xk and each function is estimated from the data.

Link functions Each link function provides the relationship between a linear predictor and a parameter of the distribution. There are many commonly used link functions, and their choice can be somewhat arbitrary. It makes sense to try to match the domain of the link function to the range of the distribution's parameter value. Notice above that the gj allows a different link function for each parameter. They have similar properties as with generalized linear models, for example, common link functions include the logit link for parameters in (0,1), and the log link for positive parameters. The VGAM package has function identitylink() for parameters that can assume both positive and negative values.

Constraint matrices More generally, the VGLM framework allows for any linear constraints between the regression coefficients β(j)k of each linear predictors. For example, we may want to set some to be equal to 0, or constraint some of them to be equal. We have

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Vector generalized linear model

Start with the simplest possible case. Write down what Vector generalized linear model claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In biology, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Vector generalized linear model before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Vector generalized linear model ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Vector generalized linear model

In research
Vector generalized linear model appears in biology research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Vector generalized linear model in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Vector generalized linear model is common in secondary-school and first-year university syllabi. It links to neighbouring topics Actuarial science, Generalized linear models, Regression models, so understanding it makes those chapters shorter.
In everyday life
Look for Vector generalized linear model outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Vector generalized linear model” →

How to study Vector generalized linear model in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Vector generalized linear model means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Vector generalized linear model out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Vector generalized linear model in simple terms?

In statistics, the class of vector generalized linear models (VGLMs) was proposed to enlarge the scope of models catered for by generalized linear models (GLMs). In particular, VGLMs allow for response variables outside the classical exponential family and for more than one parameter.

Why does Vector generalized linear model matter?

Because it connects several biology ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Vector generalized linear model?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Vector generalized linear model.

Tags

  • Actuarial science
  • Generalized linear models
  • Regression models

Keep exploring