In statistics, the generalized linear array model (GLAM) is used for analyzing data sets with array structures. It based on the generalized linear model with the design matrix written as a Kronecker product.
Overview The generalized linear array model or GLAM was introduced in 2006. Such models provide a structure and a computational procedure for fitting generalized linear models or GLMs whose model matrix can be written as a Kronecker product and whose data can be written as an array. In a large GLM, the GLAM approach gives very substantial savings in both storage and computational time over the usual GLM algorithm. Suppose that the data 𝐘 is arranged in a d-dimensional array with size n1×n2×⋯×nd; thus, the corresponding data vector 𝐲=vec(𝐘) has size n1n2n3⋯nd. Suppose also that the design matrix is of the form
𝐗=𝐗d⊗𝐗d−1⊗⋯⊗𝐗1. The standard analysis of a GLM with data vector 𝐲 and design matrix 𝐗 proceeds by repeated evaluation of the scoring algorithm
𝐗′𝐖~δ𝐗𝜽̂=𝐗′𝐖~δ𝜽~, where 𝜽~ represents the approximate solution of 𝜽, and 𝜽̂ is the improved value of it; 𝐖δ is the diagonal weight matrix with elements
wii−1=(∂ηi∂μi)2var(yi), and
𝐳=𝜼+𝐖δ−1(𝐲−𝝁) is the working variable. Computationally, GLAM provides array algorithms to calculate the linear predictor,
𝜼=𝐗𝜽 and the weighted inner product
𝐗′𝐖~δ𝐗 without evaluation of the model matrix 𝐗.
Example In 2 dimensions, let 𝐗=𝐗2⊗𝐗1, then the linear predictor is written 𝐗1𝜣𝐗2′ where 𝜣 is the matrix of coefficients; the weighted inner product is obtained from G(𝐗1)′𝐖G(𝐗2) and 𝐖 is the matrix of weights; here G(𝐌) is the row tensor function of the r×c matrix 𝐌 given by
G(𝐌)=(𝐌⊗𝟏′)∘(𝟏′⊗𝐌) where ∘ means element by element multiplication and 𝟏 is a vector of 1's of length c. On the other hand, the row tensor function G(𝐌) of the r×c matrix 𝐌 is the example of Face-splitting product of matrices, which was proposed by Vadym Slyusar in 1996:
𝐌∙𝐌=(𝐌⊗𝟏𝖳)∘(𝟏𝖳⊗𝐌), where ∙ means Face-splitting product. These low storage high speed formulae extend to d-dimensions.
Applications GLAM is designed to be used in d-dimensional smoothing problems where the data are arranged in an array and the smoothing matrix is constructed as a Kronecker product of d one-dimensional smoothing matrices.
References