Code for: The Cox-Polya-Gamma Algorithm for Flexible Bayesian Inference of Multilevel Survival Models. Weibull PH model based on Cox-PG algorithm has been added (25JAN2026).
bayesian survival multilevel-models kaplan-meier cox-regression hierarchical-models gibbs-sampler weibull sufficient-statistics smoothing-splines polya-gamma cox-proportional-hazard proportional-hazards non-proportional-hazards smoothing-spline frailty-models cox-polya-gamma cox-pg transformation-model weibull-pg
-
Updated
Sep 24, 2026 - HTML