Definition

The log-rank test is a test to compare the survival functions of two samples. The test uses the sequence of Mantel-Haenszel statistics of the tables at each uncensored event time.

Examples

The Mantel-Haenszel statistic of the data is calculated as
and the p-value is