{
  "id": "general-linear-model-214353-cc27547ffb3fa9e9",
  "slug": "general-linear-model",
  "title": "general linear model",
  "qid": "Q1826488",
  "lead": "The general linear model or general multivariate regression model is a compact way of simultaneously writing several multiple linear regression models. In that sense it is not a separate statistical linear model. The various multiple linear regression models may be compactly written as : \\mathbf{Y} = \\mathbf{X}\\mathbf{B} + \\mathbf{U}, where Y is a matrix with series of multivariate measurements (each column being a set of measurements on one of the dependent variables), X is a matrix of observations on independent variables that might be a design matrix (each column being a set of observations on one of the independent variables), B is a matrix containing parameters that are usually to be estimated and U is a matrix containing errors (noise). The errors are usually assumed to be uncorrelated across measurements, and follow a multivariate normal distribution. If the errors do not follow a multivariate normal distribution, generalized linear models may be used to relax assumptions about Y and U. The general linear model (GLM) encompasses several statistical models, including ANOVA, ANCOVA, MANOVA, MANCOVA, and ordinary linear regression. Within this framework, both the t-test and the F-test can be applied. The general linear model is a generalization of multiple linear regression to the case of more than one dependent variable.…",
  "body": "The general linear model or general multivariate regression model is a compact way of simultaneously writing several multiple linear regression models. In that sense it is not a separate statistical linear model. The various multiple linear regression models may be compactly written as \\mathbf{Y} = \\mathbf{X}\\mathbf{B} + \\mathbf{U}, where Y is a matrix with series of multivariate measurements (each column being a set of measurements on one of the dependent variables), X is a matrix of observations on independent variables that might be a design matrix (each column being a set of observations on one of the independent variables), B is a matrix containing parameters that are usually to be estimated and U is a matrix containing errors (noise). The errors are usually assumed to be uncorrelated across measurements, and follow a multivariate normal distribution. If the errors do not follow a multivariate normal distribution, generalized linear models may be used to relax assumptions about Y and U. The general linear model (GLM) encompasses several statistical models, including ANOVA, ANCOVA, MANOVA, MANCOVA, and ordinary linear regression. Within this framework, both the t-test and the F-test can be applied. The general linear model is a generalization of multiple linear regression to the case of more than one dependent variable. If Y, B, and U were column vectors, the matrix equation above would represent multiple linear regression. Hypothesis tests with the general linear model can be made in two ways: multivariate or as several independent univariate tests. In multivariate tests the columns of Y are tested together, whereas in univariate tests the columns of Y are tested independently, i.e., as multiple univariate tests with the same design matrix. Y_i = \\beta_0 + \\beta_1 X_{i1} + \\beta_2 X_{i2} + \\ldots + \\beta_p X_{ip} + \\epsilon_i or more compactly Y_i = \\beta_0 + \\sum \\limits_{k=1}^{p} {\\beta_k X_{ik}} + \\epsilon_i for each observation i = 1, ... , n. In the formula above we consider n observations of one dependent variable and p independent variables. Thus, Y i is the i th observation of the dependent variable, X ik is i th observation of the k th independent variable, k = 1, 2, ..., p. The values βk represent parameters to be estimated, and ε i is the i th independent identically distributed normal error. In the more general multivariate linear regression, there is one equation of the above form for each of m > 1 dependent variables that share the same set of explanatory variables and hence are estimated simultaneously with each other: Y_{ij} = \\beta_{0j} + \\beta_{1j} X_{i1} + \\beta_{2j}X_{i2} + \\ldots + \\beta_{pj} X_{ip} + \\epsilon_{ij} or more compactly Y_{ij} = \\beta_{0j} + \\sum \\limits_{k=1}^{p} { \\beta_{kj} X_{ik}} + \\epsilon_{ij} for all observations indexed as i = 1, ... , n and for all dependent variables indexed as j = 1, ... , m. Note that, since each dependent variable has its own set of regression parameters to be fitted, from a computational point of view the general multivariate regression is simply a sequence of standard multiple linear regressions using the same explanatory variables.",
  "categories": [
    "130309138",
    "23603337",
    "26220375",
    "29265219"
  ],
  "license": "CC BY-SA 4.0",
  "source_uri": "https://en.wikipedia.org/w/index.php?oldid=1374796878",
  "content_hash": "cc27547ffb3fa9e9dcf5b4bcb6c509bf8f30f2c65d752b5d4f7db95868feea56",
  "created_at": 1792309534.13931,
  "updated_at": 1789349923.0,
  "claims": [],
  "contradictions": [],
  "confidence": 0.6,
  "csl": {
    "id": "general-linear-model-214353-cc27547ffb3fa9e9",
    "type": "webpage",
    "title": "general linear model",
    "author": [
      {
        "family": "Anticloud FZ LLE",
        "literal": "Anticloud FZ LLE"
      }
    ],
    "container-title": "encyclopegia.org",
    "publisher": "Anticloud FZ LLE",
    "publisher-place": "Dubai, United Arab Emirates",
    "URL": "https://encyclopegia.org/a/general-linear-model",
    "issued": {
      "date-parts": [
        [
          2026,
          10,
          18
        ]
      ]
    },
    "accessed": {
      "date-parts": [
        [
          2026,
          11,
          17
        ]
      ]
    },
    "license": "CC BY-SA 4.0",
    "DOI": "eo1:general-linear-model-214353-cc27547ffb3fa9e9",
    "isBasedOn": "https://en.wikipedia.org/w/index.php?oldid=1374796878",
    "note": "Immutable snapshot general-linear-model-214353-cc27547ffb3fa9e9, content root cc27547ffb3fa9e9…"
  }
}