Why Selective Loss Changes What We Observe
Suppose a cohort contains participants at both higher and lower risk of an adverse outcome. If higher-risk participants are less likely to remain under observation, the group still observed at a later visit is no longer composed in the same proportions as the original cohort. Even if the outcome within each risk group does not change, the overall observed mean or event rate can shift simply because the group mix changed. This is a basic calculation underlying selection bias among participants who remain under observation.
The calculation is deliberately simple: divide the cohort into two groups, specify each group’s outcome average and retention probability, and compare the original cohort value with the value among retained participants. It isolates the contribution of changing group composition. It does not, by itself, establish why participants dropped out or provide a complete analysis of longitudinal data.
For this calculation, assume that group membership and retention probabilities refer to the same cohort and target time. Also assume that within each group, retained participants have the group’s specified outcome mean: \(E(Y\mid G=H,R=1)=\mu_H\) and \(E(Y\mid G=L,R=1)=\mu_L\). In other words, retention may differ between the two groups, but this calculation does not include additional selection on outcome values within a group. These assumptions make the group-composition effect explicit; real settings can be more complicated.
Deriving the Retained-Sample Mean
Among the original cohort, the proportion both high risk and retained is \(p q_H\); the proportion both low risk and retained is \((1-p)q_L\). Thus the overall retention probability is \(P(R=1)=p q_H+(1-p)q_L\), and the proportion of retained participants who are high risk is
The remaining retained participants are low risk. Weighting the group means by their proportions among retained participants gives the observed mean:
Define the selection bias here as the retained-sample mean minus the original-cohort mean. Subtracting \(\mu=p\mu_H+(1-p)\mu_L\) and collecting terms gives a compact expression:
The signs matter. The formula predicts a downward shift only when the two contrasts have opposite signs. If the high-risk group has a lower value of \(Y\), selective loss of that group can instead raise the observed mean. The labels “high risk” and “low risk” alone do not tell us the direction of bias for every outcome; the meaning and scale of \(Y\) must also be specified.
Worked Calculations
Worked Example: A Lower Retained Mean Biomarker
Hypothetical data. At baseline, 30% of a cohort is in a higher-risk group. At the target visit, the mean biomarker value is 80 units in that group and 50 units in the lower-risk group. The retention probabilities are 0.60 and 0.90, respectively. Assume the biomarker outcome is defined for the target time in both groups and that retention does not further select on biomarker value within either group. Find the original-cohort mean, retained-sample mean, and bias.
The original-cohort mean is
The overall retention probability is \((0.30)(0.60)+(0.70)(0.90)=0.18+0.63=0.81\). Among retained participants, the high-risk proportion is \(0.18/0.81=0.2222\), and the low-risk proportion is \(0.63/0.81=0.7778\). Therefore,
The bias is \(56.67-59=-2.33\) units. Checking with the derived expression gives \((0.30)(0.70)(0.60-0.90)(80-50)/0.81=-2.33\) units. The retained-sample mean is lower because high-risk participants have both the higher biomarker mean and the lower retention probability.
Worked Example: A Lower Observed Event Rate
Hypothetical data. By a fixed follow-up horizon, the event risk is 40% in the higher-risk group and 8% in the lower-risk group. The higher-risk group makes up 25% of the baseline cohort. Event status is observed for 50% of the higher-risk group and 90% of the lower-risk group; assume that within each group, ascertainment among retained participants does not depend further on whether the event occurred. Calculate the cohort event risk and the rate observed among retained participants.
Write the binary event indicator as \(Y\), with \(Y=1\) for an event by the stated horizon. The original-cohort event risk is
Thus the cohort risk is 16%. The overall retention probability is \((0.25)(0.50)+(0.75)(0.90)=0.125+0.675=0.80\), and the high-risk fraction among retained participants is \(0.125/0.80=0.15625\). The event rate among retained participants is
The retained-sample rate is 13%, so its difference from the cohort risk is \(0.13-0.16=-0.03\), or 3 percentage points lower. The bias formula gives \((0.25)(0.75)(0.50-0.90)(0.40-0.08)/0.80=-0.030\), in agreement. This interpretation requires a clearly defined horizon and the stated assumption about event ascertainment; it is not a claim that the event risk itself changed because of dropout.
Worked Example: Quantifying a Smaller Composition Shift
Hypothetical data. A cohort is 40% higher risk. The group means of an outcome measured in points are 12 points for the higher-risk group and 4 points for the lower-risk group. Retention is 75% in the higher-risk group and 90% in the lower-risk group. Assume the within-group retained means equal the specified group means. Calculate the shift, and explain why a 16% overall dropout rate does not itself determine the size of the shift.
The cohort mean is \((0.40)(12)+(0.60)(4)=4.8+2.4=7.2\) points. Overall retention is \((0.40)(0.75)+(0.60)(0.90)=0.30+0.54=0.84\), so dropout is \(1-0.84=0.16\), or 16%. The high-risk share among retained participants is \(0.30/0.84=0.3571\). Therefore, the retained mean is
The retained mean is \(6.857-7.2=-0.343\) points below the cohort mean. The formula gives \((0.40)(0.60)(0.75-0.90)(12-4)/0.84=-0.343\) points. The overall dropout percentage describes how many participants were lost, not which group was disproportionately lost or how different the group means were. Both contrasts, along with the cohort composition, determine the shift.
Assumptions, Diagnostics, and Alternatives
The two-group formula is a decomposition, not a universal dropout correction. It is most useful when groups can be meaningfully defined before the target measurement, the original group proportions and retention rates can be described, and the outcome has a coherent meaning for the full cohort at the target time. For a fixed-horizon event rate, the event outcome must also be defined consistently, and the calculation needs an assumption about whether event status is observed for those who remain. If outcome values within a risk group also affect retention, the retained group mean may differ from the group mean used in the formula; the simple between-group expression then does not capture all selection.
Useful checks include comparing retention rates across baseline risk groups, comparing observed outcome summaries across those groups, and checking whether the retained group proportions differ from the original proportions. These checks can reveal the ingredients for a composition shift when the relevant groups and outcomes are observed. They cannot establish that unobserved outcomes among dropouts match outcomes among retained participants. A small difference in observed retention rates is not proof of no bias if group outcome contrasts are large, and similar group averages do not rule out selection within groups.
The independent-dropout benchmark provides a useful contrast: if \(q_H=q_L\), the group proportions are unchanged by retention, and the formula gives zero composition bias. This is a benchmark for the between-group mechanism, not a guarantee that every analysis is unbiased. Another possible comparison is to retain group-specific summaries rather than report only a pooled retained mean; that makes changes in group mix visible but does not recover unobserved outcomes. More elaborate models or adjustment strategies require additional assumptions and information; this two-group calculation alone does not select among them.
The key limitation is that the result depends on the chosen grouping. A broad “high-risk” category may conceal meaningful differences in risk or retention within that category. Also, the formula describes a difference in averages, not a causal effect of dropout, and it does not imply that individual outcomes changed. It quantifies how observed composition can move a pooled summary under stated assumptions.
Common Pitfall
A tempting but incorrect argument is: “Only 10% of participants dropped out, so the observed mean cannot be far from the cohort mean.” The amount of dropout alone does not determine the bias. If nearly all losses come from a small group whose outcome mean is very different, the retained mean can shift substantially. Conversely, even substantial dropout need not create this particular composition bias if retention is equal across groups or the group means are equal. The correction is to examine both contrasts—retention and outcome—and the group proportions, then use the formula rather than infer bias from the overall dropout percentage.
Check Your Understanding
Try each question, then check the solutions below it.
- A cohort is 20% high risk. Retention is 0.50 in the high-risk group and 0.80 in the low-risk group. What proportion of retained participants is high risk?
- If \(q_H=q_L\), what does the two-group formula imply about the retained-sample mean and cohort mean, under its assumptions?
- A high-risk group has mean outcome 10 and a low-risk group has mean 6. High-risk retention is lower than low-risk retention. What is the direction of the composition bias?
- For a binary outcome, the high-risk proportion is 0.40, the group event risks are 0.30 and 0.10, and retention probabilities are 0.60 and 0.90. Calculate the cohort risk and retained-sample risk.
Solutions. (1) The retained high-risk mass is \((0.20)(0.50)=0.10\); the retained low-risk mass is \((0.80)(0.80)=0.64\). The retained high-risk proportion is \(0.10/(0.10+0.64)=0.1351\), or 13.5%. (2) Equal retention makes \(q_H-q_L=0\), so the formula gives zero composition bias and the retained mean equals the cohort mean. (3) Here \(q_H-q_L<0\) and \(\mu_H-\mu_L=4>0\), so their product is negative. The retained-sample mean is below the cohort mean. (4) The cohort risk is \((0.40)(0.30)+(0.60)(0.10)=0.18\), or 18%. Overall retention is \((0.40)(0.60)+(0.60)(0.90)=0.78\). The retained risk is \(\{(0.40)(0.60)(0.30)+(0.60)(0.90)(0.10)\}/0.78=(0.072+0.054)/0.78=0.1615\), or 16.2%. Thus the retained-sample risk is about 1.85 percentage points below the cohort risk, subject to the stated two-group assumptions.