encyclopegia.org

Vector generalized linear model

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).[src] In particular, VGLMs allow for response variables outside the classical exponential family and for more than one parameter.[src] Each parameter (not necessarily a mean) can be transformed by a link function.[src] 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.[src] Vector generalized linear models are described in detail in Yee (2015).[src] The central algorithm adopted is the iteratively reweighted least squares method, for maximum likelihood estimation of usually all the model parameters.[src] In particular, Fisher scoring is implemented by such, which, for most models, uses the first and expected second derivatives of the log-likelihood function.[src]

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).[src] In particular, VGLMs allow for response variables outside the classical exponential family and for more than one parameter.[src] Each parameter (not necessarily a mean) can be transformed by a link function.[src] 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.[src] Vector generalized linear models are described in detail in Yee (2015).[src] The central algorithm adopted is the iteratively reweighted least squares method, for maximum likelihood estimation of usually all the model parameters.[src] In particular, Fisher scoring is implemented by such, which, for most models, uses the first and expected second derivatives of the log-likelihood function.[src] ==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.[src] However, the exponential family is far too limiting for regular data analysis.[src] 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.[src] 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.[src] 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).[src] But the VGLM framework allows the variance to be modelled using covariates.[src] 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.[src] During estimation, rather than using weighted least squares during IRLS, one uses generalized least squares to handle the correlation between the M linear predictors.[src] ==Data and notation== We suppose that the response or outcome or the dependent variable(s), \boldsymbol{y}=(y_1,\ldots,y_{Q_1})^T , are assumed to be generated from a particular distribution.[src] Most distributions are univariate, so that Q_1=1 , and an example of Q_1=2 is the bivariate normal distribution.[src] Sometimes we write our data as (\boldsymbol{x}_{i},w_i,\boldsymbol{y}_{i}) for i=1,\ldots,n .[src] Each of the n observations are considered to be independent.[src] Then \boldsymbol{y}_i = (y_{i1},\ldots,y_{iQ_1})^T .[src] The w_{i} are known positive prior weights, and often w_{i}=1 .[src] The explanatory or independent variables are written \boldsymbol{x}=(x_1,\ldots,x_p)^T , or when i is needed, as \boldsymbol{x}_i = (x_{i1},\ldots,x_{ip})^T .[src] Usually there is an intercept, in which case x_1 = 1 or x_{i1} = 1 .[src] Actually, the VGLM framework allows for S responses, each of dimension Q_1 .[src] In the above S = 1.[src] Hence the dimension of \boldsymbol{y}_{i} is more generally Q = S \times Q_1 .[src] One handles S responses by code such as vglm(cbind(y1, y2, y3) ~ x2 + x3, ..., data = mydata) for S = 3.[src] To simplify things, most of this article has S = 1.[src] 2.[src] Linear predictors \eta_j described below to model each parameter \theta_j , j=1,\ldots,M.[src] 3.[src] Link functions g_j such that \theta_j = g_j^{-1}(\eta_j).[src] 4.[src] Constraint matrices \boldsymbol{H}_k for k=1,\ldots,p, each of full column-rank and known.[src] g_j( \theta_j) = \eta_j = \boldsymbol{\beta}_j^T \boldsymbol{x}.[src] Let \boldsymbol{\eta} = (\eta_1, \ldots, \eta_M)^T be the vector of all the linear predictors.[src] (For convenience we always let \boldsymbol{\eta} be of dimension M).[src] Thus all the covariates comprising \boldsymbol{x} potentially affect all the parameters through the linear predictors \eta_j .[src] Later, we will allow the linear predictors to be generalized to additive predictors, which is the sum of smooth functions of each x_k and each function is estimated from the data.[src] \boldsymbol{\eta} = \sum_{k=1}^p \, \boldsymbol{\beta}^{}_{(k)} \, x_{k} = \sum_{k=1}^p \, \boldsymbol{H}_k \; \boldsymbol{\beta}^{*}_{(k)} \, x_{k} where the \boldsymbol{H}_k are the constraint matrices.[src] Each constraint matrix is known and prespecified, and has M rows, and between 1 and M columns.[src] The elements of constraint matrices are finite-valued, and often they are just 0 or 1.[src] For example, the value 0 effectively omits that element while a 1 includes it.[src] It is common for some models to have a parallelism assumption, which means that \boldsymbol{H}_k = \boldsymbol{1}_M for k=2,\ldots,p , and for some models, for k=1 too.[src] The special case when \boldsymbol{H}_k = \boldsymbol{I}_M for all k=1,\ldots,p is known as trivial constraints; all the regression coefficients are estimated and are unrelated.[src] And \theta_j is known as an intercept-only parameter if the jth row of all the \boldsymbol{H}_k = are equal to \boldsymbol{0}^T for k=2,\ldots,p , i.e., \eta_j = \beta_{(j)1}^{*} equals an intercept only.[src] Intercept-only parameters are thus modelled as simply as possible, as a scalar.[src] The unknown parameters, \boldsymbol{\beta}^{*} = (\boldsymbol{\beta}_{(1)}^{*T},\ldots,\boldsymbol{\beta}_{(p)}^{*T})^T , are typically estimated by the method of maximum likelihood.[src] All the regression coefficients may be put into a matrix as follows: \boldsymbol{\eta}_i = \boldsymbol{B}^T \boldsymbol{x}_i = \begin{pmatrix} \boldsymbol{\beta}^{T}_{1} \, \boldsymbol{x}_i \\ \vdots \\ \boldsymbol{\beta}^{T}_{M} \, \boldsymbol{x}_i \\ \end{pmatrix} = \left( \boldsymbol{\beta}^{}_{(1)}, \ldots, \boldsymbol{\beta}^{}_{(p)} \right) \; \boldsymbol{x}_i.[src] \boldsymbol{\eta}_i = \boldsymbol{o}_i + \sum_{k=1}^{p} \, diag(x_{ik1},\ldots,x_{ikM}) \, \mathbf{H}_k \, \boldsymbol{\beta}_{(k)}^{*}.[src] Here the \boldsymbol{o}_i is an optional offset; which translates to be a n \times M matrix in practice.[src] The VGAM package has an xij argument that allows the successive elements of the diagonal matrix to be inputted.[src] ==Software== Yee (2015) describes an R package implementation in the called VGAM.[src] Currently this software fits approximately 150 models/distributions.[src] The central modelling functions are vglm() and vgam() .[src] The family argument is assigned a VGAM family function, e.g., family = negbinomial for negative binomial regression, family = poissonff for Poisson regression, family = propodds for the proportional odd model or cumulative logit model for ordinal categorical regression.[src] \ell = \sum_{i=1}^{n} \, w_i \, \ell_i, where the w_i are positive and known prior weights.[src] The maximum likelihood estimates can be found using an iteratively reweighted least squares algorithm using Fisher's scoring method, with updates of the form: \boldsymbol\beta^{(a+1)} = \boldsymbol\beta^{(a)} + \boldsymbol{\mathcal{I}}^{-1}(\boldsymbol\beta^{(a)}) \, \, \mathbf{u}(\boldsymbol\beta^{(a)}), where \boldsymbol{\mathcal{I}}(\boldsymbol\beta^{(a)}) is the Fisher information matrix at iteration a.[src] It is also called the expected information matrix, or EIM.[src] \mathrm{ResSS} = \sum_{i=1}^{n} \; w_i \left\{ \mathbf{z}^{(a-1)}_{i} - \boldsymbol{\eta}^{(a-1)}_{i} \right\}^T \mathbf{W}_{i}^{(a-1)} \left\{ \mathbf{z}^{(a-1)}_{i} - \boldsymbol{\eta}^{(a-1)}_{i} \right\} This quantity is minimized at each IRLS iteration.[src] The working responses (also known as pseudo-response and adjusted dependent vectors) are \mathbf{z}_i = \boldsymbol{\eta}_i + \mathbf{W}_i^{-1} \mathbf{u}_i, where the \mathbf{W}_i are known as working weights or working weight matrices.[src] They are symmetric and positive-definite.[src] Using the EIM helps ensure that they are all positive-definite (and not just the sum of them) over much of the parameter space.[src] In contrast, using Newton–Raphson would mean the observed information matrices would be used, and these tend to be positive-definite in a smaller subset of the parameter space.[src] Computationally, the Cholesky decomposition is used to invert the working weight matrices and to convert the overall generalized least squares problem into an ordinary least squares problem.[src] g(\theta_j) = \eta_j   where \theta_j = \mathrm{Pr}(Y \leq j), for j=1,\ldots,M.[src] Different links g lead to proportional odds models or ordered probit models, e.g., the VGAM family function cumulative(link = probit) assigns a probit link to the cumulative probabilities, therefore this model is also called the cumulative probit model.[src] In general they are called cumulative link models.[src] For categorical and multinomial distributions, the fitted values are an (M + 1)-vector of probabilities, with the property that all probabilities add up to 1.[src] Each probability indicates the likelihood of occurrence of one of the M + 1 possible values.[src] \log \left[ \frac{Pr(Y = j)}{\mathrm{Pr}(Y = M+1)} \right] = \eta_j, for j=1,\ldots,M.[src] The above link is sometimes called the multilogit link, and the model is called the multinomial logit model.[src] It is common to choose the first or the last level of the response as the reference or baseline group; the above uses the last level.[src] The VGAM family function multinomial() fits the above model, and it has an argument called refLevel that can be assigned the level used for as the reference group.[src] ===Count data=== Classical GLM theory performs Poisson regression for count data.[src] The link is typically the logarithm, which is known as the canonical link.[src] The variance function is proportional to the mean: \operatorname{Var}(Y_{i}) = \tau\mu_{i},\, where the dispersion parameter \tau is typically fixed at exactly one.[src] When it is not, the resulting quasi-likelihood model is often described as Poisson with overdispersion, or quasi-Poisson; then \tau is commonly estimated by the method-of-moments and as such, confidence intervals for \tau are difficult to obtain.[src] In contrast, VGLMs offer a much richer set of models to handle overdispersion with respect to the Poisson, e.g., the negative binomial distribution and several variants thereof.[src] Another count regression model is the generalized Poisson distribution.[src] Other possible models are the zeta distribution and the Zipf distribution.[src] ==Extensions== ===Reduced-rank vector generalized linear models=== RR-VGLMs are VGLMs where a subset of the B matrix is of a lower rank.[src] Without loss of generality, suppose that \boldsymbol{x}=(\boldsymbol{x}_1^T, \boldsymbol{x}_2^T)^T is a partition of the covariate vector.[src] Then the part of the B matrix corresponding to \boldsymbol{x}_2 is of the form \boldsymbol{A} \boldsymbol{C}^T where \boldsymbol{A} and \boldsymbol{C} are thin matrices (i.e., with R columns), e.g., vectors if the rank R = 1.[src] RR-VGLMs potentially offer several advantages when applied to certain models and data sets.[src] Firstly, if M and p are large then the number of regression coefficients that are estimated by VGLMs is large ( M \times p ).[src] Then RR-VGLMs can reduce the number of estimated regression coefficients enormously if R is low, e.g., R = 1 or R = 2.[src] An example of a model where this is particularly useful is the RR-multinomial logit model, also known as the stereotype model.[src] Secondly, \boldsymbol{\nu} = \boldsymbol{C}^T \boldsymbol{x}_2 = (\nu_1,\ldots,\nu_R)^T is an R-vector of latent variables, and often these can be usefully interpreted.[src] If R = 1 then we can write \nu = \boldsymbol{c}^T \boldsymbol{x}_2 so that the latent variable comprises loadings on the explanatory variables.[src] It may be seen that RR-VGLMs take optimal linear combinations of the \boldsymbol{x}_2 and then a VGLM is fitted to the explanatory variables (\boldsymbol{x}_1, \boldsymbol{\nu}) .[src] Thirdly, a biplot can be produced if R = 2 , and this allows the model to be visualized.[src] It can be shown that RR-VGLMs are simply VGLMs where the constraint matrices for the variables in \boldsymbol{x}_2 are unknown and to be estimated.[src] It then transpires that \boldsymbol{H}_k = \boldsymbol{A} for such variables.[src] RR-VGLMs can be estimated by an alternating algorithm which fixes \boldsymbol{A} and estimates \boldsymbol{C}, and then fixes \boldsymbol{C} and estimates \boldsymbol{A} , etc.[src] In practice, some uniqueness constraints are needed for \boldsymbol{A} and/or \boldsymbol{C} .[src] In VGAM , the rrvglm() function uses corner constraints by default, which means that the top R rows of \boldsymbol{A} is set to \boldsymbol{I}_R .[src] RR-VGLMs were proposed in 2003.[src] A special case of RR-VGLMs is when R = 1 and M = 2.[src] This is dimension reduction from 2 parameters to 1 parameter.[src] Then it can be shown that \theta_2 = g_2^{-1} \left( t_1 + a_{21} \cdot g_1(\theta_1) \right), where elements t_1 and a_{21} are estimated.[src] Equivalently, \eta_2 = t_1 + a_{21} \cdot \eta_1.[src] This formula provides a coupling of \eta_1 and \eta_2 .[src] It induces a relationship between two parameters of a model that can be useful, e.g., for modelling a mean-variance relationship.[src] Sometimes there is some choice of link functions, therefore it offers a little flexibility when coupling the two parameters, e.g., a logit, probit, cauchit or cloglog link for parameters in the unit interval.[src] The above formula is particularly useful for the negative binomial distribution, so that the RR-NB has variance function \operatorname{Var}(Y\mid\boldsymbol{x}) = \mu(\boldsymbol{x}) + \delta_1 \, \mu(\boldsymbol{x})^{\delta_2}.[src] This has been called the NB-P variant by some authors.[src] The \delta_1 and \delta_2 are estimated, and it is also possible to obtain approximate confidence intervals for them too.[src] Incidentally, several other useful NB variants can also be fitted, with the help of selecting the right combination of constraint matrices.[src] For example, NB − 1, NB − 2 ( negbinomial() default), NB − H; see Yee (2014) and Table 11.3 of Yee (2015).[src] \eta_{1ij} = \beta_0 + \alpha_i + \gamma_j + \sum_{r=1}^R c_{ir} \, a_{jr} .[src] For the Goodman RC association model, we have \eta_{1ij}=\log \mu_{ij}, so that if R = 0 then it is a Poisson regression fitted to a matrix of counts with row effects and column effects; this has a similar idea to a no-interaction two-way ANOVA model.[src] Another example of a RCIM is if g_1 is the identity link and the parameter is the median and the model corresponds to an asymmetric Laplace distribution; then a no-interaction RCIM is similar to a technique called median polish.[src] In VGAM , rcim() and grc() functions fit the above models.[src] And also Yee and Hadi (2014) show that RCIMs can be used to fit unconstrained quadratic ordination models to species data; this is an example of indirect gradient analysis in ordination (a topic in statistical ecology).[src] ===Vector generalized additive models=== Vector generalized additive models (VGAMs) are a major extension to VGLMs in which the linear predictor \eta_j is not restricted to be linear in the covariates x_k but is the sum of smoothing functions applied to the x_k : \boldsymbol{\eta}(\boldsymbol{x}) = \boldsymbol{H}_1 \, \boldsymbol{\beta}_{(1)}^{*} + \boldsymbol{H}_2 \, \boldsymbol{f}_{(2)}^{*}(x_2) + \boldsymbol{H}_3 \, \boldsymbol{f}_{(3)}^{*}(x_3) + \cdots \,\![src] where \boldsymbol{f}_{(k)}^{*}(x_k) = (f_{(1)k}^{*}(x_k),f_{(2)k}^{*}(x_k),\ldots)^T.[src] These are M additive predictors.[src] Each smooth function f_{(j)k}^{*} is estimated from the data.[src] Thus VGLMs are model-driven while VGAMs are data-driven.[src] Currently, only smoothing splines are implemented in the VGAM package.[src] For M > 1 they are actually vector splines, which estimate the component functions in f_{(j)k}^{*}(x_k) simultaneously.[src] Of course, one could use regression splines with VGLMs.[src] The motivation behind VGAMs is similar to that of Hastie and Tibshirani (1990) and Wood (2017).[src] VGAMs were proposed in 1996 .[src] Currently, work is being done to estimate VGAMs using P-splines of Eilers and Marx (1996) .[src] This allows for several advantages over using smoothing splines and vector backfitting, such as the ability to perform automatic smoothing parameter selection easier.[src] ===Quadratic reduced-rank vector generalized linear models=== These add on a quadratic in the latent variable to the RR-VGLM class.[src] The result is a bell-shaped curve can be fitted to each response, as a function of the latent variable.[src] For R = 2, one has bell-shaped surfaces as a function of the 2 latent variables---somewhat similar to a bivariate normal distribution.[src] Particular applications of QRR-VGLMs can be found in ecology, in a field of multivariate analysis called ordination.[src] As a specific rank-1 example of a QRR-VGLM, consider Poisson data with S species.[src] The model for Species s is the Poisson regression \log\,\mu_s(\nu) = \eta_s(\nu) = \beta_{(s)1} + \beta_{(s)2} \, \nu + \beta_{(s)3} \, \nu^2 = \alpha_s - \frac{1}{2} \left( \frac{\nu -u_s}{t_s} \right)^2, for s=1,\ldots,S .[src] The right-most parameterization which uses the symbols \alpha_s, u_s, t_s, has particular ecological meaning, because they relate to the species abundance, optimum and tolerance respectively.[src] For example, the tolerance is a measure of niche width, and a large value means that that species can live in a wide range of environments.[src] In the above equation, one would need \beta_{(s)3} in order to obtain a bell-shaped curve.[src] QRR-VGLMs fit Gaussian ordination models by maximum likelihood estimation, and they are an example of direct gradient analysis.[src] The cqo() function in the VGAM package currently calls optim() to search for the optimal \boldsymbol{C} , and given that, it is easy to calculate the site scores and fit a suitable generalized linear model to that.[src] The function is named after the acronym CQO, which stands for constrained quadratic ordination: the constrained is for direct gradient analysis (there are environmental variables, and a linear combination of these is taken as the latent variable) and the quadratic is for the quadratic form in the latent variables \boldsymbol{\nu} on the \boldsymbol{\eta} scale.[src] Unfortunately QRR-VGLMs are sensitive to outliers in both the response and explanatory variables, as well as being computationally expensive, and may give a local solution rather than a global solution.[src] QRR-VGLMs were proposed in 2004.[src] ==See also== Generalized linear models R (software) Regression analysis Statistical model Natural exponential family ==Further reading==[src]

149 sentences · 149 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Vector generalized linear model." encyclopegia.org, 2026, https://encyclopegia.org/wiki/vector-generalized-linear-model. Accessed 25 November 2026.

Chicago

"Vector generalized linear model." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/vector-generalized-linear-model.

APA

encyclopegia.org. (2026). Vector generalized linear model. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/vector-generalized-linear-model

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

linear span

stub · references available

vector measure

stub · references available

Universal linear accelerator

stub · references available

linear phase

stub · references available

linear sweep voltammetry

stub · references available

generalized method of moments

stub · references available

International Linear Collider

stub · references available

Basic Linear Algebra Subprograms

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1376446632 · 0.5 · snapshot enwiki-001376446632

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.