The Cox-Pólya-Gamma algorithm for flexible Bayesian inference of multilevel survival models
- PMID: 40971571
- PMCID: PMC12449235
- DOI: 10.1093/biomtc/ujaf121
The Cox-Pólya-Gamma algorithm for flexible Bayesian inference of multilevel survival models
Abstract
Bayesian Cox semiparametric regression is an important problem in many clinical settings. The elliptical information geometry of Cox models is underutilized in Bayesian inference but can effectively bridge survival analysis and hierarchical Gaussian models. Survival models should be able to incorporate multilevel modeling such as case weights, frailties, and smoothing splines, in a straightforward manner similar to Gaussian models. To tackle these challenges, we propose the Cox-Pólya-Gamma algorithm for Bayesian multilevel Cox semiparametric regression and survival functions. Our novel computational procedure succinctly addresses the difficult problem of monotonicity-constrained modeling of the nonparametric baseline cumulative hazard along with multilevel regression. We develop two key strategies based on the elliptical geometry of Cox models that allows computation to be implemented in a few lines of code. First, we exploit an approximation between Cox models and negative binomial processes through the Poisson process to reduce Bayesian computation to iterative Gaussian sampling. Next, we appeal to sufficient dimension reduction to address the difficult computation of nonparametric baseline cumulative hazards, allowing for the collapse of the Markov transition within the Gibbs sampler based on beta sufficient statistics. We explore conditions for uniform ergodicity of the Cox-Pólya-Gamma algorithm. We provide software and demonstrate our multilevel modeling approach using open-source data and simulations.
Keywords: Bayesian inference; Cox model; Kaplan-Meier; frailty model; multilevel model; survival analysis.
© The Author(s) 2025. Published by Oxford University Press on behalf of The International Biometric Society. All rights reserved. For commercial re-use, please contact reprints@oup.com for reprints and translation rights for reprints. All other permissions can be obtained through our RightsLink service via the Permissions link on the article page on our site-for further information please contact journals.permissions@oup.com.
Conflict of interest statement
None declared.
References
-
- Aalen O. (1978). Nonparametric inference for a family of counting processes. The Annals of Statistics, 6, 701–726.
-
- Aalen O., Borgan O., Gjessing H. (2008). Survival and Event History Analysis: A Process Point of View. New York, NY: Springer Science and Business Media.
-
- Alvares D., Van Niekerk J., Krainski E. T., Rue H., Rustand D. (2024). Bayesian survival analysis with INLA. Statistics in Medicine, 43, 3975–4010. - PubMed
-
- Bender A., Groll A., Scheipl F. (2018). A generalized additive model approach to time-to-event analysis. Statistical Modelling, 18, 299–321.
-
- Borgan O., Goldstein L., Langholz B. (1995). Methods for the analysis of sampled cohort data in the Cox proportional hazards model. The Annals of Statistics, 23, 1749–1778.
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources