Causal Dynamics for Complex Systems

A course in structural causal dynamics

Author

Simon Babayan

Published

September 30, 2026

Causal Dynamics for Complex Systems

All things are in all things, but in each appropriately.

— Proclus, Elements of Theology, Proposition 103 (c. 5th century)

How an actual entity becomes constitutes what that actual entity is. Its ‘being’ is constituted by its ‘becoming’.

— A. N. Whitehead, Process and Reality (1929)

…from so simple a beginning endless forms most beautiful and most wonderful have been, and are being, evolved.

— Charles Darwin, On the Origin of Species (1859)

Preface

Status: In Progress
v0.5

Causal Dynamics for Complex Systems joins causal reasoning with dynamical systems modelling. The object is a complex system (organism, ecosystem, clinical cohort, coupled socio-technical process) under intervention: how the process unfolds through time, what feedback sustains it, which equilibria (“attractor states”) it can settle into as its environment shifts, and what remains learnable when observation is partial and noisy.

The practical questions are these: can we predict how a process evolves under different interventions from imperfect data? What would it take for such a system to settle into a new equilibrium if conditions or treatments change? They arise wherever feedback, latent structure, and limited measurement meet (ecology, epidemiology, medicine, climate, and engineered systems among them).

The book organises that problem so that complex dynamical systems are described carefully enough, and their mechanisms understood deeply enough, that the observable effects of interventions become predictable in principle. The framing is general; the worked examples often draw on biology because that is where I work, but the logic applies universally.

The material is organised in three strata: Structural (causal mechanisms, formal constraints, and invariances), Dynamical (states and processes unfolding through time), and Observable (the measurement process through which aspects of actualisation become data). Pearl’s three levels of Reason (association, intervention, and counterfactual) cut across those strata. The strata describe modelling roles; the levels describe queries. How pedagogy (depth-first) relates to epistemology (surface-first) is spelled out under How to read this book.

Computation in these pages uses a Julia stack: CausalDynamics.jl (graphs, identification, SCM/CDM do), CausalTargeted.jl (cross-fitted LMTP / MTP grids), CausalMediation.jl (interventional and related mediation), and DAGMakie.jl (DAG figures). Identify → estimate → display, with typed certificates between steps. This book is not the documentation for that software; the packages implement the challenges the book describes. The concepts remain usable in other languages and toolkits. Julia is the working language here because its one-language workflow, mathematical syntax, multiple dispatch, and composability suit the task. For further detail, see Why Julia in the Introduction.


Chapter Progress

Part I — Structural

Part II — Dynamical

Part III — Observable

Part IV — Synthesis

Appendices