{
  "aliases": [
    "rule-of-elimination"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "01APZ8GDQH"
    },
    {
      "field": "uses",
      "target": "04RRB6HM00"
    },
    {
      "field": "uses",
      "target": "0NM6E9VW04"
    },
    {
      "field": "uses",
      "target": "0W62TKMW7V"
    },
    {
      "field": "uses",
      "target": "0WFMKK7DFZ"
    }
  ],
  "body": "\n## Statement\n\nLet $(\\Omega, \\mathcal{F}, P)$ be a probability space.\nLet $B_1, B_2, \\dots$ be a finite or countable family of pairwise disjoint events with $\\bigcup_i B_i = \\Omega$ and $P(B_i) \u003e 0$ for each $i$.\nThen for each event $A$,\n$$P(A) = \\sum_{i} P(A \\mid B_i) \\, P(B_i).$$\n\n## Remarks\n\nThe events $B_i$ form a [[partition|09CCE86A6D]] of $\\Omega$ into events of positive probability. The proof uses $A = \\bigcup_i (A \\cap B_i)$, countable additivity and the [[multiplication rule|0BS3RMX8HM]].\nThe case of two events $B$ and $B^c$ is the [[law of total probability for an event and its complement|0W62TKMW7V]].\nExample: urn $1$ has $2$ red balls of $5$ and urn $2$ has $3$ red balls of $4$. Choose an urn with a fair coin and draw one ball. The ball is red with probability $\\frac12 \\cdot \\frac25 + \\frac12 \\cdot \\frac34 = \\frac{23}{40}$.\n\n## Explanations\n\n### L1 human\n\nSplit the world into cases that do not overlap.\nThe chance of $A$ is the average of its chances in the cases, weighted by the chances of the cases.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "rule-of-elimination"
    ],
    "kind": "statement",
    "msc": [
      "60A05"
    ],
    "name": "Law of total probability",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q1989192",
      "wikipedia": "Law of total probability"
    },
    "sources": [
      {
        "locator": "Statement",
        "url": "https://en.wikipedia.org/wiki/Law_of_total_probability"
      }
    ],
    "tag": "0E5G5FMT2R",
    "uses": [
      "0FJB06AD2P",
      "09CCE86A6D"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0E5G5FMT2R/",
  "links": [
    {
      "field": "uses",
      "target": "0FJB06AD2P"
    },
    {
      "field": "uses",
      "target": "09CCE86A6D"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0E5G5FMT2R.md",
  "msc": [
    "60A05"
  ],
  "name": "Law of total probability",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0E5/0E5G5FMT2R.md",
  "status": null,
  "tag": "0E5G5FMT2R",
  "uri": "m2://0E5G5FMT2R",
  "url": "https://math2.tamnd.com/wiki/law-of-total-probability/",
  "writing": {
    "tag": "0E5G5FMT2R",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
