betaFeedback

WorksMathematics

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.

Introduction

The Kaplan-Meier estimator [12] and the log-rank test [15] are the workhorses of two-sample survival analysis in biomedical research. The log-rank statistic has good power against a wide range of useful alternatives, particularly proportional-hazards (PH) alternatives [19]. Nevertheless, Kipnis et al. [ [13] showed that the log-rank test is not optimal against sparse hazard departures, in which the hazard difference is concentrated in a small, unknown subset of time intervals.

Such localized or non-proportional departures arise naturally in several biomedical settings. Immune checkpoint inhibitors may require an immune-priming phase before producing durable tumour suppression, leading to delayed treatment effects and crossing survival curves; for example, in the second-line non-squamous NSCLC trial CheckMate 057, nivolumab improved overall survival relative to docetaxel, while the progression-free survival curves crossed, consistent with delayed benefit [1]. Targeted therapies can also produce endpoint-specific benefits over a limited follow-up window that are diluted in global survival summaries: in the COMET-1 mCRPC trial, cabozantinib markedly improved bone scan response at week 12 and radiographic progression-free survival, but did not significantly improve overall survival [20]. Subgroup-dependent biology can similarly generate composite, time-varying hazard differences: in the AZURE trial of adjuvant zoledronic acid, no overall benefit was observed in the full population, but benefit was seen among women with established menopause, consistent with an effect mediated by the postmenopausal bone microenvironment [2, 3]. Time-varying treatment effects can likewise produce multi-window hazard departures: in the CSL liver-cirrhosis trial, prednisone was harmful early (infection and fluid retention) but beneficial later through anti-inflammatory action, yielding survival curves that cross more than once [16]. This canonical non-proportional-hazards dataset is widely used to illustrate time-varying-coefficient models and provides fully public individual patient data via the CRAN timereg package [16] and the SurvSet repository [7].

The need for log-rank alternatives in survival analysis is well recognized, and several weighted log-rank tests have been developed for non-proportional-hazards settings [9, 17, 21, 11, 8]. Each applies a temporal weight function, emphasizing early, intermediate, or late events. Each of these tests achieves good power when the signal matches the intended temporal pattern. However, choosing an appropriate weight requires knowing in advance where the hazard departure will occur. When the departure is sparse but its location is unknown a priori, all weighted log-rank tests can miss it simultaneously, as we demonstrate below.

Contemporary practice therefore combines several Fleming–Harrington weights rather than committing to one. The MaxCombo test [14, 18] takes the maximum of FH(ρ\rho, γ\gamma) statistics over the dictionary (ρ,γ)∈{(0,0),(0,1),(1,0),(1,1)}(\rho, \gamma) \in\{(0,0), (0,1), (1,0), (1,1)\} — log-rank, late, early, and middle emphasis — and obtains a multiplicity-adjusted pp-value from the estimated multivariate normal joint distribution of the component ZZ-statistics. The Yang–Prentice short-term/long-term hazard-ratio model [22] interpolates between an immediate hazard ratio θ1\theta_1 and an asymptotic ratio θ2\theta_2, covering delayed, diminishing, and crossing hazards with two parameters; the associated adaptive weighted log-rank test [23] is a leading model-based competitor. Both procedures are powerful against the global early-versus-late patterns they were designed for, particularly delayed benefit in immuno-oncology. They remain, however, averaging methods over a small dictionary of global temporal shapes, and can miss sparse or multi-window departures whose locations are unknown a priori.

Kipnis et al. [ [13] proposed the HCHG test — the Higher Criticism (HC) statistic of Donoho and Jin [2004] applied to per-interval HyperGeometric (HG) p-values — specifically for this setting. HCHG divides the follow-up into equal-width intervals, derives a hypergeometric p-value for the event-count comparison in each interval under the null of equal group-specific hazards, and applies the HC statistic to test whether the body of these p-values is collectively implausible under the global null. Because HCHG does not pre-specify any temporal weight, it retains power for sparse departures wherever they occur along the follow-up axis.

We present lifelines-hc, a Python package that implements HCHG and integrates with the popular lifelines library [4].

The lifelines-hc package

The HCHG statistic

HCHG [13] combines two components: hypergeometric interval p-values and the HC statistic of Donoho and Jin [ [5, 6].

Hypergeometric interval p-values. Given two groups with right-censored observations (Ti,Ei,Gi)(T_i, E_i, G_i), partition the follow-up range into KK equal-width intervals. For interval kk, let nkn_k be the total events, rkAr_k^A and rkBr_k^B the subjects at risk in groups A and B, and xkx_k the events in group B. Under the null of equal group-specific hazards,

xk∣nk,rkA,rkB∼Hypergeometric⁡(rkA+rkB,rkB,nk).(1)x_k \mid n_k, r_k^A, r_k^B \sim\operatorname{Hypergeometric}(r_k^A+r_k^B, r_k^B, n_k). \tag*{(1)}

This yields a one-sided p-value pkp_k for each interval using an exact test.

HC aggregation. Ordering the KK p-values as p(1)≤⋯≤p(K)p_{(1)} \le\cdots\le p_{(K)}, the HC statistic [5, 6] is applied to this collection:

HCHG⁡K=max⁡1≤j≤⌊γK⌋j/K−p(j)p(j)(1−p(j))/K,(2)\operatorname{HCHG}_K = \max_{1 \le j \le\lfloor\gamma K \rfloor} \frac{j/K-p_{(j)}}{\sqrt{p_{(j)}(1-p_{(j)})/K}}, \tag*{(2)}

where γ∈(0,1)\gamma\in(0,1) (default 0.2) restricts scanning to the most extreme fraction of interval p-values [5, 6]. A global p-value is obtained by permuting group labels (nperms=2000n_{\mathrm{perms}}=2000 in the analyses reported here). For the two-sided alternative, the minimum of the two one-sided interval p-values replaces pkp_k in (2).

Software design and API

lifelines-hc exposes a function-based API consistent with lifelines.statistics, accepting NumPy arrays of event times and indicators:

from lifelines_hc import (higher_criticism_test, suspected_deviations)

result = higher_criticism_test(
    T_A, T_B,
    event_observed_A=E_A, event_observed_B=E_B,
    n_intervals_to_pool=100, n_permutations=2000,
    alternative='both', gamma=0.2, seed=42)

print(result.p_value)             # permutation-calibrated p-value
print(result.test_statistic)      # HCHG statistic value

The companion suspected_deviations() function returns a pandas.DataFrame of per-interval p-values with a suspected boolean column marking HCHG-flagged intervals, enabling overlay of diagnostic shading on Kaplan-Meier plots. The package additionally ships with plotting utilities (plot_km_with_hc, plot_pvalue_profile) and a convenience wrapper run_all_tests() that benchmarks HCHG, log-rank, the four weighted alternatives, MaxCombo, and Yang–Prentice in a single call, returning a pandas.DataFrame for easy comparison.

Results

We demonstrate lifelines-hc on four biological datasets with distinct non-proportional-hazards (PH) structures (Figure 1), benchmarking HCHG against the log-rank test, four weighted alternatives, the MaxCombo combination test, and the Yang–Prentice adaptive log-rank test. Individual patient data for the first three trials were reconstructed from published Kaplan-Meier curves; the CSL trial provides publicly available individual patient data. Full per-method pp-value tables are provided in Supplementary Data.

Eight-panel comparison of Kaplan–Meier curves and interval p-values across four clinical datasets

Figure 1. Higher Criticism detects non-proportional hazard departures across four clinical datasets with distinct temporal patterns. Top row (A–D): Kaplan-Meier curves with HCHG-flagged intervals (shaded). Bottom row (E–H): per-interval signed −log⁡10-\log_{10}(hypergeometric p-value). Upward bars mark excess events in the treatment arm, downward bars mark excess in the control arm. Dashed lines are the per-direction HCHG thresholds; bars reaching beyond either line are highlighted in red and coincide exactly with the intervals shaded above. (A,E) CheckMate 057 PFS (nivolumab vs. docetaxel, n=582n = 582); log-rank p=0.351p = 0.351, HCHG p=0.001p = 0.001. Curves cross at ∼3\sim3 months before nivolumab gains a durable late advantage. (B,F) COMET-1 OS (cabozantinib vs. prednisone, n=1028n = 1028); log-rank p=0.262p = 0.262, HCHG p=0.014p = 0.014. Early OS advantage (months 3–7) during bone-lesion response, fading as resistance develops. (C,G) AZURE DFS (zoledronic acid vs. control, n=3359n = 3359); log-rank p=0.305p = 0.305, HCHG p=0.005p = 0.005. Menopause-dependent benefit accumulates in months 20–60. (D,H) CSL OS (prednisone vs. placebo, liver cirrhosis, n=446n = 446); log-rank p=0.384p = 0.384, HCHG p=0.002p = 0.002. Time-varying corticosteroid effect with multiple curve crossings; fully public raw individual patient data (CRAN timereg / SurvSet). In every dataset the log-rank test is non-significant while HCHG is significant. MaxCombo and Yang–Prentice are significant only on the delayed-benefit crossing in (A,E); see Supplementary Data. For the first three, individual patient data were reconstructed via Guyot et al. [ [10].

Immuno-oncology: crossing survival curves

CheckMate 057 [1] randomised 582 patients with advanced non-squamous NSCLC to nivolumab (n=292n = 292) or docetaxel (n=290n = 290). Progression-free survival showed crossing curves: docetaxel provided a short-term advantage during immune priming, subsequently overtaken by the durable nivolumab response (Figure 1A). Individual patient data were reconstructed from the published Kaplan-Meier curve via the algorithm of Guyot et al. [ [10] as implemented in the kmdata R package.

The log-rank test is non-significant (p=0.351p = 0.351) as the early excess and late benefit partially cancel. Among the weighted alternatives, Gehan-Wilcoxon (p=0.041p = 0.041) and Peto-Prentice (p=0.049p = 0.049) reach borderline significance by detecting the early crossing, but Tarone-Ware (p=0.358p = 0.358) and Fleming-Harrington (1,1) (p=0.256p = 0.256) do not. This is the delayed-benefit pattern MaxCombo and Yang–Prentice are designed for: MaxCombo is highly significant (p=2.5×10−5p = 2.5 \times10^{-5}), driven by the late-weighted FH(0, 1) member (Z=4.27Z = 4.27), and the Yang–Prentice adaptive log-rank test is likewise significant (p=0.00055p = 0.00055), with estimated short-term hazard ratio θ^1=2.33\hat{\theta}_1 = 2.33 (nivolumab excess during priming) and long-term ratio θ^2=0.44\hat{\theta}_2 = 0.44 (durable nivolumab benefit). HCHG achieves p=0.001p = 0.001 and characterises the full crossing structure by flagging both the early divergence and late separation windows (Figure 1A,E).

Targeted therapy in prostate cancer: a transient early benefit

The COMET-1 trial [20] randomised 1028 patients with chemotherapy-pretreated mCRPC to cabozantinib (n=682n = 682) or prednisone (n=346n = 346) in a 2:1 ratio. Overall survival showed no significant log-rank difference (p=0.262p = 0.262). Cabozantinib, by inhibiting MET and VEGFR2 kinases, significantly improved bone scan response at week 12 (a pre-specified secondary endpoint), confirming genuine biological activity against bone-metastatic disease. This short-term activity did not, however, translate into a sustained overall survival (OS) benefit. The result is a temporally concentrated early OS advantage (months 3–7) that is subsequently lost (Figure 1B,F).

All four weighted alternatives are non-significant (p≥0.19p \ge0.19): the early-weighted Gehan-Wilcoxon (p=0.193p = 0.193) and Peto-Prentice (p=0.206p = 0.206) come closest but are diluted by the null period after the bone-response window. MaxCombo (p=0.338p = 0.338) and Yang–Prentice (p=0.262p = 0.262) likewise miss the signal: a transient few-month advantage is not a global early-versus-late hazard-ratio shape. HCHG (p=0.014p = 0.014) aggregates evidence from the specific early intervals where the transient effect is concentrated.

Adjuvant bisphosphonate therapy: a menopause-dependent effect

The AZURE trial [2, 3] randomised 3359 early-stage breast cancer patients to standard adjuvant therapy with (n=1681n = 1681) or without (n=1678n = 1678) zoledronic acid. Disease-free survival showed no significant log-rank difference (p=0.305p = 0.305) because the drug’s bone-microenvironment benefit depends on the low-oestrogen state of postmenopause, which was absent in the many premenopausal patients enrolled at baseline. As these patients progressively transitioned to postmenopause during the decade-long follow-up, the hazard difference accumulated in a specific mid-to-late window (months 20–60) rather than uniformly (Figure 1C,G).

All four weighted alternatives are non-significant (p≥0.28p \ge0.28): no single temporal weight captures a pattern distributed across this window while remaining unaffected by the null early period. MaxCombo (p=0.401p = 0.401) and Yang–Prentice (p=0.308p = 0.308) are similarly non-significant. HCHG (p=0.005p = 0.005) detects this scattered but collectively significant signal. The result is validated by published subgroup analyses showing significant disease-free survival (DFS) benefit in postmenopausal patients [2, 3], confirming that HCHG is detecting a genuine biological effect.

Corticosteroid therapy in liver cirrhosis: a time-varying effect

The CSL trial [16] randomised 446 patients with histologically verified liver cirrhosis to prednisone (n=226n = 226) or placebo (n=220n = 220) in Copenhagen (1962–69), with 270 deaths over follow-up of up to ∼13\sim13 years. Unlike the preceding case studies, the raw individual patient data are genuinely public—distributed in the CRAN timereg package (dataset csl) and the open SurvSet repository [7]—rather than reconstructed from a published Kaplan-Meier curve.

Corticosteroids exert a time-varying effect in cirrhosis: early harm through immunosuppression, infection, and fluid retention is followed by later anti-inflammatory benefit in actively inflamed subgroups. The survival curves cross more than once, with the treatment effect concentrated in a few non-contiguous windows (Figure 1D,H).

The log-rank test is non-significant (p=0.384p = 0.384), and all four weighted alternatives are as well (p≥0.13p \ge0.13): Gehan-Wilcoxon (p=0.51p = 0.51), Tarone-Ware (p=0.38p = 0.38), Peto-Prentice (p=0.45p = 0.45), and Fleming-Harrington (1,1) (p=0.14p = 0.14). MaxCombo (p=0.236p = 0.236) and Yang–Prentice (p=0.393p = 0.393) also fail: no single temporal weight or two-parameter short-term/long-term hazard ratio captures a multi-window, sign-changing departure. HCHG achieves p=0.002p = 0.002, demonstrating detection of sparse non-proportional-hazards departures on genuinely public raw data.

To summarise, across the four case studies, HCHG achieves p≤0.014p \le0.014 in every domain, while the log-rank test is non-significant throughout (p≥0.26p \ge0.26). MaxCombo and Yang–Prentice are significant only on CheckMate 057, the delayed-benefit crossing they were designed to detect; on COMET-1, AZURE, and CSL they return p≥0.24p \ge0.24. The two borderline significances for Gehan-Wilcoxon (p=0.041p = 0.041) and Peto-Prentice (p=0.049p = 0.049) in CheckMate 057 are the only other instances where any weighted alternative reaches p<0.05p < 0.05. HCHG is therefore complementary to MaxCombo and Yang–Prentice: it matches them on global early-versus-late non-proportionality and retains power for sparse or multi-window departures that a small Fleming–Harrington dictionary cannot represent.

Conclusion

lifelines-hc provides an accessible Python implementation of HCHG for two-sample right-censored survival data. HCHG is specifically designed for sparse hazard departures at unknown temporal locations: unlike weighted log-rank alternatives, MaxCombo, and the Yang–Prentice adaptive test, it requires no a priori specification of where the hazard difference will occur and retains power for any concentrated departure along the follow-up axis. The package integrates transparently with lifelines workflows and returns diagnostic interval-level information identifying which time windows drive the signal.

Conflict of Interest

None declared.

Funding

The work of Alon Kipnis was supported in part by the US-Israel Binational Science Foundation (BSF) grant 2022124.

Data availability

Individual patient data for CheckMate 057, COMET-1, and AZURE were reconstructed from published Kaplan-Meier curves using the algorithm of Guyot et al. [ [10] as implemented in the kmdata R package (https://github.com/raredd/kmdata). CSL liver-cirrhosis individual patient data are fully public via the CRAN timereg package (dataset csl) and the SurvSet repository [7] (https://github.com/ErikinBC/SurvSet). All analysis code is available at https://github.com/alonkipnis/lifelines-hc/tree/v0.1.2/AppNote.

Supplementary material

This appendix provides (i) the full analysis workflow and scripts used to reproduce the case studies, and (ii) complete per-method test statistics and pp-values for all four datasets analysed in the main text.

Analysis scripts and data

All scripts live in the AppNote/ directory of the lifelines-hc repository (https://github.com/alonkipnis/lifelines-hc/tree/v0.1.2/AppNote). They require Python ≥3.8\ge3.8, lifelines-hc, and lifelines ≥0.29\ge0.29. The MaxCombo and Yang–Prentice comparisons additionally require R with the CRAN packages nph [18] and YPmodel [22, 23].

Workflow

  1. Download trial IPD. 01_get_kmdata.py exports reconstructed individual patient data (IPD) from the kmdata R package [10] for CheckMate 057 [1], COMET-1 [20], and AZURE [2, 3]. CSL liver-cirrhosis IPD are downloaded directly from the CRAN timereg package and the SurvSet repository [16, 7] (see run_csl.py).

  1. Run per-dataset analyses. Each run_*.py script loads one dataset, calls run_all_tests() in utils.py, writes a results CSV to results/, and saves diagnostic figures to figs/. run_all_tests() also invokes competitors.R for MaxCombo and Yang–Prentice.

  1. Build the composite figure. make_figure.py assembles Figure 1 of the main text from the four domain scripts.

Script index

Reproduction commands

ScriptDatasetRole
01_get_kmdata.pyCheckMate 057, COMET-1, AZUREDownload IPD via kmdata (Guyot algorithm).
run_immuno_oncology.pyCheckMate 057 PFS (n=582n = 582)Nivolumab vs. docetaxel; crossing curves.
run_comet.pyCOMET-1 OS (n=1028n = 1028)Cabozantinib vs. prednisone; transient early benefit.
run_azure.pyAZURE DFS (n=3359n = 3359)Zoledronic acid vs. control; menopause-dependent effect.
run_csl.pyCSL OS (n=446n = 446)Prednisone vs. placebo; public raw IPD, multi-window effect.
utils.py—Shared run_all_tests(), plotting, and table utilities.
competitors.R—MaxCombo (nph::logrank.maxtest) and Yang–Prentice adaptive log-rank (YPmodel::YPmodel.adlgrk).
make_figure.pyAll fourComposite Figure 1 panels (A–H).

Table S1. Analysis scripts for the four case studies.

cd AppNote
python 01_get_kmdata.py --trials Checkmate057_1C COMET1_2A AZURE_2A
python run_immuno_oncology.py
python run_comet.py
python run_azure.py
python run_csl.py        # requires SurvSet or AppNote/data/CSL.csv
python make_figure.py
# MaxCombo / Yang–Prentice: requires R packages nph and YPmodel
#   install.packages(c("nph", "YPmodel"))
# invoked automatically from run_all_tests() via competitors.R

Each run_*.py script writes results/<domain>_test_results.csv containing one row per competing method (statistic and permutation- or asymptotic-based pp-value).

Data sources

Table S2 lists the original clinical studies, endpoints, and how each dataset was obtained. For CheckMate 057, COMET-1, and AZURE, only published Kaplan–Meier curves were available; IPD were reverse-engineered with the algorithm of Guyot et al. [ [10] and distributed in the kmdata package (https://github.com/raredd/kmdata). The CSL trial is the only case study with genuinely public raw IPD.

TrialEndpointnnSource and acquisition
CheckMate 057PFS582Borghaei et al. [ [1]; IPD reconstructed from published Kaplan–Meier curves via Guyot et al. [ [10] (kmdata).
COMET-1OS1028Smith et al. [ [20]; IPD reconstructed from published Kaplan–Meier curves via Guyot et al. [ [10] (kmdata).
AZUREDFS3359Coleman et al. [ [2, 3]; IPD reconstructed from published Kaplan–Meier curves via Guyot et al. [ [10] (kmdata).
CSLOS446Copenhagen liver-cirrhosis trial (1962–1969); raw IPD from the CRAN timereg package [16] and SurvSet [7].

Table S2. Original studies and data acquisition for the four case studies.

Reconstructed IPD files are written to AppNote/data/ as Checkmate057_1C.csv, COMET1_2A.csv, and AZURE_2A.csv by 01_get_kmdata.py. CSL data are written to AppNote/data/CSL.csv by run_csl.py.

Shared analysis settings

Unless noted otherwise, HCHG uses:

  • equal-width time pooling with n_intervals_to_pool as listed per dataset below;

  • two-sided interval hypergeometric pp-values (alternative=’both’);

  • HC fraction γ=0.2\gamma= 0.2;

  • label-permutation pp-values with the random seed fixed at 42.

The log-rank test and four weighted log-rank variants (Gehan-Wilcoxon, Tarone-Ware, Peto-Prentice, Fleming-Harrington with p=q=1p = q = 1) use the standard lifelines.statistics.logrank_test implementation with asymptotic pp-values.

MaxCombo is the two-sided maximum of the Fleming–Harrington weighted log-rank ZZ-statistics with (ρ,γ)∈{(0,0),(0,1),(1,0),(1,1)}(\rho, \gamma) \in\{(0, 0), (0, 1), (1, 0), (1, 1)\} — the four-weight immuno-oncology dictionary of Lin et al. [ [14] — with pp-value from the estimated multivariate normal joint distribution as implemented in nph::logrank.maxtest Ristl et al., [18] (alternative=’two.sided’, random seed 42). The reported statistic is zmax⁡=max⁡j∣Zj∣z_{\max} = \max_j |Z_j|. The Yang–Prentice adaptive weighted log-rank test of Yang and Prentice [ [23], based on the short-term/long-term hazard-ratio model of Yang and Prentice [ [22], is computed via YPmodel::YPmodel.adlgrk; the reported statistic is the maximum of the two adaptive ∣Z∣|Z| components used internally by that procedure.

Per-method results tables

Tables S3–S6 report the full comparison for each dataset. Asterisks mark p<0.05p < 0.05. Permutation-based pp-values for HCHG are discrete (multiples of 1/(nperms+1)1/(n_{\mathrm{perms}} + 1) with nperms=2000n_{\mathrm{perms}} = 2000) and are rounded to three decimals; “< 0.001” denotes the smallest attainable value, 1/2001.

CheckMate 057 — progression-free survival (n=582n = 582)

Original trial: Borghaei et al. [ [1]. IPD reconstructed from published Kaplan–Meier curves [10]. Control: docetaxel (n=290n = 290); treatment: nivolumab (n=292n = 292). HC settings: $K = 60 intervals, nperms=2000n_{\mathrm{perms}} = 2000.

MaxCombo is driven by the late-weighted FH(0, 1) member (Z=4.27Z = 4.27, p=2.0×10−5p = 2.0 \times10^{-5}); FH(0, 0), FH(1, 0), and FH(1, 1) have two-sided p=0.351p = 0.351, 0.058, and 0.256. The Yang–Prentice fit yields short-term hazard ratio θ^1=2.33\hat{\theta}_1 = 2.33 and long-term ratio θ^2=0.44\hat{\theta}_2 = 0.44.

COMET-1 — overall survival (n=1028n = 1028)

Original trial: Smith et al. [ [20]. IPD reconstructed from published Kaplan–Meier curves Guyot et al. [ [10]. Control: prednisone (n=346n = 346); treatment: cabozantinib (n=682n = 682). HC settings: K=80K = 80 intervals, nperms=2000n_{\mathrm{perms}} = 2000.

MethodStatisticpp-value
Log-rank1.2590.262
Gehan-Wilcoxon1.6930.193
Tarone-Ware1.5700.210
Peto-Prentice1.6020.206
Fleming-Harrington (1,1)0.6480.421
MaxCombo1.2580.338
Yang–Prentice1.1760.262
HCHG1.1790.014*

Table S4. COMET-1 OS: all competing methods.

AZURE — disease-free survival (n=3359n = 3359)

Original trial: Coleman et al. [ [2, 3]. IPD reconstructed from published Kaplan–Meier curves Guyot et al. [ [10]. Control: standard adjuvant therapy (n=1678n = 1678); treatment: zoledronic acid (n=1681n = 1681). HC settings: K=80K = 80 intervals, nperms=2000n_{\mathrm{perms}} = 2000.

CSL — overall survival (n=446n = 446)

Original trial: Copenhagen Study Group for Liver Diseases (1962–1969); public IPD distributed via Martinussen and Scheike [ [16] and Drysdale [ [7]. Control: placebo (n=220n = 220); treatment: prednisone (n=226n = 226). Follow-up times are in years. HC settings: K=50K = 50 intervals, nperms=2000n_{\mathrm{perms}} = 2000.

MethodStatisticpp-value
Log-rank1.0540.305
Gehan-Wilcoxon0.6520.419
Tarone-Ware0.6910.406
Peto-Prentice1.1450.284
Fleming-Harrington (1,1)0.2770.598
MaxCombo1.0720.401
Yang–Prentice1.0440.308
HCHG1.5130.005{sup}*

Table S5. AZURE DFS: all competing methods.

Cross-dataset summary

Table S7 condenses the log-rank, MaxCombo, Yang–Prentice, and HCHG pp-values reported in the main text. Full statistics for all eight methods appear in § 4.

DatasetEndpointnnLog-rankMaxComboYang–PrenticeHCHG
CheckMate 057PFS5820.3512.5×10−52.5 \times10^{-5}0.000550.001
COMET-1OS10280.2620.3380.2620.014
AZUREDFS33590.3050.4010.3080.005
CSLOS4460.3840.2360.3930.002

Table S7. Summary of log-rank, MaxCombo, Yang–Prentice, and HCHG pp-values across the four case studies (full tables in § 4).

Across all four datasets, HCHG achieves p≤0.014p \le0.014 while the log-rank test is non-significant throughout (p≥0.26p \ge0.26). MaxCombo and Yang–Prentice detect the delayed-benefit crossing on CheckMate 057 but are non-significant on COMET-1, AZURE, and CSL (p≥0.24p \ge0.24). Among the single weighted log-rank alternatives, only CheckMate 057 Gehan-Wilcoxon and Peto-Prentice reach p<0.05p < 0.05 (at 0.041 and 0.049 respectively).

Machine-readable results

The CSV files below contain the same values as Table S3–Table S6 (columns method, statistic, p_value):

MethodStatisticpp-value
Log-rank0.8680.351
Gehan-Wilcoxon4.1690.041*
Tarone-Ware0.8440.358
Peto-Prentice3.8690.049*
Fleming-Harrington (1,1)1.2920.256
MaxCombo4.2682.5×10−52.5 \times10^{-5}*
Yang–Prentice3.6260.00055*
HCHG1.6950.001*

Table S3. CheckMate 057 PFS: all competing methods.

MethodStatisticpp-value
Log-rank0.7570.384
Gehan-Wilcoxon0.4390.507
Tarone-Ware0.7740.379
Peto-Prentice0.5740.449
Fleming-Harrington (1,1)2.2340.135
MaxCombo1.4950.236
Yang–Prentice0.8720.393
HCHG1.2570.002{sup}*

Table S6. CSL liver-cirrhosis OS: all competing methods.

  • AppNote/results/immuno_test_results.csv

  • AppNote/results/comet_test_results.csv

  • AppNote/results/azure_test_results.csv

  • AppNote/results/csl_test_results.csv

  • AppNote/results/maxcombo_yp_details.json (MaxCombo component ZZ-statistics and Yang–Prentice θ^1\hat{\theta}_1, θ^2\hat{\theta}_2).

References

  1. [1]Hossein Borghaei, Luis Paz-Ares, Leora Horn, David R. Spigel, Martin Steins, Neal E. Ready, Laura Q. Chow, Everett E. Vokes, Enriqueta Felip, Esther Holgado, et al. Nivolumab versus docetaxel in advanced nonsquamous non–small-cell lung cancer. New England Journal of Medicine, 373(17):1627–1639, 2015. doi: 10.1056/NEJMoa1507643.DOI
  2. [2]Robert E. Coleman, Howard Marshall, David Cameron, David Dodwell, Robert Burkinshaw, Mary Keane, Michael Gil, Stephen J. Houston, Robert J. Grieve, Peter J. Barrett-Lee, et al. Breast-cancer adjuvant therapy with zoledronic acid. New England Journal of Medicine, 365(15):1396–1405, 2011. doi: 10.1056/NEJMoa1105195.DOI
  3. [3]Robert E. Coleman, Marie Collinson, Eleanor Banks, Graham Clack, Dorothy Ritchie, Victoria Liversedge, David Cameron, David Dodwell, Michael Jones, Peter Barrett-Lee, et al. Benefits and risks of adjuvant treatment with zoledronic acid in stage II/III breast cancer. 10 year follow-up of the AZURE randomized clinical trial. Journal of Bone Oncology, 3(2):23–30, 2014. doi: 10.1016/j.jbo.2013.12.001.
  4. [4]Cameron Davidson-Pilon. lifelines: survival analysis in Python. Journal of Open Source Software, 4 (40):1317, 2019. doi: 10.21105/joss.01317.
  5. [5]David Donoho and Jiashun Jin. Higher criticism for detecting sparse heterogeneous mixtures. The Annals of Statistics, 32(3):962–994, 2004. doi: 10.1214/009053604000000265.DOI
  6. [6]David L. Donoho and Jiashun Jin. Higher criticism for large-scale inference, especially for rare and weak effects. Statistical science, 30(1):1–25, 2015.DOI
  7. [7]Erik Drysdale. SurvSet: An open-source time-to-event dataset repository. arXiv preprint arXiv:2203.03094, 2022. doi: 10.48550/arXiv.2203.03094.DOI
  8. [8]Thomas R. Fleming and David P. Harrington. Counting Processes and Survival Analysis. Wiley, New York, 1991. ISBN 0-471-52218-X.
  9. [9]Edmund A. Gehan. A generalized Wilcoxon test for comparing arbitrarily singly-censored samples. Biometrika, 52(1–2):203–223, 1965. doi: 10.1093/biomet/52.1-2.203.DOI
  10. [10]Patricia Guyot, A. E. Ades, Mario J. N. M. Ouwens, and Nicky J. Welton. Enhanced secondary analysis of survival data: reconstructing the data from published Kaplan-Meier survival curves. BMC Medical Research Methodology, 12:9, 2012. doi: 10.1186/1471-2288-12-9.DOI
  11. [11]David P. Harrington and Thomas R. Fleming. A class of rank test procedures for censored survival data. Biometrika, 69(3):553–566, 1982. doi: 10.1093/biomet/69.3.553.DOI
  12. [12]Edward L. Kaplan and Paul Meier. Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53(282):457–481, 1958. doi: 10.1080/01621459.1958.10501452.DOI
  13. [13]A Kipnis, B Galili, and Z Yakhini. Higher criticism for rare and weak non-proportional hazard deviations in survival analysis. Biometrika, 113(1):asaf075, 02 2026. ISSN 1464-3510. doi: 10.1093/biomet/asaf075. URL https://doi.org/10.1093/biomet/asaf075. arXiv:2310.00554.
  14. [14]Ray S. Lin, Ji Lin, Satrajit Roychoudhury, Keaven M. Anderson, Tianle Hu, Bo Huang, Larry F. Leon, Jason J. Z. Liao, Rong Liu, Xiaodong Luo, Pralay Mukhopadhyay, Rui Qin, Kay Tatsuoka, Xuejing Wang, Yang Wang, Jian Zhu, Tai-Tsang Chen, Renee Iacona, and Cross-Pharma Non-proportional Hazards Working Group. Alternative analysis methods for time to event endpoints under nonproportional hazards: a comparative analysis. Statistics in Biopharmaceutical Research, 12(2):187–198, 2020. doi: 10.1080/19466315.2019.1697738.DOI
  15. [15]Nathan Mantel. Evaluation of survival data and two new rank order statistics arising in its consideration. Cancer Chemotherapy Reports, 50(3):163–170, 1966.pubmed.ncbi.nlm.nih.gov/5910392
  16. [16]Torben Martinussen and Thomas H. Scheike. Dynamic Regression Models for Survival Data. Springer, New York, 2006. doi: 10.1007/0-387-33960-4. CSL liver cirrhosis trial (prednisone vs placebo, Copenhagen Study group for Liver diseases, 1962–1969); dataset csl in the CRAN timereg package.DOI
  17. [17]Richard Peto and Julian Peto. Asymptotically efficient rank invariant test procedures. Journal of the Royal Statistical Society, Series A, 135(2):185–207, 1972. doi: 10.2307/2344317.DOI
  18. [18]Robin Ristl, Nicolas Ballarini, Heiko Götte, Armin Schüler, Martin Posch, and Franz König. Delayed treatment effects, treatment switching and heterogeneous patient populations: how to design and analyze RCTs in oncology. Pharmaceutical Statistics, 20(1):129–145, 2021. doi: 10.1002/pst.2062.DOI
  19. [19]David Schoenfeld. The asymptotic properties of nonparametric tests for comparing survival distributions. Biometrika, 68(1):316–319, 1981. doi: 10.1093/biomet/68.1.316.DOI
  20. [20]Matthew R. Smith, Christopher J. Sweeney, Paul G. Corn, Dana E. Rathkopf, David C. Smith, Maha Hussain, Daniel J. George, Celestia S. Higano, Andrea L. Harzstark, A. Oliver Sartor, et al. Cabozantinib in chemotherapy-pretreated metastatic castration-resistant prostate cancer: results of a phase III randomized controlled trial (COMET-1). Journal of Clinical Oncology, 34(25):3005–3013, 2016. doi: 10.1200/JCO.2015.65.5597.
  21. [21]Robert E. Tarone and James Ware. On distribution-free tests for equality of survival distributions. Biometrika, 64(1):156–160, 1977. doi: 10.1093/biomet/64.1.156.DOI
  22. [22]Song Yang and Ross Prentice. Semiparametric analysis of short-term and long-term hazard ratios with two-sample survival data. Biometrika, 92(1):1–17, 2005. doi: 10.1093/biomet/92.1.1.DOI
  23. [23]Song Yang and Ross Prentice. Improved logrank-type tests for survival data using adaptive weights. Biometrics, 66(1):30–38, 2010.DOI

Paper details

vlnc:W_2f93nmey
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents