Saved in:
Bibliographic Details
Main Author: Kress, Gavin T.
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2301.03799
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929538908291072
author Kress, Gavin T.
author_facet Kress, Gavin T.
contents The general linear model is a universally accepted method to conduct and test multiple linear regression models. Using this model one has the ability to simultaneously regress covariates among different groups of data. Moreover, there are hundreds of applications and statistical tests associated with the general linear model. However, the conventional matrix formulation is relatively inelegant which yields multiple difficulties including slow computation speed due to a large number of computations, increased memory usage due to needlessly large data structures, and organizational inconsistency. This is due to the fundamental incongruence between the degrees of freedom of the information the data structures in the conventional formulation of the general linear model are intended to represent and the rank of the data structures themselves. Here, I briefly suggest an elegant reformulation of the general linear model which involves the use of tensors and multidimensional arrays as opposed to exclusively flat structures in the conventional formulation. To demonstrate the efficacy of this approach I translate a few common applications of the general linear model from the conventional formulation to the tensor formulation.
format Preprint
id arxiv_https___arxiv_org_abs_2301_03799
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Tensor Formulation of the General Linear Model with Einstein Notation
Kress, Gavin T.
Methodology
The general linear model is a universally accepted method to conduct and test multiple linear regression models. Using this model one has the ability to simultaneously regress covariates among different groups of data. Moreover, there are hundreds of applications and statistical tests associated with the general linear model. However, the conventional matrix formulation is relatively inelegant which yields multiple difficulties including slow computation speed due to a large number of computations, increased memory usage due to needlessly large data structures, and organizational inconsistency. This is due to the fundamental incongruence between the degrees of freedom of the information the data structures in the conventional formulation of the general linear model are intended to represent and the rank of the data structures themselves. Here, I briefly suggest an elegant reformulation of the general linear model which involves the use of tensors and multidimensional arrays as opposed to exclusively flat structures in the conventional formulation. To demonstrate the efficacy of this approach I translate a few common applications of the general linear model from the conventional formulation to the tensor formulation.
title Tensor Formulation of the General Linear Model with Einstein Notation
topic Methodology
url https://arxiv.org/abs/2301.03799