Skip to content
DraconiticResearch
Search Sources API
186,631 studies31 sourcesUpdated 1 h ago
PreprintCC BY 4.0arXiv

lifelines-hc: Higher Criticism testing for sparse non-proportional hazard departures in Python

Abstract

The log-rank test is the standard tool for two-sample survival comparison and has good power against proportional-hazards alternatives, but it loses power against sparse hazard departures, in which the hazard difference is concentrated in a small number of time intervals whose locations along the follow-up are unknown a priori (Kipnis, Galili and Yakhini, Biometrika 2026). Weighted log-rank tests -- Gehan-Wilcoxon, Tarone-Ware, Peto-Prentice, Fleming-Harrington -- each impose a pre-specified temporal emphasis. Combination procedures such as MaxCombo and the Yang-Prentice short-term/long-term hazard-ratio model relax that choice, but still scan only a small dictionary of global temporal shapes and remain insensitive to sparse departures occurring outside them. We introduce lifelines-hc, a Python package extending the lifelines survival library with the HCHG test: Higher Criticism applied to per-interval hypergeometric p-values. HCHG applies to right-censored two-sample data and detects sparse hazard departures at unknown locations without committing to any temporal pattern. Across four clinical case studies -- CheckMate 057 PFS (n=582), COMET-1 OS (n=1028), AZURE DFS (n=3359), and the Copenhagen Study Group for Liver Diseases cirrhosis trial (n=446, fully public individual patient data) -- HCHG achieves p <= 0.014 in every dataset, while the log-rank test is non-significant throughout (p >= 0.26). MaxCombo and the Yang-Prentice adaptive log-rank test detect the delayed-benefit crossing in CheckMate 057 (p < 0.001) but are non-significant on the remaining three (p >= 0.24), where the departure is sparse or multi-window rather than a smooth short-term/long-term hazard-ratio pattern. lifelines-hc is freely available under the MIT license at https://github.com/alonkipnis/lifelines-hc and via pip install lifelines-hc.

Related

  1. Sparse departures from independence in two-way tables: a heteroscedasticity profile and detection boundary, an adaptive higher-criticism gate, and an assumption-lean exact anchor
    William J. Dwyer
    arXivPreprintCC BY-NC-ND 4.0Full textStatisticsarXiv
  2. Multiclass Classification with Rare Useful Features: Fundamental Limits and the Optimality of Diversity Pursuit Higher Criticism Thresholding
    Gabriel Moryoussef, Alon Kipnis
    arXivPreprintCC BY 4.0Full textStatisticsarXiv
  3. From morning departures to evening returns: a probabilistic model for forecasting bike-sharing demand
    Mohamadou Salifou
    HALPreprintCC BY-NC-SA 4.0Full textStatisticsHAL
  4. Residual Model Criticism for Fitted SDE Implementations
    Shengda Zheng
    arXivPreprintarXiv licenceFull textStatisticsarXiv
  5. Simulation-based Criticism of Complex Biological Models with Neural Evidence Estimation
    Prayag Chatha, Fan Bu, Jon Zelner
    arXivPreprintarXiv licenceFull textStatisticsarXiv
BibTeX
@misc{kipnis2026lifelineshc,
  title = {{lifelines-hc: Higher Criticism testing for sparse non-proportional hazard departures in Python}},
  author = {Alon Kipnis and Ben Galili and Zohar Yakhini},
  howpublished = {arXiv},
  year = {2026},
  month = oct,
  doi = {10.48550/arxiv.2610.07268},
  eprint = {2610.07268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.07268},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - lifelines-hc: Higher Criticism testing for sparse non-proportional hazard departures in Python
AU  - Alon Kipnis
AU  - Ben Galili
AU  - Zohar Yakhini
PY  - 2026
DA  - 2026/10/05
PB  - arXiv
DO  - 10.48550/arxiv.2610.07268
UR  - https://arxiv.org/abs/2610.07268
AB  - The log-rank test is the standard tool for two-sample survival comparison and has good power against proportional-hazards alternatives, but it loses power against sparse hazard departures, in which the hazard difference is concentrated in a small number of time intervals whose locations along the follow-up are unknown a priori (Kipnis, Galili and Yakhini, Biometrika 2026). Weighted log-rank tests -- Gehan-Wilcoxon, Tarone-Ware, Peto-Prentice, Fleming-Harrington -- each impose a pre-specified temporal emphasis. Combination procedures such as MaxCombo and the Yang-Prentice short-term/long-term hazard-ratio model relax that choice, but still scan only a small dictionary of global temporal shapes and remain insensitive to sparse departures occurring outside them. We introduce lifelines-hc, a Python package extending the lifelines survival library with the HCHG test: Higher Criticism applied to per-interval hypergeometric p-values. HCHG applies to right-censored two-sample data and detects sparse hazard departures at unknown locations without committing to any temporal pattern. Across four clinical case studies -- CheckMate 057 PFS (n=582), COMET-1 OS (n=1028), AZURE DFS (n=3359), and the Copenhagen Study Group for Liver Diseases cirrhosis trial (n=446, fully public individual patient data) -- HCHG achieves p <= 0.014 in every dataset, while the log-rank test is non-significant throughout (p >= 0.26). MaxCombo and the Yang-Prentice adaptive log-rank test detect the delayed-benefit crossing in CheckMate 057 (p < 0.001) but are non-significant on the remaining three (p >= 0.24), where the departure is sparse or multi-window rather than a smooth short-term/long-term hazard-ratio pattern. lifelines-hc is freely available under the MIT license at https://github.com/alonkipnis/lifelines-hc and via pip install lifelines-hc.
ER  -