Definition of response, progression, and next treatment initiation coded as time-dependent covariates. Any time-dependent covariate is coded 0 until the occurrence of the event and 1 after, as shown in the figures. (A) Blue curves depict the evolution of SMIC in case of response (solid line) or in case of response followed by progression (solid line followed by dashed line). Time of onset of response, time of onset of failure (or progression), and time of next treatment initiation are available for computation as a time dependent covariate coded 0 or 1 as shown in the figure (respectively blue, green, and red lines). (B) Red curves depict the evolution of SMIC in a patient who failed to respond. In this case, the time of next treatment initiation for any criteria is similar to the time of progression (red and green lines). tdc, time-dependent covariate.