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.