A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Counterfactual Framework and Potential Outcomes

Research Depth 228 in the knowledge graph ☐ I know this ☆ Set as goal
41topics build on this
1,314prerequisites beneath it
See this on the map →
Directed Acyclic Graphs for Causal ModelingFoundations of Epidemiology→→G-Estimation and Structural Nested ModelsInstrumental Variables in Epidemiology+4 more
causal-inference potential-outcomes rubin-causal-model

Core Idea

The counterfactual framework defines causal effects as contrasts between potential outcomes under different exposure levels, observed for the same individual in hypothetical scenarios. The fundamental problem of causal inference is that only one potential outcome is observed per person; valid causal inference requires assumptions about missing counterfactuals (e.g., consistency, positivity, exchangeability).

How It's Best Learned

Work through simple numerical examples: two identical people who differ only in treatment received, calculate what the ATE would be if you could observe both potential outcomes, then see how the naive observational comparison can diverge. This makes the fundamental problem concrete and the need for assumptions intuitive.

Explainer

From your study of directed acyclic graphs (DAGs), you already understand that causation has a direction and that confounding arises when common causes of both exposure and outcome distort an observed association. The counterfactual framework takes this further: it defines what a causal effect actually *means* for a single individual. The claim "smoking caused her lung cancer" is a counterfactual claim — it asserts that if, contrary to fact, she had not smoked, she would not have developed cancer. Causation is always a comparison between what happened and what *would have happened* under a different world.

The formal notation makes this precise. Write Y(1) for the outcome a person would experience if exposed (treatment = 1) and Y(0) for the outcome they would experience if unexposed (treatment = 0). These are called potential outcomes — not observed outcomes, but outcomes that would be realized under each possible treatment state. The individual causal effect is Y(1) − Y(0): did the treatment change this person's outcome? This is the exact quantity we care about. But here is the inescapable problem: every person receives one treatment. If a patient takes the drug, we observe Y(1) and never learn Y(0). If they don't take it, we observe Y(0) and never learn Y(1). One of the two potential outcomes is always a counterfactual — literally counter to the observed fact. This is the fundamental problem of causal inference.

Because we cannot observe both potential outcomes for the same person, we cannot directly measure individual causal effects. The solution is to shift the estimand: instead of the individual effect, we target the average treatment effect (ATE) — E[Y(1) − Y(0)] — averaged across a population. This is estimable if the treated and untreated groups are *exchangeable*: statistically comparable in their potential outcomes, so that the untreated group's observed Y(0) can stand in for the treated group's counterfactual Y(0). Randomization achieves this mechanically; observational studies must achieve it through design and modeling.

Three key assumptions underpin valid counterfactual inference. Consistency requires that the potential outcome Y(a) for treatment a is precisely what you observe when treatment a is received — there is one well-defined version of each treatment level, not ambiguous variations. Positivity (also called the overlap assumption) requires that every subgroup defined by measured covariates has some positive probability of receiving each treatment level; if certain people *never* receive the treatment, we cannot estimate the effect for them. Exchangeability (no unmeasured confounding) is the most demanding: it requires that, conditional on measured covariates, treatment assignment is independent of the potential outcomes — no hidden common causes remain.

The connection to your DAG prerequisite is direct. A DAG encodes the assumed causal structure of the data-generating process. Exchangeability conditional on covariates Z translates to the DAG condition that blocking all backdoor paths from exposure to outcome is achievable by conditioning on Z. The three assumptions are not mere statistical niceties; they are substantive claims about the world that must be justified on scientific grounds. Sensitivity analysis — the topic this builds toward — is specifically the practice of asking how badly your conclusions break down if exchangeability is violated.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → One-to-One Correspondence → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Iterated Integrals and Fubini's Theorem → Double Integrals in Cartesian Coordinates → Double Integrals in Polar Coordinates → Double Integrals in Polar Coordinates → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Triple Integrals in Cartesian Coordinates → Triple Integrals in Cylindrical and Spherical Coordinates → Change of Variables and the Jacobian Determinant → Applications of Triple Integrals: Volume and Mass → Vector Fields and Their Representations → Line Integrals of Vector Fields → Work and Circulation → Line Integrals of Scalar and Vector Functions → Fundamental Theorem for Line Integrals → Conservative Vector Fields → Conservative Vector Fields and Potential Functions → Curl and Divergence of Vector Fields → Curl and Divergence → Divergence Theorem → Electric Flux and Divergence Theorem → Gauss's Law: Integral Form and Meaning → Solving Problems with Gauss's Law → Conductors in Electrostatic Equilibrium → Capacitance and Capacitors → Dielectrics → Dielectric Constant and Relative Permittivity → Electric Field Inside Dielectric Materials → Dielectric Materials and Polarization → Dielectric Susceptibility and Permittivity → Energy Density in Electric Fields → Electric Current and Current Density → Electrical Resistance and Resistivity → Ohm's Law and Circuit Elements → Electromotive Force (EMF) and Batteries → Kirchhoff's Circuit Laws: Voltage and Current → DC Circuit Network Analysis Methods → Transient Response in RC Circuits → RC Circuits → LC and RLC Circuits → AC Circuits: Fundamentals → Impedance and Reactance → AC Power and Resonance → Electromagnetic Waves → Postulates of Special Relativity → Time Dilation → Length Contraction → Lorentz Transformation → Relativistic Velocity Addition → Relativistic Momentum and Energy → Mass-Energy Equivalence and E=mc² → Photons as Particles with Energy and Momentum → Planck-Einstein Relation: Energy and Frequency → Photoelectric Effect → The Photon: Light as Quanta → Compton Scattering → Wave-Particle Duality → de Broglie Wavelength → The Schrödinger Equation → State Vectors and Wavefunctions → Quantum Superposition → The Measurement Problem → Interpretations of Quantum Mechanics → Postulates of Quantum Mechanics → Observables and Quantum Operators → Commutators and Commutation Relations → Quantum Angular Momentum → Quantum Mechanical Treatment of Hydrogen → Solving the Schrödinger Equation for Hydrogen Atom → Quantum Numbers → Electron Configuration → Periodic Trends → Covalent Bonding → Electronegativity and Bond Polarity → Ionic Bonding → Lewis Structures → VSEPR Theory and Molecular Geometry → Molecular Geometry and Electron Pair Geometry → Molecular Polarity and Dipole Moments → Intermolecular Forces → States of Matter and Phase Changes: Melting, Boiling, and Sublimation → Gas Laws and the Ideal Gas Equation → Gas Stoichiometry and Volume-Volume Calculations → Thermochemistry and Enthalpy → Heat Capacity and Calorimetry → Entropy and Molecular Disorder → Spontaneity and ΔG → Entropy and Gibbs Free Energy → Chemical Equilibrium → Acid-Base Chemistry → Weak Acid Ionization → Weak Base Ionization → Acid and Base Strength: Ka, Kb, and Ionization → Leaving Groups and Nucleofugality → SN2 Substitution Reactions → SN1 Substitution Reactions → E1 Elimination Reactions → Alcohols and Ethers: Structure, Properties, and Nomenclature → Reactions of Alcohols → Aldehydes and Ketones: Structure and Reactivity → Oxidation Reactions in Organic Chemistry → Oxidation of Alcohols to Aldehydes and Ketones → Aldehyde and Ketone Structure and Nomenclature → Nucleophilic Addition to Aldehydes and Ketones → Carboxylic Acids and Their Derivatives → IUPAC Nomenclature of Carbonyls and Carboxylic Acids → IUPAC Nomenclature of Alkenes → Electrophilic Addition to Alkenes → Aromaticity and Benzene → Electrophilic Aromatic Substitution (EAS) → Nucleophilic Aromatic Substitution (SNAr) → Nucleophilic Acyl Substitution → Amines: Structure, Basicity, and Reactions → Amine Reactivity: Nucleophilicity and Basicity → Amino Acid Structure and Properties → Peptide Bonds and Polypeptide Formation → Protein Primary Structure → Protein Secondary Structure → Protein Tertiary Structure → Enzyme Structure and Function → Transcription: DNA to RNA → RNA Types and Structure → RNA Structure and Intramolecular Base Pairing → RNA Processing and Splicing → Translation: RNA to Protein → Ribosomes: Protein Synthesis Machines → Translation: Initiation and Elongation → Post-Translational Modifications → Proteasomal Degradation and Ubiquitin-Mediated Marking → Cell Cycle Regulation and Checkpoints → Cell Cycle Checkpoints: Ensuring Genome Integrity → Cell Cycle Checkpoints and Cancer Prevention → Mitotic Spindle Checkpoint and Chromosome Segregation → Kinetochore Structure and Function → Mitochondria: Structure and Function → Cellular Respiration Overview → Bacterial Metabolism Overview → Antibiotic Resistance Mechanisms → Infectious Disease Epidemiology → Foundations of Epidemiology → Measuring Disease Frequency: Incidence and Prevalence → Epidemiologic Study Designs → Confounding: Definition, Identification, and Causal Criteria → Directed Acyclic Graphs for Causal Modeling → Counterfactual Framework and Potential Outcomes

Longest path: 229 steps · 1314 total prerequisite topics

Prerequisites (2)

Leads To (6)