{
  "aliases": [
    "tower-property",
    "law-of-iterated-expectations",
    "adam-law"
  ],
  "backlinks": [
    {
      "field": "uses",
      "target": "03BY5XTNA4"
    }
  ],
  "body": "\n## Statement\n\nLet $X$ be an integrable real random variable on $(\\Omega, \\mathcal{F}, P)$ and let $\\mathcal{G} \\subseteq \\mathcal{F}$ be a σ-algebra. Then\n$$E\\left[E[X \\mid \\mathcal{G}]\\right] = E[X].$$\nIn particular, $E[E[X \\mid Y]] = E[X]$ for each random variable $Y$ on the same space.\n\n## Remarks\n\nProof: put $G = \\Omega$ in the defining property of the [[conditional expectation|0YAMJRK04E]].\nFor a partition of $\\Omega$ into events $A_1, A_2, \\dots$ with $P(A_i) \u003e 0$, it gives $E[X] = \\sum_i E[X \\mid A_i] \\, P(A_i)$. This extends the [[law of total probability|0E5G5FMT2R]].\nMore generally, for σ-algebras $\\mathcal{H} \\subseteq \\mathcal{G}$, $E[E[X \\mid \\mathcal{G}] \\mid \\mathcal{H}] = E[X \\mid \\mathcal{H}]$. This is the tower property.\n\n## Explanations\n\n### L1 human\n\nTo find an overall average, you can first average inside each group and then average the group averages, with the group sizes as weights.\nIf $60\\%$ of the students have mean score $70$ and $40\\%$ have mean score $80$, the overall mean is $0.6 \\cdot 70 + 0.4 \\cdot 80 = 74$.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "tower-property",
      "law-of-iterated-expectations",
      "adam-law"
    ],
    "kind": "statement",
    "msc": [
      "60A10"
    ],
    "name": "Law of total expectation",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q2247110",
      "wikipedia": "Law of total expectation"
    },
    "sources": [
      {
        "locator": "Proof in the general case",
        "url": "https://en.wikipedia.org/wiki/Law_of_total_expectation"
      }
    ],
    "tag": "04RRB6HM00",
    "uses": [
      "0YAMJRK04E",
      "0DCT0QZVQ1",
      "0E5G5FMT2R"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/04RRB6HM00/",
  "links": [
    {
      "field": "uses",
      "target": "0YAMJRK04E"
    },
    {
      "field": "uses",
      "target": "0DCT0QZVQ1"
    },
    {
      "field": "uses",
      "target": "0E5G5FMT2R"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/04RRB6HM00.md",
  "msc": [
    "60A10"
  ],
  "name": "Law of total expectation",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/04R/04RRB6HM00.md",
  "status": null,
  "tag": "04RRB6HM00",
  "uri": "m2://04RRB6HM00",
  "url": "https://math2.tamnd.com/wiki/law-of-total-expectation/",
  "writing": {
    "tag": "04RRB6HM00",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
