{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "6GATRFMJYY"
    }
  ],
  "body": "\n## Definition\n\nLet $\\set{P_\\theta : \\theta \\in \\Theta}$ be a [[statistical model|JZ6R7J36K5]] and let $V = V(X)$ be a [[statistic|036756NFD6]] with values in a measurable space $(\\mathcal{V}, \\mathcal{B})$.\nThe statistic $V$ is *ancillary* if its distribution does not depend on $\\theta$: for every $B \\in \\mathcal{B}$, the probability $P_\\theta(V \\in B)$ is the same for all $\\theta \\in \\Theta$.\n\n## Remarks\n\nExample: let $X_1, \\dots, X_n$ be i.i.d. $\\mathcal{N}(\\mu, 1)$ with $\\mu \\in \\R$ and $n \\ge 2$.\nThen $X_i - \\mu$ are i.i.d. $\\mathcal{N}(0, 1)$, and the sample variance $S^2 = \\frac{1}{n-1}\\sum_i (X_i - \\bar{X})^2$ is a function of them alone, because $X_i - \\bar{X} = (X_i - \\mu) - (\\bar{X} - \\mu)$; so $S^2$ is ancillary for $\\mu$.\nNon-example: in the same model, $\\bar{X} \\sim \\mathcal{N}(\\mu, 1/n)$, whose law changes with $\\mu$, so $\\bar{X}$ is not ancillary.\nIn a location model $X_i = \\mu + \\varepsilon_i$ with a fixed law of the $\\varepsilon_i$, every function of the differences $X_i - X_j$ is ancillary.\nIn a scale model $X_i = \\sigma \\varepsilon_i$, every function of the ratios $X_i / X_j$ is ancillary, when these are defined.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "VBW2A4H6TD",
    "kind": "definition",
    "msc": [
      "62B05"
    ],
    "name": "Ancillary statistic",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Ancillary_statistic"
      }
    ],
    "tag": "NR6MGAB5V0",
    "uses": [
      "JZ6R7J36K5",
      "036756NFD6"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/NR6MGAB5V0/",
  "links": [
    {
      "field": "defines",
      "target": "VBW2A4H6TD"
    },
    {
      "field": "uses",
      "target": "JZ6R7J36K5"
    },
    {
      "field": "uses",
      "target": "036756NFD6"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/NR6MGAB5V0.md",
  "msc": [
    "62B05"
  ],
  "name": "Ancillary statistic",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/NR6/NR6MGAB5V0.md",
  "status": null,
  "tag": "NR6MGAB5V0",
  "uri": "m2://NR6MGAB5V0",
  "url": "https://tamnd.github.io/math2/wiki/ancillary-statistic-definition/",
  "writing": {
    "tag": "NR6MGAB5V0",
    "kind": "definition",
    "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
      }
    ]
  }
}
