Tutorials › Causal Inference › Estimating Dynamic Regime Contrasts From Blips

Structural Nested Models and G-Estimation · Tutorial 764 of 972

Estimating Dynamic Regime Contrasts From Blips

Combine estimated treatment-time blips, averaged over the histories each regime would produce, to calculate and compare regime-specific mean outcomes.

Advanced 10 min read

What You'll Learn

  • Define a regime-specific mean outcome using an all-untreated reference
  • Combine additive blips across treatment times
  • Average effect-modified blips over the relevant covariate distribution
  • Evaluate dynamic regimes using their regime-specific history distributions
  • Identify why observed-history averages can misrepresent a regime contrast

From Treatment-Time Effects to Regime Means

A blip function describes the contribution of a treatment at a particular time to an outcome, relative to setting that treatment to zero while holding the relevant treatment history fixed. A policy or treatment regime, however, specifies actions across multiple times. To compare two such regimes, we need to combine their blips over time and average them over the histories that each regime would produce.

This tutorial focuses on the mean outcome under a specified regime and on contrasts between regime-specific means. The calculations use an additive structural nested mean model (SNMM): blips are on the mean-outcome scale, and contributions from the treatment times add. A regime contrast is therefore not generally just the sum of a few coefficients. The blips may depend on covariates or treatment history, and the histories on which they are evaluated can differ between regimes.

Definition: Let \(A_t\) be treatment at time \(t\), and let \(H_t\) denote the information available just before that treatment, including relevant covariates and past treatment history. A dynamic treatment regime \(d=(d_1,\ldots,d_K)\) specifies treatment at each time as a function of the available history: \(A_t=d_t(H_t)\). Write \(Y^d\) for the outcome that would be observed if the regime were followed, and define its mean as \(\mu(d)=E[Y^d]\). The all-untreated regime, denoted \(0\), sets treatment to zero at every time.

Write \(\gamma_t(h_t,a_t)\) for the additive blip at time \(t\): the mean-outcome contribution of setting treatment at that time to \(a_t\), rather than zero, for history \(h_t\), with later treatments set to zero in the nested comparison. In particular, \(\gamma_t(h_t,0)=0\). The exact covariates and treatment-history terms in a blip depend on the chosen SNMM. For an additive binary-treatment model, a common form is \(\gamma_t(h_t,a_t)=a_t\beta_t(h_t)\).

A blip is not automatically a population-average treatment effect. If the blip depends on \(H_t\), its value varies across histories. To obtain a regime mean, evaluate each blip at the history and action prescribed by the regime, then average over the history distribution that would arise under that regime.

The Additive Regime-Mean Identity

Under an additive SNMM, the mean under a regime can be expressed as an all-untreated reference mean plus the mean blip contribution at each time:

$$ \mu(d) = \mu(0) + \sum_{t=1}^{K} E\!\left[ \gamma_t\!\left(H_t^d,d_t(H_t^d)\right) \right], \qquad \mu(0)=E[Y^0]. $$

Here \(H_t^d\) is the history that would be present just before time \(t\) if regime \(d\) had been followed. The expectation for time \(t\) is thus taken under the history distribution induced by \(d\), not automatically under the observed distribution of \(H_t\). This distinction matters whenever a regime changes which histories arise.

For two regimes \(d\) and \(d^*\), the shared all-untreated reference term cancels:

$$ \mu(d)-\mu(d^*) = \sum_{t=1}^{K} E\!\left[ \gamma_t\!\left(H_t^d,d_t(H_t^d)\right) \right] - \sum_{t=1}^{K} E\!\left[ \gamma_t\!\left(H_t^{d^*},d_t^*(H_t^{d^*})\right) \right]. $$

These identities require an additive blip representation on the outcome-mean scale. For a causal interpretation from observed data, the usual identification conditions also matter: consistency (observed outcomes agree with the counterfactual outcomes for the treatment actually received), sequential exchangeability (at each time, treatment is conditionally independent of relevant future potential outcomes given the measured past), and positivity (the treatments required by the regimes have support within the relevant histories). The blip model and the procedure used to estimate or average its terms must also be appropriate for the target regime means. These conditions do not mean that a contrast is causal by algebra alone; they support interpreting the identified regime means causally.

Why the Identity Holds

The key idea is to move from the all-untreated treatment sequence to the regime one time at a time. At each time, the nested contrast between the regime’s action and zero is represented by that time’s blip. Adding the successive increments gives the total change from the all-untreated outcome to the regime outcome.

1
Start from the reference sequence.
Use the nested outcome under treatment set to zero at every time as the reference.
2
Replace one treatment at a time.
For each time \(t\), replace zero with the action prescribed by \(d_t\), evaluated at the history under the regime. The corresponding nested mean increment is \(\gamma_t(H_t^d,d_t(H_t^d))\).
3
Add and average the increments.
The successive increments sum to the regime’s change from the reference mean. Taking expectations gives the regime-mean identity.

In compact form, the telescoping argument is:

$$ E[Y^d]-E[Y^0] = \sum_{t=1}^{K} E\!\left[ \gamma_t\!\left(H_t^d,d_t(H_t^d)\right) \right]. $$

This argument uses the additive mean blips as the increments in the nested comparison. It does not assert that every individual’s outcome changes by the fitted conditional mean blip, nor that the blip values are constant across people. The expectations are what turn history-specific contributions into regime-specific mean outcomes.

Worked Example: Two Fixed Treatment Times

Suppose a hypothetical additive model has two treatment times, binary treatment, and constant blips of 2 outcome points at time 1 and 3 points at time 2 whenever treatment is given. The estimated all-untreated mean is 50 points. Compare the regime \(d=(1,1)\), which treats everyone at both times, with the all-untreated regime.

Because both blips are constant, averaging them over histories does not change their values. Under \(d\), the mean is:

$$ \widehat{\mu}(d) = 50 + 2(1) + 3(1) = 55 \text{ points}. $$

Under the all-untreated regime, both actions are zero, so both blips are zero and \(\widehat{\mu}(0)=50\) points. The estimated regime contrast is \(55-50=5\) points in favor of treating at both times on the outcome-mean scale. This calculation assumes the stated blips and reference mean apply to the target population and that the additive model is suitable there.

Effect Modification Changes the Average Blip

When a blip depends on a covariate, the regime’s mean contribution is an average of the blip over that covariate’s distribution. For a regime that treats everyone, an effect-modified blip need not equal the value for a typical person or the value at the covariate mean. It is the mean of the specified blip values in the target population.

Worked Example: Treating Everyone With an Effect Modifier

Consider a hypothetical one-time binary treatment and a binary baseline covariate \(X\). Suppose 40% of the target population has \(X=1\), 60% has \(X=0\), and the fitted blip is \(\gamma(X,A)=(2+4X)A\) points. Let the all-untreated mean be 40 points. Compare treating everyone with treating no one.

For the treat-all regime, the blip is 6 points when \(X=1\) and 2 points when \(X=0\). Its population average is:

$$ E[\gamma(X,1)] = 0.40(2+4\cdot1)+0.60(2+4\cdot0) = 0.40(6)+0.60(2) = 3.6 \text{ points}. $$

Thus the estimated mean under treat-all is \(40+3.6=43.6\) points. Under treat-none, \(A=0\) for everyone, so the blip is zero and the estimated mean is 40 points. The treat-all versus treat-none contrast is 3.6 points. It would be incorrect to report 6 points as the population contrast: that is the blip only for people with \(X=1\).

Dynamic Regimes Require Regime-Specific Histories

A dynamic regime chooses treatment in response to information available at each time. Its blip contribution depends both on the action it prescribes and on the histories arising under that policy. If a covariate distribution at a later time differs across regimes, a history-dependent blip must be averaged separately for each regime. Simply plugging actions into a blip formula while using one common, observed-history distribution can give the wrong regime contrast.

Worked Example: A Rule Based on a Later Covariate

Suppose there are two treatment times and a binary covariate \(L_2\) measured before the second treatment. In a hypothetical target population, the estimated blips are \(\gamma_1(H_1,A_1)=A_1\) point and \(\gamma_2(H_2,A_2)=(2+3L_2)A_2\) points. The all-untreated mean is 100 points.

Compare regime \(d\), which sets \(A_1=0\) and treats at time 2 only when \(L_2=1\), with regime \(d^*\), which treats at time 1 and sets \(A_2=0\). Suppose the probability of \(L_2=1\) under regime \(d\) is 0.25. Under regime \(d\), the time-1 blip is zero. At time 2, the action equals \(L_2\), so the blip is 5 points when \(L_2=1\) and zero otherwise:

$$ E_d[\gamma_2(H_2,A_2)] = 0.25(2+3\cdot1)(1)+0.75(2+3\cdot0)(0) = 0.25(5)+0 = 1.25 \text{ points}. $$

Therefore \(\widehat{\mu}(d)=100+1.25=101.25\) points. Under \(d^*\), the time-1 contribution is 1 point and the time-2 contribution is zero, giving \(\widehat{\mu}(d^*)=100+1=101\) points. The estimated contrast is \(101.25-101=0.25\) points in favor of \(d\). This comparison uses the stated probability of \(L_2=1\) under \(d\); it does not assume that this probability is the same under another regime.

Turning Estimated Blips Into a Contrast

In an analysis, blip functions and the reference mean are estimated rather than known. To obtain a point estimate of a regime contrast, the calculation follows the same structure: evaluate each estimated blip under the actions and histories specified by each regime, average those contributions in the appropriate target population, sum across times, and subtract the two regime totals. The averaging step may require estimates of the regime-specific history distributions; it is not supplied by the blip coefficients alone.

When an estimated blip is linear in treatment but varies with history, the action under a regime determines whether the contribution is zero, while the history determines its size. For example, with \(\widehat{\gamma}_t(h_t,a_t)=a_t\widehat{\beta}_t(h_t)\), the time-\(t\) term is the average of \(d_t(H_t^d)\widehat{\beta}_t(H_t^d)\) under regime \(d\). A regime that treats only selected histories may have a smaller average contribution than treat-all, even when its blip is large among those selected.

The all-untreated mean is useful as a shared reference, but it is not necessary to interpret a contrast once the same reference population and model are used for both regimes: it cancels. By contrast, the regime-specific averages of blips generally do not cancel. Their differences are the quantities that distinguish the policies.

Common Mistake: Averaging Over the Wrong Histories

A tempting but often incorrect calculation is to average a time-varying blip over the observed histories, then use that same average for every regime. This silently assumes the distribution of those histories is the same under every regime. In a dynamic setting, the actions prescribed earlier can change which later histories occur, so that assumption need not hold.

The correction is to identify the distribution relevant to each term: for the mean under \(d\), evaluate the blip using \(H_t^d\); for the mean under \(d^*\), use \(H_t^{d^*}\). When a blip is constant or the relevant history distribution is genuinely common, the averages may coincide. Otherwise, regime-specific averaging is part of the estimand, not an optional refinement.

Key takeaway: A regime mean is the all-untreated reference mean plus the expected blip contributions at every treatment time, evaluated under the histories that the regime would generate. A regime contrast is the difference between these regime-specific sums.

Check Your Understanding

For each question, distinguish the blip value from its regime-specific average contribution.

  1. In an additive two-time model, the blips under a fixed regime are 1.5 and 2.0 outcome units on average. The all-untreated mean is 30 units. What is the regime mean?
  2. A one-time blip is \((1+2X)A\), where \(X\) is binary and 25% of the target population has \(X=1\). What is the average blip for the treat-all regime?
  3. Why can’t a history-dependent blip necessarily be averaged over the observed history distribution when calculating a dynamic regime mean?
  4. Two regime means are calculated using the same all-untreated reference mean. Which part of the regime-mean identity cancels when forming their contrast?
  5. A regime sets treatment to zero at every time. What are its treatment-time blip contributions in an additive model with \(\gamma_t(h_t,0)=0\)?
Clinical Biostats