« home

Geometric Bayes

Bayes' theorem as an argument about areas. The square is the whole probability space, split horizontally by the prior p(H)p(H) against p(¬H)p(\neg H) and vertically by the likelihoods, so each of the four rectangles is a joint probability. Conditioning on the evidence EE keeps only the two rectangles where EE occurred; rescaling those to full height renormalizes them into the posterior p(HE)p(H|E) shown on the right. Following 3blue1brown.


Geometric Bayes

Download

PNGPNG (HD)PDFSVG

Code

geometric-bayes.typ (114 lines)