CHAPTER 09 · TOPIC 02
Comparing Survival Curves
Compare overall survival between groups with the log-rank test and understand observed and expected events, variance, limitations, and Cox regression.
On this page
The log-rank test compares the overall survival experience of two or more groups. At each event time, it accumulates the difference between the observed and expected event counts under the null hypothesis.
Hypotheses#
Allocating Events under H₀#
Under H₀, the groups have the same event rate within each risk set. The combined event count dⱼ is therefore allocated in proportion to the number at risk in each group.
Hypergeometric Distribution and Variance#
The finite population correction (nⱼ−dⱼ)/(nⱼ−1) reflects that the total number of events dⱼ at the same time is fixed.
Accumulating across All Event Times#
Only event times contribute observed-minus-expected terms. A censoring-only time contributes no O−E term, but it still affects later calculations by removing the censored participant from subsequent risk sets.
Z, Chi-Square, and the p Value#
With two groups there is one independent comparison, so Z² is approximately χ² with 1 degree of freedom. A positive U_L indicates more observed events in group A than expected under H₀. Clinical magnitude should be described with time-specific survival estimates or a hazard ratio and confidence interval.
Continuity Correction#
Although the continuity correction is more conservative, modern survival-analysis software usually reports the uncorrected log-rank chi-square statistic. State which version was used and do not mix corrected and uncorrected results.
Interpretive Limitations#
- Participants are independent between groups, with consistent definitions of the time origin, event, and censoring
- Censoring is approximately noninformative
- The test assesses an overall difference between curves; it does not imply a difference at every time point
- Power is usually greatest when hazards are approximately proportional
- When curves cross, early and late differences may cancel
- The tail is unstable when few participants remain at risk