Cox partial likelihood Created 2026-09-24 Updated 2026-11-05
In a Cox proportional-hazards model, . At distinct event times , let identify the event subject and let be the risk set immediately before . With covariates evaluated just before the event, the untied Cox partial likelihood is
Each ratio is the conditional probability that the next single failure belongs to the observed subject, given its event time and current risk set. Substituting the hazards into this ratio cancels their common baseline hazard . With three subjects whose scalar covariates are , the probability that the third subject fails next is .
A risk set includes subjects who have entered observation and remain event-free and uncensored at that instant; delayed entry and time-dependent covariates must be represented accordingly. The usual inference requires appropriate independent censoring conditional on the modeled information. Tied recorded event times require a specified treatment, such as the Breslow approximation for tied event times, the Efron approximation for tied event times, or an exact tied-set conditional likelihood for its discrete-time model. These need not give the same objective as an arbitrarily ordered sequence of failures.[ref]
A baseline-group log-rank test is inappropriate. Receiving surgery is determined at month 3, so classifying patients by that future decision gives the surgery group guaranteed survival without treatment failure to the decision time, creating immortal time bias. Fitness also strongly confounds surgery and prognosis. One can perform a month-3 landmark analysis among patients still at risk, or model surgery as a time-dependent covariate, while adjusting for the clinical variables driving the decision.