{
  "aliases": null,
  "backlinks": [
    {
      "field": "specializes",
      "target": "H5CGZHBR58"
    },
    {
      "field": "uses",
      "target": "NA5X6JVK5J"
    },
    {
      "field": "defines",
      "target": "XK7W504YEW"
    }
  ],
  "body": "\n## Summary\n\nGeneralized least squares estimates the coefficients of a linear model whose errors have a known covariance structure that is not a multiple of the identity.\nIt minimises a squared distance weighted by the inverse of the error covariance matrix.\nUnder the analogue of the [[Gauss–Markov theorem|N3YMNMWANM]], due to Aitken, it is the best linear unbiased estimator in that setting.\n[[Weighted least squares|H5CGZHBR58]] is the special case of uncorrelated errors with unequal variances.\n\n## Explanations\n\n### L1 human\n\n[[Ordinary least squares|YM708KHV2W]] treats all observations as equally reliable and unrelated.\nWhen some observations are noisier, or when errors are correlated, as in data over time, that is wasteful.\nGeneralized least squares first changes coordinates so that the errors become uncorrelated with equal variances, and then applies ordinary least squares.\nFor example, if each observation is the mean of a different number of measurements, the means of many measurements get more weight.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62J05"
    ],
    "name": "Generalized least squares",
    "same_as": {
      "wikidata": "Q2246261",
      "wikipedia": "Generalized least squares"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Generalized_least_squares"
      }
    ],
    "tag": "P142WXJCF3"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/P142WXJCF3/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/P142WXJCF3.md",
  "msc": [
    "62J05"
  ],
  "name": "Generalized least squares",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/P14/P142WXJCF3.md",
  "status": null,
  "tag": "P142WXJCF3",
  "uri": "m2://P142WXJCF3",
  "url": "https://tamnd.github.io/math2/wiki/generalized-least-squares/",
  "writing": {
    "tag": "P142WXJCF3",
    "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
      }
    ]
  }
}
