An Improved Pooled Logistic Regression Implementation
Authors: Paul N. Zivich, Mark Klose, Justin B. DeMonte, Bonnie E. Shook‐Sa, Stephen R. Cole, Jessie K. Edwards
Journal: Epidemiology
Publication year: 2025
DOI: 10.1097/ede.0000000000001945
Abstract
BACKGROUND: Pooled logistic regression is a popular tool for survival analyses in epidemiology, but can face computational challenges. Commonly, these challenges are addressed through widening time intervals or using a parametric functional form for time. We propose a third option to reduce the computational burden without constraining the functional form for time. METHODS: The proposed algorithm operates by restricting the long data set to rows that correspond to unique event times. However, our approach is only compatible when modeling time most flexibly with disjoint indicators. We compared the standard implementation to the proposed implementation in SAS, R, and Python using a publicly available data set. RESULTS: For the example considered, both implementations provided the same point estimates, but the proposed implementation was between 6 and 68 times faster depending on the software. CONCLUSIONS: The proposed implementation can greatly simplify estimation of pooled logistic regression models, which is especially important when relying on the bootstrap for inference.