Tutorials › Marginal Structural Models › Choosing the Time Scale for Survival MSMs

Fitting MSMs for Survival Outcomes · Tutorial 205 of 501

Choosing the Time Scale for Survival MSMs

Learn to select and align a survival-model time scale, construct its risk sets, and interpret the resulting regime-specific hazards without confusing follow-up, age, and calendar time.

Advanced 11 min read

What You'll Learn

  • Define survival time and survival risk sets on follow-up, attained-age, and calendar clocks.
  • Translate event times and risk intervals correctly when individuals have different time origins.
  • Interpret how the chosen clock changes the population represented by a risk set.
  • Recognize when delayed entry or differing calendar periods complicate a marginal hazard.
  • Diagnose time-scale errors and compare the clocks’ strengths and limitations.

Why the Clock Matters

A survival model needs a clock: the variable that indexes when risk is assessed. For a survival marginal structural model (MSM), the clock is not a cosmetic choice. It determines which people are compared in a risk set and what a hazard means. A hazard indexed by time since treatment assignment describes risk as follow-up proceeds; one indexed by attained age describes risk among people who have reached the same age; one indexed by calendar time describes risk during the same historical period.

These clocks can be translated for an individual, but they generally produce different risk sets across individuals. Consequently, simply changing the name of the model’s time variable does not preserve the model’s interpretation. The choice should follow the scientific question and the way follow-up begins.

Definition: Let \(g\) denote a treatment regime, and let \(T^g\) be the event time measured as elapsed time since a specified baseline under that regime. Define follow-up survival by \(S_g(t)=P(T^g>t)\). Let \(A_0\) and \(C_0\) be attained age and calendar time at baseline. The corresponding age and calendar event times are \(Q^g=A_0+T^g\) and \(R^g=C_0+T^g\). The strict inequality in \(P(T^g>t)\) means survival past \(t\), not survival through an event occurring exactly at \(t\).

A weighted survival MSM uses weights to address treatment assignment and, when appropriate, censoring under its stated identification assumptions. The time scale does not replace those assumptions. In particular, consistency, treatment exchangeability and positivity, and appropriate handling of censoring remain necessary for a causal regime interpretation. Weights also do not make different clock-specific risk sets identical.

How the Three Clocks Define Risk

For follow-up time \(t\), a participant enters at baseline, at \(t=0\), and contributes to the risk set at \(t\) if the participant is still event-free and uncensored just before \(t\). In continuous-time notation, this is represented by \(T_i\geq t\) and \(C_i\geq t\), where \(C_i\) is the censoring time. In discrete-time models, the corresponding risk set at the start of an interval contains participants who have not yet had the event or been censored by that interval’s start.

On the age clock, participant \(i\) enters at age \(A_{0i}\), not at a common age. At age \(a\), the person can contribute only if \(A_{0i}\leq a\), and must still be event-free and uncensored. On the calendar clock, entry occurs at calendar time \(C_{0i}\); a person cannot contribute to a calendar-time risk set before enrollment. Both clocks therefore involve delayed entry whenever baseline ages or enrollment dates differ.

Result: For a fixed baseline age \(A_0=a_0\), the age-clock and follow-up-clock survival probabilities are translations of one another: $$ P(Q^g>a\mid A_0=a_0)=P(T^g>a-a_0\mid A_0=a_0). $$ The same identity holds for calendar time: $$ P(R^g>c\mid C_0=c_0)=P(T^g>c-c_0\mid C_0=c_0). $$

Proof. Since \(Q^g=a_0+T^g\) when \(A_0=a_0\), the events \(Q^g>a\) and \(T^g>a-a_0\) are identical. Taking their conditional probabilities gives the first equality. Since \(R^g=c_0+T^g\) when \(C_0=c_0\), the events \(R^g>c\) and \(T^g>c-c_0\) are identical, giving the second equality. These are strict-survival identities, so they remain valid even when event times can have atoms. \(\square\)

The result is conditional on baseline age or enrollment time. It does not say that a marginal age-clock survival curve is the follow-up survival curve with its horizontal axis relabelled: people have different baseline ages, and the composition of the age risk set changes as people enter and experience events. The same qualification applies to calendar time.

Worked Risk-Set Comparisons

Worked Example: Follow-Up Time Versus Attained Age

Consider four participants, with time measured in years. Their baseline ages and event times are: A, age 58 and event at \(T=2.5\); B, age 60 and event at \(T=0.5\); C, age 62 and event at \(T=1.0\); and D, age 59 and event at \(T=1.5\). Assume no censoring. Give A, B, C, and D weights \(1,2,1,1\), respectively; C’s weight is irrelevant to age 60 because C has not yet entered that age risk set.

At follow-up time zero, all four participants are at risk. Their total weight is \(1+2+1+1=5\). In the follow-up interval \((0,1]\), B and C have events, so the weighted event total is \(2+1=3\). The interval event proportion in this toy risk set is \(3/5=0.6\).

Now consider the age interval \((60,61]\). A enters this interval at follow-up time \(2\), B at time \(0\), and D at time \(1\). Each is event-free when reaching age 60 and contributes weight \(1,2,1\), respectively. C’s baseline age is 62, so C does not belong to this risk set. A’s event occurs at age \(58+2.5=60.5\), B’s at age \(60+0.5=60.5\), and D’s at age \(59+1.5=60.5\). Thus all three have events in the age interval, and its weighted event proportion is \(4/4=1\).

The two proportions differ because the intervals describe different risk comparisons. The first concerns the first year after baseline; the second concerns ages 60 through 61 and combines different amounts of follow-up. These toy proportions are not causal estimates; they demonstrate how clock choice changes risk-set construction.

Worked Example: Calendar-Time Entry

Suppose participant E enrolls at calendar year \(2020.0\) and has an event at \(T=2.4\), so \(R=2022.4\). Participant F enrolls at \(2021.0\) and has an event at \(T=1.6\), so \(R=2022.6\). Participant G enrolls at \(2022.5\) and has no event before \(2023.0\).

At calendar time \(2022.0\), E and F have entered and remain event-free, so both are in the risk set. G has not enrolled and is not in it. During \((2022.0,2023.0)\), E and F have events at 2022.4 and 2022.6. G enters halfway through the interval; a continuous-time risk-set construction can include G only from 2022.5 onward. Treating G as at risk from 2022.0 would incorrectly add person-time before enrollment.

This clock makes period-specific changes visible: the risk interval refers to the same calendar period for everyone, rather than the same duration since baseline. It also requires accurate enrollment dates and a risk-set method that respects each participant’s entry time.

Worked Example: Translating a Survival Probability Without Changing Its Meaning

Suppose a regime-specific survival probability conditional on baseline age 58 is \(P(T^g>2\mid A_0=58)=0.90\). At attained age 60, the corresponding age-clock probability is $$ P(Q^g>60\mid A_0=58)=P(T^g>60-58\mid A_0=58)=0.90. $$

The translation is exact because age 60 is two years after baseline age 58. It uses the strict event \(Q^g>60\); if an event occurs exactly at age 60, that participant is not counted as surviving past age 60. For someone whose baseline age is 55, age 60 instead corresponds to five years of follow-up. Therefore this conditional translation does not justify assigning the age-60 survival probability of one baseline-age group to everyone.

Interpretation, Assumptions, and Diagnostics

With time since baseline, the hazard at \(t\) is the instantaneous event rate among those who have remained event-free through \(t\) years since baseline, under the regime represented by the MSM. This is often natural when baseline is treatment assignment or a well-defined eligibility event and the scientific question concerns risk after that point. It requires a meaningful and consistently defined baseline.

With attained age, the hazard at age \(a\) concerns people who have entered the study by age \(a\) and remain at risk at that age. This clock is useful when risk is strongly related to age and cohorts have different baseline ages. But it is not automatically a population hazard for everyone of age \(a\): the observed risk set may reflect who enrolled, and delayed-entry assumptions matter. If entry depends on unobserved future risk, the risk set can be selected.

With calendar time, the hazard at date \(c\) concerns participants observed and at risk during that period. It can be important when background risk, diagnosis, or care changes over calendar time. It is less directly a measure of risk after treatment initiation because participants at the same calendar date may have very different follow-up durations. A calendar-time comparison also does not by itself remove confounding by historical changes in who receives which treatment.

A useful derivation clarifies why the three hazards need not agree. Conditional on a fixed baseline age \(a_0\), the age clock is a shift \(a=a_0+t\). A time shift has derivative one, so an infinitesimal interval of age \(da\) corresponds to the same duration \(dt=da\). Thus, conditional on that baseline age and regime, the local hazard at age \(a\) corresponds to the follow-up hazard at \(t=a-a_0\), when those hazards are defined on the same conditional population. But across a cohort with varying \(A_0\), an age risk set pools people at different \(t=a-A_0\), and the survivors’ distribution of baseline ages can change with \(a\). The pooled marginal hazard therefore need not be a simple relabelling of the follow-up marginal hazard.

The choice also interacts with model specification. A baseline hazard indexed by one clock encodes a different pattern of risk from a baseline hazard indexed by another. Do not interpret a treatment-regime coefficient or a fitted curve without stating its clock and its risk set. In weighted analyses, inspect the number of participants and total weight at risk over the clock, entry and exit times, and the distribution of follow-up time or baseline age among those contributing. Warning signs include impossible contributions before enrollment, abrupt risk-set changes unexplained by events or censoring, sparse weighted support in some periods, and treatment groups represented by very different calendar eras.

The principal alternatives are complementary rather than universally ranked. Follow-up time directly answers post-baseline questions; attained age aligns risk by age; calendar time aligns risk by historical period. A single analysis may need to account for more than one source of time variation, but choosing a primary clock does not guarantee that other time-related variation is adequately modeled. The selected clock should be justified by the target interpretation, entry mechanism, and observed support, not by whichever fit is easiest to compute.

1
Name the event-time origin.
State whether time zero is baseline, birth or another age origin, or a calendar date.
2
Map each participant’s entry and event time.
For age or calendar clocks, translate using that participant’s baseline age or enrollment date.
3
Construct the risk set with entry respected.
Include a participant only after entry and while event-free and uncensored just before the time being assessed.
4
Interpret the resulting hazard.
Describe the population and clock represented by each risk set, and check that weighted support is adequate.

Common Mistakes and Limits

  • Using inclusive survival events by accident. If survival is defined as \(P(T>t)\), the event is strict. For translated clocks, use \(Q^g>a\) if and only if \(T^g>a-a_0\). Replacing both inequalities with inclusive ones can change probabilities when event times have atoms.
  • Putting everyone in an age or calendar risk set from its beginning. A person who has not yet reached the age or calendar date of entry cannot contribute before then. Respect delayed entry.
  • Assuming a translated individual clock implies equal marginal hazards. Individual times translate exactly, but pooled risk sets can contain different mixes of baseline ages, enrollment dates, and surviving participants.
  • Treating clock choice as confounding control. Choosing attained age or calendar time does not by itself establish exchangeability or remove treatment confounding; those are separate identification and analysis questions.

No clock is universally best. Even with correct time alignment, inference is limited by the study’s entry process, positivity, measurement of event and censoring times, and the adequacy of the weighted model. A well-chosen time scale clarifies the target hazard; it does not make that hazard causal without the assumptions supporting the MSM.

Check Your Understanding

Answer each question, then compare with the brief solutions.

  1. A participant is 57 at baseline. At what follow-up time does the participant reach age 60?
  2. Why can a participant enrolled in 2022 not contribute to a 2021 calendar-time risk set?
  3. State the strict-survival identity linking \(Q^g\) and \(T^g\) for a participant with baseline age \(a_0\).
  4. Give one reason that the marginal hazard indexed by attained age may differ from the follow-up hazard with its axis relabelled.
  5. Which clock is most directly aligned with a question about risk in a particular historical year, and what risk-set issue must be checked?

Solutions. (1) The participant reaches age 60 after \(60-57=3\) years of follow-up. (2) The participant has not entered the study by 2021, so including them would create person-time before enrollment. (3) \(P(Q^g>a\mid A_0=a_0)=P(T^g>a-a_0\mid A_0=a_0)\), since the strict events are identical. (4) At a given age, participants can have different baseline ages and follow-up durations; the risk-set composition can change with age. (5) Calendar time is most direct; check that participants enter only at enrollment and that their risk time is represented only while they are observed and event-free.

Clinical Biostats