RobustiPy: An efficient next-generation multiversal library with model selection, averaging, resampling, and explainable AI.
Where this comes from
- Record sourced from PubMed, PMID 42630847.
- Also identified by DOI 10.1016/j.patter.2026.101609 and PMC identifier 13494627.
- Licence recorded as CC BY.
- The licence permits redistribution, so the abstract is shown in full and the full text is available from the publisher.
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.