In
statistics, the generalized linear array model (GLAM) is used for analyzing data sets with array structures. It based on the
generalized linear model
In statistics, a generalized linear model (GLM) is a flexible generalization of ordinary linear regression. The GLM generalizes linear regression by allowing the linear model to be related to the response variable via a ''link function'' and by ...
with the
design matrix
In statistics and in particular in regression analysis, a design matrix, also known as model matrix or regressor matrix and often denoted by X, is a matrix of values of explanatory variables of a set of objects. Each row represents an individual ...
written as a
Kronecker product
In mathematics, the Kronecker product, sometimes denoted by ⊗, is an operation
Operation or Operations may refer to:
Arts, entertainment and media
* ''Operation'' (game), a battery-operated board game that challenges dexterity
* Oper ...
.
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 model
In statistics, a generalized linear model (GLM) is a flexible generalization of ordinary linear regression. The GLM generalizes linear regression by allowing the linear model to be related to the response variable via a ''link function'' and by ...
s 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
-dimensional array with size
; thus, the corresponding data vector
has size
. Suppose also that the
design matrix
In statistics and in particular in regression analysis, a design matrix, also known as model matrix or regressor matrix and often denoted by X, is a matrix of values of explanatory variables of a set of objects. Each row represents an individual ...
is of the form
:
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
:
and
:
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
, then the linear predictor is written
where
is the matrix of coefficients; the weighted inner product is obtained from
and
is the matrix of weights; here
is the row tensor function of the
matrix
given by
:
where
means element by element multiplication and
is a vector of 1's of length
.
On the other hand, the row tensor function
of the
matrix
is the example of
Face-splitting product of matrices, which was proposed by
Vadym Slyusar
Vadym Slyusar (born 15 October 1964, vil. Kolotii, Reshetylivka Raion, Poltava region, Ukraine) – Soviet and Ukrainian scientist, Professor, Doctor of Technical Sciences, Honored Scientist and Technician of Ukraine, founder of tensor-matrix th ...
in 1996:
:
where
means
Face-splitting product.
These low storage high speed formulae extend to
-dimensions.
Applications
GLAM is designed to be used in
-dimensional smoothing problems where the data are arranged in an array and the smoothing matrix is constructed as a Kronecker product of
one-dimensional smoothing matrices.
References
{{reflist
Regression models
Array model