{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "YA786MZ8QD"
    }
  ],
  "body": "\n## Summary\n\nA permutation test is a [[hypothesis test|087P03NEND]] that gets its null distribution by rearranging the data.\nIt recomputes the test statistic on all rearrangements that the null hypothesis allows.\nIn the two-sample case the null hypothesis says that the group labels do not matter, so every reassignment of the labels is equally likely.\nThe [[p-value|0GGKJGZF6D]] is the share of rearrangements whose statistic is at least as extreme as the observed one.\nUnder the null hypothesis the chance of a false rejection is at most the chosen level, with no assumption on the shape of the distribution.\n\n## Explanations\n\n### L1 human\n\nSuppose a new method scores higher than an old one in a small trial.\nIf the method makes no difference, the labels \"new\" and \"old\" are arbitrary, and any other split of the same scores was just as likely.\nSo list all ways to split the scores into two groups of the same sizes, and compute the difference of means for each.\nIf the real difference is among the largest few percent of these, chance alone is a poor explanation.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "62G10",
      "62G09"
    ],
    "name": "Permutation test",
    "same_as": {
      "wikidata": "Q108839445",
      "wikipedia": "Permutation test"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Permutation_test"
      }
    ],
    "specializes": [
      "087P03NEND"
    ],
    "tag": "2ECAM46NE2"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/2ECAM46NE2/",
  "links": [
    {
      "field": "specializes",
      "target": "087P03NEND"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/2ECAM46NE2.md",
  "msc": [
    "62G10",
    "62G09"
  ],
  "name": "Permutation test",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/2EC/2ECAM46NE2.md",
  "status": null,
  "tag": "2ECAM46NE2",
  "uri": "m2://2ECAM46NE2",
  "url": "https://tamnd.github.io/math2/wiki/permutation-test/",
  "writing": {
    "tag": "2ECAM46NE2",
    "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
      }
    ]
  }
}
