Comparison of methods for survival analysis of dependent data