Equiflow: An open-source software package for evaluating changes in cohort composition
PLOS Digital Health · 08.04.2026 · 5 (4) · e0001342
DOI: 10.1371/journal.pdig.0001342 ↗Kurz gefasst
Fachartikel in der Zeitschrift PLOS Digital Health, online erschienen am 08.04.2026. Verfasst von Jacob Gould Ellen und 8 weiteren Autor:innen. Beteiligte Einrichtung: Harvard Medical School, Boston, Massachusetts, United States of America. Die Arbeit nennt 37 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
Clinical research studies routinely apply exclusion criteria and data preprocessing steps that can substantially alter dataset composition, potentially introducing hidden biases that affect validity and generalizability. This is particularly important in artificial intelligence/machine learning (AI/ML) studies where models learn patterns directly from training data. We developed Equiflow, an open-source Python package that automates creation of enhanced participant flow diagrams tracking both sample size and composition changes throughout studies. Equiflow quantifies distributional shifts at each exclusion step and generates visualizations showing how key clinical and demographic variables evolve during participant selection. In a case study of sepsis patients from the eICU database, sequential exclusions reduced the sample from 126,750–1,094 patients. Requiring non-missing troponin measurements in the final step of data processing caused substantial demographic shifts that would typically remain invisible in traditional reporting. By making compositional biases visible during cohort construction before modeling begins, Equiflow enables researchers to make informed decisions about analyses and acknowledge limitations in generalizability to their readers. This standardized, open-source approach promotes transparency in clinical research and supports development of more equitable clinical AI systems, addressing a critical need as healthcare increasingly relies on data-driven decision making.
Autor:innen und Institutionen
- Harvard Medical School, Boston, Massachusetts, United States of America.
- Institute for Medical Engineering and Science, Massachusetts Institute of Technology, Cambridge, Massachusetts, United States of America.
- Harvard College, Cambridge, Massachusetts, United States of America.
- Mbarara University of Science and Technology, Mbarara, Uganda.
- Centre for Statistics in Medicine, University of Oxford, Oxford, United Kingdom.
ORCID-Profile: Chrystinne Fernandes, João Matos
Zitieren
APA
Ellen, J. G., Fernandes, C., Viola, M., Yap, K., Jordan, A., Kirabo, M. F., Matos, J., Moreira, P., & Celi, L. A. (2026). Equiflow: An open-source software package for evaluating changes in cohort composition. PLOS Digital Health, 5(4), e0001342. https://doi.org/10.1371/journal.pdig.0001342
Vancouver
Ellen JG, Fernandes C, Viola M, Yap K, Jordan A, Kirabo MF, et al. Equiflow: An open-source software package for evaluating changes in cohort composition. PLOS Digital Health. 2026;5(4):e0001342. doi:10.1371/journal.pdig.0001342
BibTeX
@article{Ellen2026,
author = {Ellen, Jacob Gould and Fernandes, Chrystinne and Viola, Martin and Yap, Keagan and Jordan, Arinda and Kirabo, Mutesi Flavia and Matos, João and Moreira, Pedro and Celi, Leo Anthony},
title = {Equiflow: An open-source software package for evaluating changes in cohort composition},
journal = {PLOS Digital Health},
year = {2026},
volume = {5},
number = {4},
pages = {e0001342},
doi = {10.1371/journal.pdig.0001342}
}
EUVIMED