32.17 The log-rank test across exposure groups
The log-rank test compares observed and expected events across groups at each event time and aggregates the difference. With k groups it uses k−1 degrees of freedom. It is an unadjusted global test and does not estimate a dose or exposure effect size.
Core concepts
- Its power is strongest for roughly proportional hazards.
- A significant global result does not identify which groups differ.
- Exposure groups are post-randomisation; the test does not remove confounding.
Keep five layers separate: the dose assignment, the individual exposure, the endpoint definition, the statistical estimand, and the clinical decision. A fitted curve connects exposure and endpoint within the analysed data; it does not automatically identify the effect of changing dose or exposure in another population.
Worked interpretation
Across placebo and three AUC tertiles, the executed log-rank χ² was 16.03 with 3 df, p=0.001.
What the global statistic tests
At each event time, the log-rank calculation allocates expected events to groups in proportion to their risk-set sizes, accumulates observed-minus-expected values, and combines them with their covariance. The null is equality of survival functions across all groups. With four groups, the global statistic has three degrees of freedom.
The test does not estimate an exposure slope, select a curve shape, or identify which pair differs. It weights event times approximately by risk-set size and is most efficient under proportional hazards; crossing or delayed effects can cancel. Pairwise follow-up tests require multiplicity control and should be motivated by the clinical question.
Because exposure bins are postrandomisation, even a small p-value is an association. Present the statistic with group definitions, events, KM curves, risk tables, and continuous adjusted Cox estimates. A nonsignificant result may reflect low events or lossy grouping rather than absence of a continuous trend.
For a novice, translate every coefficient back to the endpoint scale. Name the starting exposure, ending exposure, predicted outcome at both, contrast, interval, and observed support. For categorical or survival endpoints, also show absolute probabilities or survival estimates because odds and hazard ratios can be hard to interpret clinically.
Quality control and scientific review
Pair the test with KM curves, risk tables, group HRs, continuous Cox models, and multiplicity-aware comparisons.
Review sample size alone only after checking events, category cells, visit counts, placebo support, exposure overlap, exclusions, and missingness. A statistically precise curve can still be clinically irrelevant, confounded, extrapolated, or based on an endpoint definition that does not match the intended estimand.
Common mistakes
- Calling log-rank a trend test in continuous exposure
- Inferring causality from a significant global p-value
- Treating a significant exposure term as proof that the selected shape or causal story is correct
Evidence to retain
- exposure definition, window, units, derivation, estimation uncertainty, and distribution by arm;
- endpoint derivation, time origin/visit, analysis population, missing/censoring rules, and exclusions;
- candidate models, covariate rationale, contrasts, selection criterion, diagnostics, failed/unstable fits;
- effect estimates with intervals, observed range, sensitivity analyses, software version, settings, and checksums.
Navigation
See the previous page, next page, and model and estimand catalogue.