Logrank test for bivariate survival data