RobustiPy: An efficient next-generation multiversal library with model selection, averaging, resampling, and explainable AI

Read full text
Authors: Daniel Valdenegro, Jiani Yan, Duiyi Dai, Charles Rahal
Cited by: 1
References: 53

Abstract

Scientific inference is undermined by the vast but rarely explored "multiverse" of defensible modeling choices, which can generate results as variable as the phenomena under study. We introduce RobustiPy, an open-source Python library that systematizes multiverse analysis and model uncertainty quantification at scale. RobustiPy unifies bootstrap-based inference, combinatorial specification search, model selection and averaging, joint inference routines, and explainable AI methods within a modular, reproducible framework. Beyond exhaustive specification curves, it supports rigorous out-of-sample validation and provides feature-level explanations for the full-specification predictive model. We demonstrate utility across five simulations and ten high-profile replications spanning economics, sociology, psychology, and medicine, including a re-analysis of widely cited findings with documented discrepancies. Benchmarking on ∼672 million simulated regressions shows that RobustiPy delivers state-of-the-art computational efficiency while expanding transparency. By standardizing and accelerating methods for robustness, RobustiPy transforms how researchers interrogate sensitivity across the analytical multiverse, offering a foundation for reproducible and interpretable computational science.

Fields of Study & Subjects

Explainable Artificial Intelligence (XAI) Numerical Methods and Algorithms Model Reduction and Neural Networks

Publication details

Journal / source
Patterns
Publisher
Elsevier BV
Volume
7
Issue
8
Pages
101609–101609
Publication date
1 August 2026
Language
EN