{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Counterexample\n\nToss a fair coin two times, so $\\Omega = \\{HH, HT, TH, TT\\}$ with probability $1/4$ for each outcome.\nLet $A$ be \"the first toss is heads\", $B$ be \"the second toss is heads\", and $C$ be \"the two tosses are equal\".\nThen $A = \\{HH, HT\\}$, $B = \\{HH, TH\\}$ and $C = \\{HH, TT\\}$, so $P(A) = P(B) = P(C) = 1/2$.\nEach intersection of two of them is $\\{HH\\}$, with probability $1/4 = \\frac12 \\cdot \\frac12$. So $A$, $B$ and $C$ are [[pairwise independent|0N57D1XY6T]].\nBut $P(A \\cap B \\cap C) = P(\\{HH\\}) = 1/4$, and $P(A) \\, P(B) \\, P(C) = 1/8$. So $A$, $B$ and $C$ are not [[mutually independent|0GCVEV6BJA]].\n\n## Remarks\n\nHere any two of the events determine the third: if $A$ and $B$ both occur, then $C$ occurs.\nThe same idea with $n$ fair bits and their sums modulo $2$ gives large pairwise independent families. Such families are useful in computer science.\n\n## Explanations\n\n### L1 human\n\nIf you know the first toss, you know nothing about $C$, and the same for the second toss.\nBut if you know both tosses, you know $C$ exactly. So the three events are not independent as a group.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "counterexample",
    "msc": [
      "60A05"
    ],
    "name": "Pairwise independent events that are not mutually independent",
    "sources": [
      {
        "locator": "Example",
        "url": "https://en.wikipedia.org/wiki/Pairwise_independence"
      }
    ],
    "tag": "0AR4B3K5QD",
    "uses": [
      "0N57D1XY6T",
      "0GCVEV6BJA"
    ]
  },
  "kind": "counterexample",
  "link": "https://math2.tamnd.com/node/0AR4B3K5QD/",
  "links": [
    {
      "field": "uses",
      "target": "0N57D1XY6T"
    },
    {
      "field": "uses",
      "target": "0GCVEV6BJA"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0AR4B3K5QD.md",
  "msc": [
    "60A05"
  ],
  "name": "Pairwise independent events that are not mutually independent",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0AR/0AR4B3K5QD.md",
  "status": null,
  "tag": "0AR4B3K5QD",
  "uri": "m2://0AR4B3K5QD",
  "url": "https://math2.tamnd.com/wiki/pairwise-independent-events-that-are-not-mutually-independent/",
  "writing": {
    "tag": "0AR4B3K5QD",
    "kind": "counterexample",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge refutes or not_instance_of out",
        "have": 0,
        "want": 1
      }
    ]
  }
}
