Geodesic Difference-in-Differences

Yidong Zhou, Daisuke Kurisu, Taisuke Otsu, Hans‐Georg MüllerarXiv 2025 · DOI

Introduction

Difference-in-Differences (DID) is a cornerstone of quasi-experimental research, widely employed across economics, healthcare, and the social sciences to estimate the causal effects of interventions. Traditionally, DID relies on the "parallel trends" assumption, which posits that in the absence of treatment, the difference between the treated and control groups would remain constant over time. However, this framework is mathematically anchored in Euclidean geometry, requiring outcomes to be scalars or vectors where addition and subtraction are well-defined.

As modern data science increasingly deals with complex objects—such as brain connectivity networks, age-at-death distributions, and compositional energy data—the standard DID toolkit reaches its limits. These data types reside in non-Euclidean metric spaces where arithmetic operations do not exist. This paper introduces Geodesic DID, a novel framework that generalizes causal inference to any outcome residing in a unique geodesic metric space.

The Geometric Challenge

In a standard DID setup, we calculate the average change in a control group and subtract it from the change in the treated group. When outcomes are complex objects, we face two primary hurdles:

  1. Averaging: How do we find the "average" of a set of networks or probability distributions?
  2. Differencing: How do we represent the "trend" or "change" between two points in a space where subtraction is undefined?

To resolve these, the authors leverage tools from metric geometry. Instead of arithmetic means, they utilize Fréchet means, which identify the "center" of a data set by minimizing the sum of squared distances to all points. To replace the concept of a linear difference, they use geodesics—the shortest path between two points in a metric space.

The Geodesic DID Framework

The core innovation of Geodesic DID lies in how it constructs the counterfactual. In Euclidean DID, we shift the control group's trend line to start at the treated group's baseline. In the geodesic framework, this is achieved through a geodesic transport map. This map takes the geodesic path observed in the control group and "transports" it to the starting point of the treated group.

The Geodesic Average Treatment Effect on the Treated (GATT)

The paper introduces the GATT as the primary causal estimand. The GATT is defined as the geodesic connecting two points:

  1. The Counterfactual Outcome: Where the treated group would have ended up if they had followed the transported geodesic trend of the control group.
  2. The Observed Outcome: The actual state of the treated group after the intervention.

By measuring the "length" and "direction" of this geodesic, researchers can quantify the causal impact of a policy on complex data structures. The authors further extend this to staggered DID settings, accommodating scenarios where different units receive treatment at different times.

Empirical Applications

The utility of Geodesic DID is demonstrated through two significant real-world case studies:

1. The Collapse of the Soviet Union

Using the Human Mortality Database, the authors analyzed the age-at-death distributions of Eastern European (former Soviet) states versus Western European states between 1985 and 1994. By treating the distributions as points in Wasserstein space, they quantified the causal health impact of the USSR's collapse. The analysis revealed a significant leftward shift in the age-at-death distribution for former Soviet states, indicating a sharp decline in life expectancy that was particularly pronounced among the male population.

2. U.S. Electricity Market Liberalization

The authors examined the composition of electricity generation (fossil fuels, nuclear, and renewables) across U.S. states. This compositional data lives on a spherical manifold. By applying Geodesic DID, they found that the liberalization of electricity markets in the late 1990s caused a statistically significant shift in energy portfolios, accelerating the transition away from fossil fuels toward renewable energy sources.

Theoretical and Practical Implications

The paper provides rigorous theoretical guarantees, proving that the empirical estimator for the GATT converges at a parametric rate of $O_p(n^{-1/2})$ in standard spaces. This ensures that the method is not only conceptually sound but also statistically reliable.

However, challenges remain. Standard methods for statistical inference, such as clustering standard errors, rely on linear structures that are absent in geodesic spaces. Furthermore, the framework currently requires the metric space to be a "unique geodesic space," leaving the door open for future research into more general metric spaces or scenarios where the parallel trends assumption is violated.

Conclusion

Geodesic DID represents a significant leap forward for causal inference. By replacing algebraic operations with geometric ones, it allows researchers to ask "what if" questions about the most complex data structures in modern science. Whether analyzing the evolution of social networks or the shifting distributions of global health, Geodesic DID provides the mathematical language necessary to uncover causal truths in a non-Euclidean world.

Summary updated

BibTeX
@misc{zhou2025geodesic,
  author = {Yidong Zhou and Daisuke Kurisu and Taisuke Otsu and Hans‐Georg Müller},
  title = {{Geodesic Difference-in-Differences}},
  year = {2025},
  eprint = {2501.17436},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.17436},
  howpublished = {arXiv},
}
Figure