{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $X_1, \\dots, X_n$ be real [[random variables|0DKRR22AEQ]] on a probability space $(\\Omega, \\mathcal{F}, P)$.\nFor $\\omega \\in \\Omega$, list the numbers $X_1(\\omega), \\dots, X_n(\\omega)$ in increasing order, with repetitions, as $X_{(1)}(\\omega) \\le X_{(2)}(\\omega) \\le \\dots \\le X_{(n)}(\\omega)$.\nFor $1 \\le k \\le n$, the random variable $X_{(k)}$ is the *$k$-th order statistic* of the sample.\n\n## Remarks\n\nEach $X_{(k)}$ is a [[statistic|036756NFD6]], since sorting is a continuous map from $\\R^n$ to $\\R^n$.\nExample: if $X_1(\\omega) = 4$, $X_2(\\omega) = 1$, $X_3(\\omega) = 4$, then $X_{(1)}(\\omega) = 1$ and $X_{(2)}(\\omega) = X_{(3)}(\\omega) = 4$.\nNon-example: $X_2$ itself is not the second order statistic in general; in the example $X_2(\\omega) = 1 \\ne 4 = X_{(2)}(\\omega)$.\nBy definition, $X_{(1)} = \\min_i X_i$ and $X_{(n)} = \\max_i X_i$.\nIf the $X_i$ are i.i.d. with cumulative distribution function $F$, then $P(X_{(n)} \\le t) = F(t)^n$ and $P(X_{(1)} \u003e t) = (1 - F(t))^n$.\nIf the $X_i$ are i.i.d. uniform on $[0, 1]$, then $X_{(k)}$ has the beta distribution $\\mathrm{Beta}(k, n - k + 1)$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "58NHGZDSRE",
    "kind": "definition",
    "msc": [
      "62G30"
    ],
    "name": "Order statistic",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Order_statistic"
      }
    ],
    "tag": "6Y451VYFV9",
    "uses": [
      "0DKRR22AEQ",
      "036756NFD6"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/6Y451VYFV9/",
  "links": [
    {
      "field": "defines",
      "target": "58NHGZDSRE"
    },
    {
      "field": "uses",
      "target": "0DKRR22AEQ"
    },
    {
      "field": "uses",
      "target": "036756NFD6"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/6Y451VYFV9.md",
  "msc": [
    "62G30"
  ],
  "name": "Order statistic",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/6Y4/6Y451VYFV9.md",
  "status": null,
  "tag": "6Y451VYFV9",
  "uri": "m2://6Y451VYFV9",
  "url": "https://tamnd.github.io/math2/wiki/order-statistic-definition/",
  "writing": {
    "tag": "6Y451VYFV9",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
