A population was sub-typed into 4 groups and Kaplan-Meier curves were plotted. If there were only two survival curves then the hazard ratio would be the hazard of one group divided by the hazard of the other. How do we find the hazard ratio when there are more than two groups? Does it even make sense to do so?