๐ŸŽฏ Event Overlap

P(A): โ€”
P(B): โ€”
P(A โˆฉ B): โ€”
P(A) ร— P(B): โ€”
P(A|B): โ€”
P(B|A): โ€”
FPS: โ€”
โ€”
Drag sliders to reshape the events

๐ŸŽฏ Conditional Probability and Independence Explained (2D)

A 2D scatter of sample-space outcomes sits inside two overlapping event circles, A and B. Reshaping their size and overlap โ€” and zooming into B โ€” turns conditional probability and independence from formulas into something you can literally count and watch shrink.

๐Ÿ”ฌ What It Demonstrates

Each dot is an outcome; a region's measured probability is just the fraction of dots inside it. P(AโˆฉB) versus P(A)ร—P(B) tells you whether A and B are independent, and conditioning on B โ€” shrinking every point outside it โ€” makes P(A|B) visible as the share of B that's also A.

๐ŸŽฎ How to Use

Set P(A) and P(B) to resize the two circles, then drag Dependence from โˆ’1 (mutually exclusive) through 0 (independent) to +1 (nested). Toggle "Condition on B" to zoom the picture down to the world where B has already happened.

๐Ÿ’ก Did You Know?

Independence is a numerical coincidence of a particular pair of probabilities, not a promise about cause and effect โ€” two causally linked events can still satisfy P(AโˆฉB)=P(A)P(B) for one specific setting, then stop being independent the moment either probability changes.