{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(\\Omega, \\mathcal{F}, (\\mathcal{F}_t)_{t \\in T}, P)$ be a probability space with a [[filtration|HNK1Y62G7V]], where $T \\subseteq [0, \\infty)$, for example $T = \\N$ or $T = [0, \\infty)$.\nA *stopping time* with respect to $(\\mathcal{F}_t)$ is a map $\\tau \\colon \\Omega \\to T \\cup \\set{\\infty}$ such that\n$$\\set{\\omega \\in \\Omega : \\tau(\\omega) \\le t} \\in \\mathcal{F}_t \\quad \\text{for every } t \\in T.$$\n\n## Remarks\n\nIn discrete time, $T = \\N$, the condition is equivalent to $\\set{\\tau = n} \\in \\mathcal{F}_n$ for every $n \\in \\N$, since $\\set{\\tau = n} = \\set{\\tau \\le n} \\setminus \\set{\\tau \\le n - 1}$ and $\\set{\\tau \\le n} = \\bigcup_{k \\le n} \\set{\\tau = k}$.\nThe value $\\infty$ means that the event never happens.\n\nExample: let $(S_n)_{n \\in \\N}$ be a [[random walk|04VZE3FZXF]] with natural filtration $\\mathcal{F}_n = \\sigma(S_0, \\dots, S_n)$, let $a \\in \\R$, and let $\\tau = \\min\\set{n : S_n \\ge a}$, with $\\min \\emptyset = \\infty$.\nThen $\\set{\\tau \\le n} = \\bigcup_{k \\le n} \\set{S_k \\ge a} \\in \\mathcal{F}_n$, so $\\tau$ is a stopping time.\n\nNon-example: with the same walk started at $S_0 = 0$ and with steps $\\pm 1$, let $N \\ge 2$ and $\\sigma = \\max\\set{n \\le N : S_n = 0}$, the last visit to $0$ before time $N$.\nThe event $\\set{\\sigma \\le 0}$ is the event that $S_n \\ne 0$ for $1 \\le n \\le N$, which depends on steps after time $0$ and is not in $\\mathcal{F}_0 = \\set{\\emptyset, \\Omega}$.\nSo $\\sigma$ is not a stopping time.\n\nConstant times are stopping times, and the minimum and the maximum of two stopping times are stopping times.\nThe *$\\sigma$-algebra of the past* at $\\tau$ is $\\mathcal{F}_\\tau = \\set{A \\in \\mathcal{F} : A \\cap \\set{\\tau \\le t} \\in \\mathcal{F}_t \\text{ for all } t \\in T}$.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "WND87FBAKC",
    "kind": "definition",
    "msc": [
      "60G40",
      "60G05"
    ],
    "name": "Stopping time",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Stopping_time"
      }
    ],
    "tag": "W96WPDEA6A",
    "uses": [
      "HNK1Y62G7V",
      "0PNRKMRC55"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/W96WPDEA6A/",
  "links": [
    {
      "field": "defines",
      "target": "WND87FBAKC"
    },
    {
      "field": "uses",
      "target": "HNK1Y62G7V"
    },
    {
      "field": "uses",
      "target": "0PNRKMRC55"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/W96WPDEA6A.md",
  "msc": [
    "60G40",
    "60G05"
  ],
  "name": "Stopping time",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/W96/W96WPDEA6A.md",
  "status": null,
  "tag": "W96WPDEA6A",
  "uri": "m2://W96WPDEA6A",
  "url": "https://math2.tamnd.com/wiki/stopping-time-definition/",
  "writing": {
    "tag": "W96WPDEA6A",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
