Skip to content
Quantoros

What does a two-sample log-rank test compare when some observations are right-censored?

StatisticsLevel: IntermediateEmpirical distributions and survival

What does a two-sample log-rank test compare when some observations are right-censored?

Hints
  • Aggregate event contrasts over time.
  • Retain censoring information.

Answer

Survival distributions through observed versus expected events across risk sets. It is not a t-test of observed, censoring-truncated durations.

Source and licence: SciPy — empirical distributions and censored survival · BSD-3-Clause · answer: Quantoros editorial

Related questions