Tutorials › Pattern-Mixture and Selection Models › Risk Sets For Visit-Specific Dropout

Mechanisms and Ignorability in Longitudinal Studies · Tutorial 4 of 499

Risk Sets For Visit-Specific Dropout

Learn to define who is at risk before each visit and calculate dropout probabilities conditional on entering that visit and on the recorded history.

Intermediate 10 min read

What You'll Learn

  • Define a participant’s dropout time and the risk set immediately before each visit.
  • Distinguish participants who drop out at a visit from those with an observed outcome at that visit.
  • Calculate visit-specific dropout probabilities and cumulative dropout probabilities from risk-set counts.
  • Estimate conditional dropout probabilities within groups defined by recorded histories.
  • Check risk-set counts for inconsistencies and recognize when intermittent missingness or administrative censoring needs separate handling.

Why Visit-Specific Risk Sets Matter

A percentage of participants missing at a visit can describe how much follow-up has been lost, but it does not by itself answer a transition question: among participants still under follow-up immediately before this visit, what fraction drop out now? The denominator for that question is the risk set at the visit. Defining it correctly is essential because people who drop out at the current visit have no outcome recorded there, but they still belong in the denominator for the current-visit dropout probability.

This tutorial concerns scheduled visits and monotone dropout: once a participant drops out, their later outcomes are not observed. Temporary missed visits and other departures from monotone dropout require different accounting. The earlier material on monotone dropout versus intermittent missingness distinguishes these patterns.

Definition: Suppose there are \(K\) scheduled follow-up visits. For participant \(i\), define \(T_i\) as the first visit at which the outcome is not observed because the participant has dropped out. Set \(T_i=K+1\) if the participant remains under follow-up through all \(K\) visits. The risk set immediately before visit \(t\) is \(R_t=\{i:T_i\ge t\}\). A dropout event at visit \(t\) is \(T_i=t\). Under monotone dropout, an outcome is observed at visit \(t\) exactly when \(T_i>t\).

Thus the risk set at visit \(t\) contains two groups: participants observed at \(t\), and participants whose first unobserved visit is \(t\). The latter are the visit-\(t\) dropout events. In particular, the risk set is generally larger than the set with an observed outcome at that visit. If \(r_t\) is the number in the risk set and \(d_t\) is the number who drop out at that visit, then, when status is known for everyone in the risk set, the number with an observed outcome at \(t\) is \(r_t-d_t\).

Visit-Specific Probabilities and Their Relationship

The visit-specific dropout probability is conditional on having entered that visit’s risk set. For a cohort with complete follow-up-status information, it is estimated by the number of dropout events at the visit divided by the number at risk immediately before it.

$$ q_t=P(T_i=t\mid T_i\ge t), \qquad \hat q_t=\frac{d_t}{r_t}. $$

Here \(q_t\) is the population probability of dropping out at visit \(t\), conditional on still being under follow-up immediately before that visit. The estimate \(\hat q_t\) is a descriptive sample proportion; by itself, it does not explain why participants dropped out. Its interpretation depends on the visit definition and on classifying dropout events consistently.

The probability of remaining under follow-up through visit \(t\), in the same unconditional cohort, is built from the probabilities of surviving each visit’s dropout transition. This multiplication follows from the chain rule: to remain through \(t\), a participant must avoid dropout at visits 1 through \(t\), with each successive probability conditional on reaching that visit.

$$ P(T_i>t)=\prod_{j=1}^{t}\{1-P(T_i=j\mid T_i\ge j)\} =\prod_{j=1}^{t}(1-q_j). $$

The corresponding estimated cumulative dropout proportion by visit \(t\), when everyone begins follow-up and there is no separate censoring, is \(1-\prod_{j=1}^{t}(1-\hat q_j)\). It is not generally equal to \(\hat q_t\): the latter is conditional on entering visit \(t\), whereas the cumulative proportion uses the original cohort as its reference.

Worked Example: Building Risk Sets Across Three Visits

Consider a hypothetical cohort of 100 participants followed at three scheduled visits. Follow-up status is known for everyone, dropout is permanent, and no participant is administratively censored before the third visit. Suppose 10 participants first have an unobserved outcome at visit 1, 12 of those still under follow-up first have an unobserved outcome at visit 2, and 8 of those remaining first have an unobserved outcome at visit 3.

At visit 1, all 100 participants enter the risk set. Thus \(r_1=100\), \(d_1=10\), and 90 have an observed outcome at visit 1. The estimated visit-specific dropout probability is

$$ \hat q_1=\frac{10}{100}=0.10. $$

At visit 2, the 90 participants who did not drop out at visit 1 are at risk. Of these, 12 drop out at visit 2 and 78 have an observed outcome at visit 2. Therefore

$$ \hat q_2=\frac{12}{90}=0.1333. $$

At visit 3, 78 participants enter the risk set. Eight drop out at that visit, leaving 70 with an observed outcome there. The estimate is

$$ \hat q_3=\frac{8}{78}=0.1026. $$

The risk-set counts follow the recursion \(r_{t+1}=r_t-d_t\): \(100-10=90\), \(90-12=78\), and \(78-8=70\). The estimated cumulative dropout proportion by visit 3 is \(1-(0.90)(0.8667)(0.8974)\), which equals \(1-70/100=0.30\). Thus 30% of the original cohort dropped out by visit 3; this is different from the visit-3 conditional estimate of about 10.3%.

Conditioning on Recorded Observation Histories

Participants who enter a visit can have different recorded histories. A visit-specific probability can therefore be calculated within a history group. Let \(H_{i,t-1}\) denote participant \(i\)’s recorded outcome history through visit \(t-1\), for a participant who remains under follow-up to visit \(t\). For a specified history \(h\), the conditional probability and its sample estimate are

$$ q_t(h)=P(T_i=t\mid T_i\ge t,\ H_{i,t-1}=h), \qquad \hat q_t(h)=\frac{d_t(h)}{r_t(h)}. $$

The denominator \(r_t(h)\) counts participants with history \(h\) who enter the visit’s risk set. The numerator \(d_t(h)\) counts those among them who drop out at that visit. This is a way of describing dropout probabilities across recorded histories; it does not establish that the history caused dropout, nor does it show that the recorded history is sufficient to explain dropout.

Worked Example: Comparing Probabilities by the Previous Outcome

In a hypothetical study, 50 participants with observed outcomes at visit 1 enter the visit-2 risk set. For illustration, divide them by their visit-1 outcome into a lower-outcome group of 20 and a higher-outcome group of 30. Suppose 6 participants in the lower-outcome group and 3 in the higher-outcome group drop out at visit 2. Assume outcomes and dropout status are classified using the same visit rules in both groups.

For the lower-outcome group, \(r_2(h_{\mathrm{low}})=20\) and \(d_2(h_{\mathrm{low}})=6\), so

$$ \hat q_2(h_{\mathrm{low}})=\frac{6}{20}=0.30. $$

For the higher-outcome group, \(r_2(h_{\mathrm{high}})=30\) and \(d_2(h_{\mathrm{high}})=3\), giving

$$ \hat q_2(h_{\mathrm{high}})=\frac{3}{30}=0.10. $$

The pooled visit-2 estimate is \((6+3)/(20+30)=9/50=0.18\). The different group-specific estimates show that the observed visit-2 dropout proportions differ by recorded visit-1 outcome in this hypothetical sample. They do not, on their own, identify a mechanism or justify a causal interpretation.

Deriving the Risk-Set Calculation

The denominator in \(\hat q_t=d_t/r_t\) follows directly from the conditional probability being estimated. Within a risk set, every participant satisfies \(T_i\ge t\), so the event \(T_i=t\) is the visit-\(t\) dropout event among those who reached the visit. In a fully observed cohort, the number in that conditioning set is \(r_t\), and the number satisfying the event is \(d_t\). The sample conditional proportion is therefore \(d_t/r_t\).

The same counting gives the link to the number still under follow-up for the next visit. Participants in \(R_t\) either have \(T_i=t\), or have \(T_i>t\). These groups do not overlap and together make up \(R_t\). Consequently, \(r_t=d_t+r_{t+1}\) and \(\hat q_t=1-r_{t+1}/r_t\), provided follow-up status is complete and the next risk set contains precisely those who avoided dropout at visit \(t\).

This justification depends on the event definition. If an outcome is collected at visit \(t\) and the participant withdraws afterward, that participant has an observed outcome at \(t\); the withdrawal should not be counted as dropout before the visit-\(t\) outcome. The study’s visit and withdrawal records must support the chosen classification.

Worked Example: Correcting a Denominator Error

Suppose a hypothetical cohort begins with 80 participants. Eight drop out before their visit-1 outcome is observed, leaving 72 with observed visit-1 outcomes. At visit 2, 18 of those 72 drop out before the visit-2 outcome, while 54 have an observed visit-2 outcome. Assume there is no administrative censoring and all statuses are known.

The visit-2 risk set consists of all 72 participants who remained under follow-up after visit 1. Thus the correct estimate is

$$ \hat q_2=\frac{18}{72}=0.25. $$

The 54 participants with observed visit-2 outcomes are not the visit-2 denominator: they exclude the 18 dropout events being counted. Dividing by 54 would give \(18/54=0.3333\), which is not the conditional probability of dropout among participants at risk before visit 2. The cumulative dropout proportion by visit 2 is instead \((8+18)/80=0.325\). It also agrees with the risk-set product: \(1-(72/80)(54/72)=1-54/80=0.325\).

Checks, Comparisons, and Limitations

A risk-set calculation is useful only if the visit status and denominator correspond to the stated question. Check that the following conditions are reasonable before interpreting these estimates:

  • Monotone dropout is a suitable description. If a participant misses a visit but returns later, treating that absence as permanent dropout gives the wrong later risk sets.
  • Dropout is classified relative to the outcome at the visit. An outcome recorded before withdrawal is not a missing outcome at that visit.
  • Status is known for people in the risk set. If some are lost to administrative follow-up before the visit, they cannot simply be counted as known dropouts or known non-dropouts. The simple ratio needs adjustment or a more explicit account of censoring.
  • Counts reconcile. Under the stated complete-status setup, \(r_{t+1}=r_t-d_t\), and \(r_t-d_t\) should equal the number observed at visit \(t\). A failure points to inconsistent classification, incomplete records, or a process that is not monotone.
  • Group-specific denominators are adequate. Small risk sets can yield unstable proportions; a zero or near-zero denominator does not support a precise probability estimate.

The visit-specific probability answers a different question from the fraction missing at a visit using the original cohort as denominator. The original-cohort fraction is cumulative; the risk-set proportion is conditional on reaching that visit. Both can be informative, but they should not be interchanged. In particular, a declining risk set can make a later conditional proportion appear substantial even when the number of later events is modest.

The simple risk-set ratio also differs from an analysis that models dropout using several covariates, or an analysis that accounts explicitly for administrative censoring. Those approaches require additional assumptions and are not provided by the raw ratio. Risk-set probabilities describe observed transitions under the chosen classification; they do not establish why dropout occurred or recover outcomes that were not observed.

Common mistake: Using the number with an observed outcome at visit \(t\) as the denominator for dropout at \(t\). Under monotone dropout, that set excludes the participants who drop out at \(t\). The risk set immediately before visit \(t\) includes both those with an observed outcome there and those who drop out there, so the conditional estimate is \(d_t/r_t\).

Check Your Understanding

Use the visit-specific risk-set definition above. Solutions are included after the questions.

  1. At a visit, 64 participants are at risk and 8 drop out before their outcome is recorded. How many have an observed outcome at that visit, and what is the estimated visit-specific dropout probability?
  2. A cohort has \(\hat q_1=0.20\) and \(\hat q_2=0.25\). Under the complete monotone follow-up setup, what proportion is estimated to drop out by visit 2?
  3. At visit 3, a participant has an observed outcome and then withdraws. Is that participant a visit-3 dropout event under the definition used here? Explain.
  4. At visit 2, the risk set contains 40 participants with a particular recorded history, of whom 6 drop out. Calculate the history-specific estimate and state its denominator in words.

Solutions. (1) The number observed is \(64-8=56\). The risk set includes all 64 participants, so \(\hat q=8/64=0.125\), or 12.5%. (2) The estimated proportion remaining through visit 1 is \(1-0.20=0.80\), and through visit 2 conditional on reaching it is \(1-0.25=0.75\). The cumulative dropout proportion is \(1-(0.80)(0.75)=0.40\), or 40%. (3) No. The outcome was recorded at visit 3, so withdrawal afterward is not dropout before the visit-3 outcome under this definition. (4) The estimate is \(6/40=0.15\), or 15%. Its denominator is the 40 participants with that recorded history who were still under follow-up immediately before visit 2.

Clinical Biostats