stat.MEOct 9, 2026

Kernel-based External Validity of Experimental Studies

Authors: Federico Matteucci, Gerhard Neumann

Organizations: Karlsruhe Institute of Technology

Abstract

The external validity of a study is the extent to which its findings generalize to unseen experimental conditions, such as datasets. We formalize the results of a study together with its research question, and define external validity as the probability that two independent and same-sized replications of the study produce results whose maximum mean discrepancy (MMD) is below a given tolerance. This approach, centered on the choice of a space of results and of an appropriate reproducing kernel for the MMD, is flexible enough to be deployed on multiple different types of results and research questions. Additionally, we establish an asymptotic power-law relation between the size of a study and the quantiles of the MMD, which we use to estimate the desired size of an externally valid study from a small-scale preliminary study. We deploy our framework to rankings with ties and discuss kernels suited to different research questions. Experiments on existing case studies and on a simulated newly designed study illustrate the applicability of the framework. We release our code as part of the genexpy Python module.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Kernel Selection is Model Selection: A Unified Complexity-Penalized Approach for MMD Two-Sample Tests

    May 7, 2026Yijin Ni, Xiaoming HuoModel SelectionTwo-Sample Testing

  2. Validity Threats for Foundation Model Research

    Jun 3, 2026Gunnar König, Martin Pawelczyk, Ulrike von Luxburg +1

  3. Maximum Mean Discrepancy with Unequal Sample Sizes via Generalized U-Statistics

    Dec 16, 2025Aaron Wei, Milad Jalali, Danica J. SutherlandTwo-Sample TestingMaximum Mean Discrepancy