An interactive causal inference explainer

Two possible outcomes for each patient

The difference between two conditional mean curves is a treatment effect that changes with patient characteristics.

1 / 6

Simulated continuous outcomes; treatment is randomized with e(X)=0.5. Color identifies the three X values (gold −1, blue 0, pink +1). Small horizontal jitter is purely for visibility and is not used for fitting. Hover on a patient dot for details. Use ← / → to advance. β₀ is fixed at zero for this illustration.