Relative hazard function
g(h_T(t),h_C(t)) = HR(t)
Maps the hazards of an event in a treatment group and a comparator group at the same time t to their ratio. Under proportional hazards the ratio is constant over time, and it can then be applied to a baseline survival curve or a baseline transition probability to obtain absolute outcomes for the treatment group.
Hazard ratio from treatment and comparator hazards
HR = h_T / h_C
Hazard ratio from a Cox regression coefficient
HR = exp(beta)
Treatment survival from a baseline curve under proportional hazards
S_T = S_C^HR
Treatment-arm transition probability from a hazard ratio
p_T = 1 - (1 - p_C)^HR
Hazard ratio from event counts and person-time under constant hazards
HR = (d_T / PT_T) / (d_C / PT_C); SE_beta = sqrt(1 / d_T + 1 / d_C)
Approximate confidence interval for a hazard ratio from the log scale
HR_L = exp(beta - z * SE_beta); HR_U = exp(beta + z * SE_beta)
Standard error of a log hazard ratio recovered from a reported confidence interval
SE_beta = (log(HR_U) - log(HR_L)) / (2 * z)
