{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "EV7HZCHQ5V"
    },
    {
      "field": "uses",
      "target": "GWGFT35TCZ"
    },
    {
      "field": "uses",
      "target": "MKAMVQJXBP"
    },
    {
      "field": "uses",
      "target": "N3YMNMWANM"
    },
    {
      "field": "uses",
      "target": "XK7W504YEW"
    },
    {
      "field": "defines",
      "target": "GQM8GPBRYN"
    }
  ],
  "body": "\n## Summary\n\nThe general linear model writes a matrix of responses as a known design matrix times an unknown coefficient matrix, plus random errors with mean zero.\nIt contains multiple [[linear regression|41FVC4P5JB]], [[analysis of variance|M9AQ5HKGP4]], analysis of covariance, [[multivariate analysis of variance|8J3B7N8CAT]] and the $t$-test and [[F-test|8MTVCMAATD]] as special cases.\nIts theory rests on [[ordinary least squares|YM708KHV2W]] and on projections in $\\R^n$.\nIt should not be confused with the [[generalized linear model|K6C48KMRKC]], which allows non-normal responses and a link function.\n\n## Explanations\n\n### L1 human\n\nMany classical methods look different but share one shape: response equals a linear combination of known columns plus noise.\nThe known columns can be measured quantities, like height or dose, or indicator variables that say which group an observation belongs to.\nFor example, comparing the means of two groups is a regression on two indicator columns, one for each group.\nWriting all these methods as one model lets a single theory of estimation and testing cover them all.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62J05",
      "62J10",
      "62H12"
    ],
    "name": "General linear model",
    "same_as": {
      "wikidata": "Q1826488",
      "wikipedia": "General linear model"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/General_linear_model"
      }
    ],
    "tag": "A06SGFCSCE"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/A06SGFCSCE/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/A06SGFCSCE.md",
  "msc": [
    "62J05",
    "62J10",
    "62H12"
  ],
  "name": "General linear model",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/A06/A06SGFCSCE.md",
  "status": null,
  "tag": "A06SGFCSCE",
  "uri": "m2://A06SGFCSCE",
  "url": "https://tamnd.github.io/math2/wiki/general-linear-model/",
  "writing": {
    "tag": "A06SGFCSCE",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
