Abstract
Quasi-experimental research designs, such as regression discontinuity and interrupted time series, allow for causal inference in the absence of a randomized controlled trial, at the cost of additional assumptions. In this paper, we provide a framework for discontinuity-based designs using Bayesian model comparison and Gaussian process regression, which we refer to as 'Bayesian nonparametric discontinuity design', or BNDD for short. BNDD addresses the two major shortcomings in most implementations of such designs: overconfidence due to implicit conditioning on the alleged effect, and model misspecification due to reliance on overly simplistic regression models. With the appropriate Gaussian process covariance function, our approach can detect discontinuities of any order, and in spectral features. We demonstrate the usage of BNDD in simulations, and apply the framework to determine the effect of running for political positions on longevity, of the effect of an alleged historical phantom border in the Netherlands on Dutch voting behaviour, and of Kundalini Yoga meditation on heart rate.
Introduction
In the absence of randomized controlled trials (RCTs), researchers frequently employ quasi-experimental designs like Regression Discontinuity (RD) or Interrupted Time Series (ITS). These designs leverage a threshold—such as a test score or a specific date—to assign treatment. However, traditional implementations often suffer from two major flaws: model misspecification, where simple linear or polynomial trends are assumed, and overconfidence, where frequentist tests ignore the uncertainty of whether an effect exists at all.
We introduce Bayesian Nonparametric Discontinuity Design (BNDD), a framework that combines Gaussian Processes (GPs) with Bayesian model comparison to provide more robust and honest causal estimates. By replacing rigid parametric models with flexible GPs, BNDD adapts to complex, non-linear data shapes while providing a principled way to quantify evidence for a discontinuity.
Methodology: Gaussian Processes and Bayesian Model Comparison
The core of BNDD lies in comparing a continuous null model ($\mathcal{M}_0$) against a discontinuous model ($\mathcal{M}_1$). While $\mathcal{M}_0$ assumes a single smooth process governs the data, $\mathcal{M}_1$ allows for independent processes before and after the threshold. The framework calculates a Bayes Factor to quantify the relative likelihood of the data under each model and employs Bayesian Model Averaging (BMA) to combine their predictions. This approach naturally "shrinks" estimated effect sizes toward zero when evidence is weak, providing a safeguard against false positives.
A unique advantage of BNDD is its ability to detect higher-order discontinuities (e.g., in slope or curvature) and spectral shifts in time-series data. By utilizing specialized kernels, such as Spectral Mixture Kernels, BNDD can identify changes in the rhythm or frequency of a signal rather than just its mean level.
Empirical Results
The framework was evaluated using simulated benchmarks and real-world datasets, including political longevity, historical voting patterns, and physiological signals.
Debunking Spurious Effects
A primary strength of BNDD is its ability to debunk spurious effects that traditional methods might flag as significant. In a study of US gubernatorial candidates, traditional linear RD suggested a significant 9.4-year life extension for winners. BNDD, however, found that a simple constant model with noise was a more parsimonious explanation, indicating no evidence for the effect. Similarly, in the case of the Dutch "phantom border," BNDD revealed that apparent discontinuities were actually artifacts of non-linear trends.
Time-Series and Spectral Detection
In time-series applications, BNDD consistently outperformed standard ARMA (Auto-Regressive Moving Average) models. In heart rate simulations, the framework accurately identified frequency shifts after an intervention, demonstrating its utility for complex physiological data.
Discussion and Limitations
BNDD offers a significant advancement in the robustness of quasi-experimental inference. By automating bandwidth selection through the GP's length-scale parameter and providing honest estimates via BMA, it addresses the core weaknesses of traditional RD.
However, limitations remain. The framework assumes the absence of confounding variables at the threshold. Current implementations rely on the Bayesian Information Criterion (BIC) for computational efficiency; future work could explore more exact marginal likelihood approximations. Additionally, extending BNDD to handle multiple covariates via Automatic Relevance Determination (ARD) is a promising avenue for future research.
Summary updated