In statistics, the generalized linear array model (GLAM) is used for analyzing data sets with array structures. It is based on the generalized linear model (GLM), with the design matrix written as a Kronecker product.
Overview
The generalized linear array model was introduced in 2006 by Currie, Durban, and Eilers in the Journal of the Royal Statistical Society, Series B. Such models provide a structure and a computational procedure for fitting generalized linear models 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 substantial savings in both storage and computational time over the usual GLM algorithm.
Suppose that the data Y is arranged in a d-dimensional array with size n₁ × n₂ × ⋯ × n_d; thus, the corresponding data vector y = vec(Y) has size n₁n₂n₃⋯n_d. Suppose also that the design matrix is of the form:
X = Xd ⊗ X(d−1) ⊗ ⋯ ⊗ X_1
where ⊗ denotes the Kronecker product.
The standard analysis of a GLM with data vector y and design matrix X proceeds by repeated evaluation of the scoring algorithm:
X′W̃_δXθ̂ = X′W̃_δθ̃
where θ̃ represents the approximate solution of θ, θ̂ is the improved value, W_δ is the diagonal weight matrix, and z = η + W_δ⁻¹(y − μ) is the working variable.
Computationally, GLAM provides array algorithms to calculate the linear predictor η = Xθ and the weighted inner product X′W̃_δX without evaluation of the full model matrix X.
Example in two dimensions
In two dimensions, let X = X_2 ⊗ X_1. The linear predictor is then written X_1ΘX_2′, where Θ is the matrix of coefficients. The weighted inner product is obtained from G(X_1)′WG(X_2), where W is the matrix of weights and G(M) is the row tensor function of the r × c matrix M, given by:
G(M) = (M ⊗ 1′) ∘ (1′ ⊗ M)
where ∘ denotes element-by-element multiplication and 1 is a vector of ones of length c. This row tensor function is an example of the face-splitting product of matrices, proposed by Vadym Slyusar in 1996. 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. Applications include the smoothing of multidimensional arrays, such as mortality data indexed by age and year of death, spatially varying microarray background data, and disease incidence data indexed by age and year of death.
References
- Currie, I. D.; Durban, M.; Eilers, P. H. C. (2006). "Generalized linear array models with applications to multidimensional smoothing". Journal of the Royal Statistical Society, Series B. 68 (2): 259–280.
- Slyusar, V. I. (1996). "End products in matrices in radar applications". Radioelectronics and Communications Systems. 41 (3): 50–53.
- Slyusar, V. I. (1998). "A Family of Face Products of Matrices and its Properties". Cybernetics and Systems Analysis. 35 (3): 379–384.