This paper reviews recent advances in the foundations of causal inference and introduces a systematic methodology for defining, estimating, and testing causal claims in experimental and obser-vational studies. It is based on nonparametric structural equation models (SEM)—a natural generalization of those used by econo-metricians and social scientists in the 1950s and 1960s, which pro-vides a coherentmathematical foundation for the analysis of causes and counterfactuals. In particular, the paper surveys the develop-ment of mathematical tools for inferring the effects of potential interventions (also called “causal effects ” or “policy evaluation”), as well as direct and indirect effects (also known as “mediation”), in both linear and nonline...