Statistics Glossary → Cumulative hazard and log-minus-log plot
Cumulative hazard and log-minus-log plotconcept
In survival analysis, the function showing the risk of the event accumulated up to a given time, H(t) = -ln S(t); the log-minus-log plot draws ln(-ln S(t)) against ln t to check the proportional hazards assumption visually.
The hazard function is the rate at which someone who has not yet had the event experiences it at a given instant. The cumulative hazard is the sum of this rate over time and is linked to the survival function by H(t) = -ln S(t); it can be computed from the Kaplan-Meier curve or with the Nelson-Aalen estimator. The slope of the cumulative hazard curve shows the hazard during that period: a straight line indicates a constant hazard (the exponential distribution), and a curve that grows steeper indicates rising risk over time. It is not a probability and can exceed 1.
In the log-minus-log plot, curves of ln(-ln S(t)) for each group are drawn against ln t. If the proportional hazards assumption (the key assumption of the Cox model) holds, the groups' curves are roughly parallel, and the vertical distance between them is the log hazard ratio. Curves that cross, or that converge and diverge, suggest the assumption is violated. If the curves are also straight lines, the data are consistent with a Weibull distribution. The plot is noisy, especially in groups with few events and late in follow-up, so it should be backed up by tests based on Schoenfeld residuals.
An everyday example
The time to first breakdown is followed for two brands of washing machine. In the log-minus-log plot the two brands' curves run parallel throughout, with brand B's curve about 0.4 units above brand A's; this means B's risk of breakdown is about e^0.4 ≈ 1.5 times higher at every point in time. Had the curves crossed after the first year, a single hazard ratio would have been misleading.
In MerQur
In Kaplan-Meier Survival Analysis, the 'Plot type' option: Survival, Cumulative incidence, Cumulative hazard (-ln S), Log survival and Log-minus-log; the log-minus-log plot is for visually checking the proportional hazards assumption.
Analyses where this concept appears
Kaplan-Meier Survival Analysis
Related concepts
Kaplan-Meier estimator (survival curve)Proportional hazards assumption