A hazard ratio (HR) is a measure used in survival analysis to compare the risk of a specific event, such as death or recurrence, occurring at any given point in time between two groups. In the context of cancer, it often compares the efficacy of a new treatment against a standard treatment.