Open Textbook · Interactive · Free

Decision-Making Under Uncertainty

A practical guide to experiments, causality, Bayesian thinking, and machine learning — written for curious people, not just academics.

🎲

Why Randomize?

Understand why randomized experiments are the gold standard for causal claims — and when they're not enough.

🔀

Causal Graphs

Learn to draw and reason with DAGs: spot confounders, find adjustment sets, and avoid classic traps like collider bias.

🎰

Bandits & RL

Go beyond A/B tests: learn how multi-armed bandits balance exploration and exploitation in real time.

🤖

Causal AI

See how machine learning and causal inference combine — from doubly-robust estimators to counterfactual prediction.