{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(\\Omega, \\mathcal{F}, P)$ be a probability space, let $k, l \\ge 1$, and let $(\\xi_n)_{n \\ge 1}$ be a sequence of [[random variables|0PNRKMRC55]] with values in $\\R^l$.\nFor each $n \\ge 0$ let $f_n \\colon \\R^k \\times \\R^l \\to \\R^k$ be a Borel [[measurable function|YYNCJSR0PJ]].\nA *stochastic difference equation* is a recursion\n$$X_{n+1} = f_n(X_n, \\xi_{n+1}), \\qquad n \\ge 0,$$\ntogether with an initial random variable $X_0$ with values in $\\R^k$.\nIts *solution* is the [[stochastic process|0QH5ENKZM1]] $(X_n)_{n \\ge 0}$ defined recursively by these equations.\n\n## Remarks\n\nExample: the autoregressive equation of order $1$, $X_{n+1} = a X_n + \\varepsilon_{n+1}$ with $a \\in \\R$ and independent identically distributed $\\varepsilon_n$, is a stochastic difference equation with $f_n(x, e) = ax + e$.\nIts solution is $X_n = a^n X_0 + \\sum_{j=1}^{n} a^{n-j} \\varepsilon_j$.\n\nNon-example: $X_{n+1} = a X_n$ with a constant $X_0$ involves no random input, so it is a deterministic difference equation whose solution is a single sequence.\n\nHigher-order equations, such as the autoregressive model of order $p$, $X_{n+1} = \\sum_{i=1}^{p} a_i X_{n+1-i} + \\varepsilon_{n+1}$, become first order on $\\R^p$ by stacking $p$ consecutive values.\nIf $X_0, \\xi_1, \\xi_2, \\dots$ are independent, the solution is a Markov chain.\nIt is time-homogeneous when $f_n$ does not depend on $n$ and the $\\xi_n$ are identically distributed.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "WPYG78BSD5",
    "kind": "definition",
    "msc": [
      "39A50",
      "62M10"
    ],
    "name": "Stochastic difference equation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Autoregressive_model"
      }
    ],
    "tag": "F52PFPZ4H9",
    "uses": [
      "0PNRKMRC55",
      "0QH5ENKZM1",
      "YYNCJSR0PJ"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/F52PFPZ4H9/",
  "links": [
    {
      "field": "defines",
      "target": "WPYG78BSD5"
    },
    {
      "field": "uses",
      "target": "0PNRKMRC55"
    },
    {
      "field": "uses",
      "target": "0QH5ENKZM1"
    },
    {
      "field": "uses",
      "target": "YYNCJSR0PJ"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/F52PFPZ4H9.md",
  "msc": [
    "39A50",
    "62M10"
  ],
  "name": "Stochastic difference equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/F52/F52PFPZ4H9.md",
  "status": null,
  "tag": "F52PFPZ4H9",
  "uri": "m2://F52PFPZ4H9",
  "url": "https://tamnd.github.io/math2/wiki/stochastic-difference-equation-definition/",
  "writing": {
    "tag": "F52PFPZ4H9",
    "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
      }
    ]
  }
}
