Functions to conduct four generalized logrank tests and a score test under a proportional hazards model