Conditional Expectation and the Tower Property
Companion notebook to the Conditional Expectation and the Tower Property article (Probability Theory, Module 3). This notebook verifies every quantitative claim made in the article using pure Python — no external libraries are required.
- §0 — Imports and shared utilities
- §1 — Discrete CE from scratch: defining-property verification on Ω = {a,b,c,d}
- §2 — Tower property on a 3-level filtration (Ω = {1,…,8})
- §3 — Pulling-out-known-factors property
- §4 — Jensen's inequality for conditional expectation
- §5 — Bivariate Gaussian CE formula + validation summary
Cells §1–§4 use fractions.Fraction for exact rational arithmetic.
Cell §5 uses math floats (continuous distribution). Run all cells in order.