{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $P = (p_{ij})_{i, j \\in S}$ be the [[transition matrix|0F1KBVY161]] of a time-homogeneous [[Markov chain|033TJBZDG0]] on a countable state space $S$.\nA stationary distribution of the chain is a family $\\pi = (\\pi_j)_{j \\in S}$ of real numbers with $\\pi_j \\ge 0$ for each $j$, $\\sum_{j \\in S} \\pi_j = 1$, and\n$$\\pi_j = \\sum_{i \\in S} \\pi_i \\, p_{ij} \\quad \\text{for each } j \\in S.$$\nIn matrix form, $\\pi P = \\pi$ for the row vector $\\pi$.\n\n## Remarks\n\nIf $X_0$ has the law $\\pi$, then $X_n$ has the law $\\pi$ for each $n \\ge 0$.\nAn irreducible chain on a finite state space has exactly one stationary distribution. Its entries are positive, and $\\pi_j = 1 / E_j[T_j]$, where $T_j$ is the time of the first return to $j$.\nFor an irreducible and aperiodic finite chain, $P(X_n = j) \\to \\pi_j$ as $n \\to \\infty$, for each initial law.\nThe simple random walk on $\\mathbb{Z}$ has no stationary distribution.\n\n## Explanations\n\n### L1 human\n\nA stationary distribution is a balance: the flow of probability into each state equals the flow out.\nFor many chains, it also describes the long-run fraction of time that the chain spends in each state.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0KRH5157WP",
    "kind": "definition",
    "msc": [
      "60J10"
    ],
    "name": "Stationary distribution",
    "sources": [
      {
        "locator": "Stationary distributions",
        "url": "https://en.wikipedia.org/wiki/Discrete-time_Markov_chain"
      }
    ],
    "tag": "02KYGSCTCN",
    "uses": [
      "033TJBZDG0",
      "0F1KBVY161"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/02KYGSCTCN/",
  "links": [
    {
      "field": "defines",
      "target": "0KRH5157WP"
    },
    {
      "field": "uses",
      "target": "033TJBZDG0"
    },
    {
      "field": "uses",
      "target": "0F1KBVY161"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/02KYGSCTCN.md",
  "msc": [
    "60J10"
  ],
  "name": "Stationary distribution",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/02K/02KYGSCTCN.md",
  "status": null,
  "tag": "02KYGSCTCN",
  "uri": "m2://02KYGSCTCN",
  "url": "https://math2.tamnd.com/wiki/stationary-distribution-definition/",
  "writing": {
    "tag": "02KYGSCTCN",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
