Tutorials › Marginal Structural Models › Outcome Measurement Under Unequal Observation

Target Trial Emulation · Tutorial 457 of 501

Outcome Measurement Under Unequal Observation

Learn to distinguish a treatment effect from a difference in how often or how accurately outcomes are observed.

Intermediate 12 min read

What You'll Learn

  • Define outcome ascertainment and distinguish the target outcome from whether it was recorded.
  • Explain how strategy-dependent visits and healthcare contact can bias observed outcome comparisons.
  • Derive an inverse-probability correction for outcomes observed under a conditional exchangeability assumption.
  • Calculate how unequal detection sensitivity changes recorded risks.
  • Diagnose positivity, measurement, and data-capture problems that weighting alone cannot resolve.

Why Unequal Observation Matters

An emulated trial can define the same follow-up window and outcome for every treatment strategy while still observing those outcomes differently. One strategy may involve frequent clinic visits and routine laboratory testing; another may involve less contact or more care outside the data system. A recorded difference in outcomes can then reflect a difference in health, a difference in observation, or both.

The issue is not merely missing values. An event may occur between visits and never be recorded, a test may be ordered more often for one group, or a diagnosis may be captured only when care occurs in a particular system. The outcome definition and ascertainment plan established in the earlier material on Outcome Definitions and Ascertainment must therefore be considered together: the target outcome is what the trial seeks to compare, while ascertainment describes how the data reveal it.

Definition: Let \(A\) denote an assigned treatment strategy, \(Y\) the target outcome by the end of the specified follow-up window, and \(R\) an indicator that the outcome is observed and usable in the analysis. Outcome ascertainment is the process by which the target outcome is detected, measured, and recorded. If \(R=1\), the recorded value is \(Y\) only when the measurement process correctly captures the defined outcome; when \(R=0\), the target value is unavailable in the analytic data.

For a binary endpoint, the strategy-specific target risk is \(P(Y^a=1)\), where \(Y^a\) is the outcome that would occur under strategy \(a\). This tutorial focuses on whether the data ascertain that outcome comparably across strategies. It does not redefine the endpoint or change the causal estimand.

How Observation Can Distort a Risk

First consider a simple setting in which \(Y\) is measured perfectly whenever \(R=1\), but some outcomes are unobserved. Within strategy \(a\), the observed-case risk is \(P(Y=1\mid A=a,R=1)\). This equals the target risk only under conditions that make observed participants representative with respect to \(Y\), possibly after conditioning on measured history.

Result: For binary \(Y\), if \(0<P(R=1\mid A=a)<1\), then \(P(Y=1\mid A=a,R=1)=P(Y=1\mid A=a)\) holds when \(Y\) and \(R\) are independent conditional on \(A=a\). Without that independence, the observed-case risk can differ from the strategy-specific risk.

A useful identity makes the source of distortion explicit. Write \(r_a=P(R=1\mid A=a)\), \(p_{1a}=P(Y=1\mid A=a,R=1)\), and \(p_{0a}=P(Y=1\mid A=a,R=0)\). By the law of total probability,

$$ P(Y=1\mid A=a)=r_a p_{1a}+(1-r_a)p_{0a}. $$

Thus, an observed-case comparison substitutes \(p_{1a}\) for a mixture of risks among observed and unobserved people. Equal observation rates across strategies do not guarantee unbiased comparison: the unobserved outcome risks may differ, and the observed people can be selected differently. Conversely, unequal observation rates need not bias estimates if observation is independent of outcome within strategy.

Worked Example: Different Visit Rates, Same Target Risk

Suppose each of two strategies has a true outcome risk of 0.20. In strategy 0, 80% have the endpoint measured, and in strategy 1, 40% do. Assume measurement is perfect and, within each strategy, outcome status is independent of whether measurement occurs. Find the expected observed-case risks.

For strategy 0, \(P(Y=1\mid A=0,R=1)=P(Y=1\mid A=0)=0.20\). For strategy 1, the same independence gives \(P(Y=1\mid A=1,R=1)=P(Y=1\mid A=1)=0.20\). The observed-case risk difference is \(0.20-0.20=0\), despite the different observation rates.

The equality here depends on outcome-independent observation within each strategy, not on the visit rates being equal. If people with symptoms are more likely to attend a visit, the observed-case risks can be inflated even when the target risks are equal.

Adjustment for Measured Predictors of Observation

Observation may be related to outcome through measured history. For example, symptoms recorded before the endpoint measurement may predict both a later visit and the endpoint. Let \(H\) denote the measured history available before the observation decision. A conditional observation assumption says that, within strategy and history, whether the outcome is observed carries no further information about its value.

Assumption (conditional exchangeability of observation): \(Y\) is independent of \(R\) conditional on \(A,H\). Also require observation positivity: \(P(R=1\mid A=a,H=h)>0\) for every history \(h\) with positive probability under strategy \(a\). The outcome must be measured correctly when observed, and the relevant histories and observation probabilities must be adequately captured or modeled.

Under these conditions, the full-data risk can be recovered by averaging observed conditional risks over the history distribution for the strategy. Equivalently, inverse-probability weighting gives observed people more weight when their history makes observation less likely. For a fixed strategy \(a\), let \(\pi_a(H)=P(R=1\mid A=a,H)\).

Result: Under conditional exchangeability, positivity, and correct measurement when observed,
$$ E[Y\mid A=a] = E\left[\frac{R Y}{\pi_a(H)}\middle| A=a\right]. $$

To prove the identity, condition on \(A=a,H\). Since \(\pi_a(H)\) is fixed given this history,

$$ E\left[\frac{RY}{\pi_a(H)}\middle|A=a,H\right] = \frac{E[RY\mid A=a,H]}{\pi_a(H)}. $$

Because \(R\) is binary and \(Y\) and \(R\) are conditionally independent given \(A,H\), \(E[RY\mid A=a,H]=E[R\mid A=a,H]E[Y\mid A=a,H]=\pi_a(H)E[Y\mid A=a,H]\). Positivity permits division by \(\pi_a(H)\), so the conditional expectation equals \(E[Y\mid A=a,H]\). Taking expectation over \(H\) conditional on \(A=a\) yields the stated identity. \(\square\)

In a sample, an unnormalized weighted estimate for strategy \(a\) is the average of \(R_iY_i/\hat\pi_a(H_i)\) among people following that strategy, with the denominator chosen to represent the corresponding strategy population. A normalized weighted mean divides the sum of weighted observed outcomes by the sum of weights among observed people. These are finite-sample estimators of the same target under the assumptions; the normalization does not make incorrect observation probabilities correct.

Worked Example: Correcting Outcome Observation by History

Within one strategy, suppose half the target population has high symptom burden and half has low symptom burden. The outcome risks are 0.40 and 0.10, respectively. Observation probabilities are 0.50 for high-burden and 1.00 for low-burden people. Assume outcomes are independent of observation conditional on symptom burden.

The target risk is \(0.5(0.40)+0.5(0.10)=0.25\). The observed population contains \(0.5(0.50)=0.25\) high-burden people and \(0.5(1.00)=0.50\) low-burden people, for total observed fraction 0.75. Its observed-case risk is \((0.25(0.40)+0.50(0.10))/0.75=(0.10+0.05)/0.75=0.20\).

Using inverse-observation weights, high-burden observed people receive weight \(1/0.50=2\), while low-burden observed people receive weight \(1/1=1\). The weighted risk is \((0.25(2)(0.40)+0.50(1)(0.10))/(0.25(2)+0.50(1))=(0.20+0.05)/1.00=0.25\). The weighting recovers the target risk because the history that predicts observation also suffices to make observation conditionally independent of outcome, and both history groups have a positive chance of observation.

Visit Schedules and Imperfect Detection

Some outcomes are not simply missing when no visit occurs. They may be missed or detected late. For example, an event defined by a laboratory threshold is detected only if a test is performed, while a diagnosis code may appear only after healthcare contact. In these cases, distinguish the target event from the recorded indicator. Let \(Y^\ast\) denote whether the data record the event. A model for \(R\), the chance of measurement, cannot by itself correct errors in \(Y^\ast\) when a measurement occurs.

Worked Example: Unequal Detection Sensitivity

Suppose the target event risks are 0.20 under strategy 0 and 0.15 under strategy 1. Specificity is perfect in both groups, but event detection sensitivity is 0.50 in strategy 0 and 0.90 in strategy 1. With no false positives, the recorded risk is sensitivity times true risk.

Strategy 0 has recorded risk \(0.50(0.20)=0.10\). Strategy 1 has recorded risk \(0.90(0.15)=0.135\). The recorded risk difference, strategy 1 minus strategy 0, is \(0.135-0.10=0.035\), suggesting 3.5 percentage points higher risk under strategy 1. The true risk difference is \(0.15-0.20=-0.05\), or 5 percentage points lower. Different detection sensitivity reverses the direction of the comparison.

The calculation assumes the stated sensitivities apply to all true events and specificity is exactly one. In real data these properties may depend on symptoms, setting, and time; they must be assessed rather than presumed.

A scheduled-visit outcome and a continuously recorded event can therefore require different ascertainment models. If the target is status at a fixed time, a test taken near that time may be needed. If the target is whether an event occurred at any point in a window, visit-only records can miss events between visits or locate onset imprecisely. Changing the endpoint to “event recorded at a visit” may make it observable, but it changes what is being estimated.

Diagnostics, Alternatives, and Limits

Compare observation processes across strategies before interpreting outcome contrasts. Useful checks include visit frequency and timing, proportion with an outcome measurement, type of contact (scheduled, symptom-driven, or external care), testing rates, and the availability of records across care settings. Examine these measures over follow-up and across measured histories related to both the outcome and observation. Large differences are warning signs, not proof of bias; similar rates do not prove comparable detection.

The main analytic alternatives answer different problems:

  • Observed-case analysis uses only recorded outcomes. It is simplest, but generally needs observation to be independent of outcome within each strategy, or conditional on variables properly handled in the analysis.
  • Standardization by measured history estimates the outcome risk within history strata and averages those risks over the target history distribution. It relies on the same key conditional exchangeability and positivity conditions as observation weighting.
  • Inverse-probability weighting for observation reweights observed outcomes by the inverse probability of being observed given strategy and history. It can be convenient when the observation model is credible, but extreme weights signal weak positivity and can make estimates unstable.
  • Validation or measurement-error approaches use additional information on missed events or test accuracy. These are needed when the recorded outcome is an imperfect measure, rather than merely unavailable for some participants.

A practical pitfall is to assume that equal follow-up duration means equal ascertainment. It does not: one strategy can generate more tests or more visits during the same window. Another is to weight by observation probability and conclude that all differential measurement has been corrected. The weighting identity requires outcome exchangeability conditional on measured history and correct measurement when observed; it does not repair unmeasured drivers of visits, false negatives, false positives, or an outcome definition that is only indirectly captured.

When observation probability is zero for a relevant history, no reweighting can recover its outcome risk from observed data alone. When probabilities are merely very small, estimated weights can be highly variable. Report the observation pattern, the conditioning variables, the weight distribution if weighting is used, and the limitations of the data capture system. This issue is distinct from the timing and causes of administrative end of follow-up or loss to follow-up, addressed separately.

Key takeaway: A strategy contrast is interpretable as a contrast in target outcomes only if outcome measurement is comparable or the observation and measurement processes are adequately addressed. Check who is observed, why, when, and how accurately before treating recorded outcomes as the outcomes of interest.

Check Your Understanding

Answer each question, then compare with the solutions.

  1. In one strategy, the outcome is observed for 90% of participants and in another for 60%. Does that difference alone prove that observed-case risks are biased?
  2. State the conditional exchangeability and positivity conditions used in the inverse-observation identity.
  3. In a strategy, two equally common history groups have outcome risks 0.30 and 0.10. Observation probabilities are 0.60 and 1.00, respectively. Under conditional exchangeability, calculate the target risk and the observed-case risk.
  4. Why can inverse-probability weighting fail to correct an outcome that is frequently missed even when a test is performed?
  5. Give two diagnostics that could reveal unequal outcome ascertainment in an emulated treatment comparison.

Solutions. (1) No. Unequal observation rates alone do not determine bias; if observation is independent of outcome within each strategy, each observed-case risk equals its target risk. (2) Require \(Y\) independent of \(R\) conditional on \(A,H\), and \(P(R=1\mid A=a,H=h)>0\) for each relevant history. Also require correct measurement when observed and adequate measurement of the relevant history. (3) The target risk is \(0.5(0.30)+0.5(0.10)=0.20\). The observed fraction is \(0.5(0.60)+0.5(1)=0.80\); the observed-case risk is \((0.5(0.60)(0.30)+0.5(1)(0.10))/0.80=(0.09+0.05)/0.80=0.175\). (4) Weighting adjusts the chance that an outcome is observed, not the chance that an observed test detects a true event. Imperfect sensitivity requires information or assumptions about measurement error. (5) Examples include comparing test or visit frequency by strategy and time, checking the proportion with recorded outcomes across history groups, and examining whether external care is captured comparably.

Clinical Biostats