{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "033TJBZDG0"
    },
    {
      "field": "uses",
      "target": "0BS3RMX8HM"
    },
    {
      "field": "uses",
      "target": "0E5G5FMT2R"
    },
    {
      "field": "uses",
      "target": "0KJ7ZS8AJA"
    },
    {
      "field": "uses",
      "target": "0NM6E9VW04"
    },
    {
      "field": "uses",
      "target": "0P0MZ4X682"
    },
    {
      "field": "uses",
      "target": "0PBWWQD9KY"
    },
    {
      "field": "uses",
      "target": "0YAMJRK04E"
    },
    {
      "field": "uses",
      "target": "0YVDC5PYDW"
    },
    {
      "field": "uses",
      "target": "0ZAZZ34WQS"
    },
    {
      "field": "uses",
      "target": "0ZJ87ZZ8PK"
    }
  ],
  "body": "\n## Definition\n\nLet $(\\Omega, \\mathcal{F}, P)$ be a [[probability space|0ZYBZ34RT2]] and let $A, B \\in \\mathcal{F}$ be [[events|00SQGJNRTB]] with $P(B) \u003e 0$.\nThe conditional probability of $A$ given $B$ is\n$$P(A \\mid B) = \\frac{P(A \\cap B)}{P(B)}.$$\n\n## Remarks\n\nFor fixed $B$ with $P(B) \u003e 0$, the map $A \\mapsto P(A \\mid B)$ is a [[probability measure|0VGMEBVW1M]] on $(\\Omega, \\mathcal{F})$. It gives all its mass to $B$.\nFor one roll of a fair die, $P(\\{6\\} \\mid \\text{even}) = (1/6) / (1/2) = 1/3$.\nIn general $P(A \\mid B) \\ne P(B \\mid A)$. [[Bayes' theorem|0NM6E9VW04]] relates the two.\nThe definition does not apply when $P(B) = 0$. Conditioning on such events needs the [[conditional expectation|0YAMJRK04E]].\n\n## Explanations\n\n### L1 human\n\nOnce you know that $B$ happened, the outcomes outside $B$ are no longer possible.\nSo you keep only the part of $A$ inside $B$, and you rescale by $P(B)$ so that the total is $1$ again.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0990W5PN13",
    "kind": "definition",
    "msc": [
      "60A05"
    ],
    "name": "Conditional probability",
    "sources": [
      {
        "locator": "Kolmogorov definition",
        "url": "https://en.wikipedia.org/wiki/Conditional_probability"
      }
    ],
    "tag": "0FJB06AD2P",
    "uses": [
      "0ZYBZ34RT2",
      "00SQGJNRTB"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0FJB06AD2P/",
  "links": [
    {
      "field": "defines",
      "target": "0990W5PN13"
    },
    {
      "field": "uses",
      "target": "0ZYBZ34RT2"
    },
    {
      "field": "uses",
      "target": "00SQGJNRTB"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0FJB06AD2P.md",
  "msc": [
    "60A05"
  ],
  "name": "Conditional probability",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0FJ/0FJB06AD2P.md",
  "status": null,
  "tag": "0FJB06AD2P",
  "uri": "m2://0FJB06AD2P",
  "url": "https://math2.tamnd.com/wiki/conditional-probability-definition/",
  "writing": {
    "tag": "0FJB06AD2P",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
