{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "P7XYNN27AM"
    }
  ],
  "body": "\n## Summary\n\nIsotonic regression fits a non-decreasing sequence to data by [[least squares|0BYTQ4X1HC]].\nIt is used when a response is known to increase with a covariate, as for dose and response.\nNo formula for the trend is assumed.\nThe fit is the projection of the data onto a closed convex cone, so it exists and is unique.\nIt can be computed quickly by the pool adjacent violators algorithm.\n\n## Explanations\n\n### L1 human\n\nSuppose a measurement should grow with the dose, but noise makes some values go down.\nIsotonic regression finds the staircase that never goes down and stays as close as possible to the data.\nWhenever a value is higher than the next one, the two merge into a block that takes their average.\nBlocks keep merging in this way until no drop remains.\nFor the data $1, 3, 2$, the drop from $3$ to $2$ is replaced by $2.5, 2.5$, giving $1, 2.5, 2.5$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62G08",
      "62G05"
    ],
    "name": "Isotonic regression",
    "same_as": {
      "wikidata": "Q3455874",
      "wikipedia": "Isotonic regression"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Isotonic_regression"
      }
    ],
    "tag": "JAFPWZDM95"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/JAFPWZDM95/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/JAFPWZDM95.md",
  "msc": [
    "62G08",
    "62G05"
  ],
  "name": "Isotonic regression",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/JAF/JAFPWZDM95.md",
  "status": null,
  "tag": "JAFPWZDM95",
  "uri": "m2://JAFPWZDM95",
  "url": "https://tamnd.github.io/math2/wiki/isotonic-regression/",
  "writing": {
    "tag": "JAFPWZDM95",
    "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
      }
    ]
  }
}
