Tutorials › Causal Inference › Decomposing Direct and Spillover Contrasts

Interference and Spillover Effects · Tutorial 831 of 972

Decomposing Direct and Spillover Contrasts

Decompose a joint contrast along explicit exposure paths and quantify how interaction makes its direct and spillover components path-dependent.

Advanced 10 min read

What You'll Learn

  • Define joint, direct, and spillover contrasts using potential outcomes under interference.
  • Decompose a joint contrast by changing own treatment first or peer exposure first.
  • Derive the additive interaction that determines how the two decompositions differ.
  • Calculate path-specific components from hypothetical potential outcomes.
  • Distinguish path dependence in components from invariance of their sum.
  • Recognize why these decompositions alone do not identify effects from observed data.

Why Decompose a Joint Contrast?

When outcomes can depend on both a person's own treatment and other people's treatment, a comparison that changes both at once combines two kinds of change. One component changes the person's own treatment while holding peer exposure fixed; the other changes peer exposure while holding own treatment fixed. The numerical values assigned to these components can depend on which change is made first.

This tutorial gives an algebraic decomposition for a specified pair of own-treatment and peer-exposure conditions. It focuses on what the joint contrast means along each path and why the total is invariant even when its components are not. The decomposition is defined in terms of potential outcomes; by itself, it does not establish that those outcomes or contrasts can be identified from observed data.

Potential Outcomes and Contrasts

Suppose own treatment \(z\) and peer exposure \(g\) are each binary, with values 0 and 1. For unit \(i\), let \(Y_i(z,g)\) be the potential outcome under own-treatment level \(z\) and peer-exposure level \(g\). The peer exposure is the summary of others' treatment relevant under the chosen exposure mapping. The four potential outcomes describe the four combinations of these two conditions.

Assume that these potential outcomes are well-defined for the conditions being compared and use the same exposure mapping throughout. This is the setup needed to define the contrasts below. No assumption of additivity or absence of interaction is imposed.

Definition: For unit \(i\), the joint contrast from \((0,0)\) to \((1,1)\) is \(T_i=Y_i(1,1)-Y_i(0,0)\). The direct contrast at peer exposure \(g\) is \(D_i(g)=Y_i(1,g)-Y_i(0,g)\). The spillover contrast at own treatment \(z\) is \(S_i(z)=Y_i(z,1)-Y_i(z,0)\). Each contrast is measured in the units of the outcome.

The direct contrast compares own-treatment conditions while holding peer exposure fixed. The spillover contrast compares peer-exposure conditions while holding own treatment fixed. These are contrasts between potential outcomes, not necessarily estimates from observed data. When averaging over a population, the same definitions apply to mean potential outcomes or, equivalently, to the averages of the unit-level contrasts.

Two Paths Between the Same Conditions

There are two natural paths from \((0,0)\) to \((1,1)\). On the first path, change own treatment from 0 to 1 while peer exposure remains 0, then change peer exposure from 0 to 1 while own treatment is 1. On the second path, change peer exposure first, then own treatment while peer exposure is 1.

$$ \begin{aligned} T_i &= [Y_i(1,0)-Y_i(0,0)] + [Y_i(1,1)-Y_i(1,0)] \\ &= D_i(0)+S_i(1), \\[4pt] T_i &= [Y_i(0,1)-Y_i(0,0)] + [Y_i(1,1)-Y_i(0,1)] \\ &= S_i(0)+D_i(1). \end{aligned} $$

Each line is a telescoping sum: the intermediate potential outcome is added and subtracted, so it cancels. The first decomposition uses a direct contrast at peer exposure 0 and a spillover contrast at own treatment 1. The second uses a spillover contrast at own treatment 0 and a direct contrast at peer exposure 1. Both sum to the same joint contrast because both start at \(Y_i(0,0)\) and end at \(Y_i(1,1)\).

Worked Example: Decomposing One Unit's Joint Contrast

Suppose a hypothetical unit has an outcome measured in score points, with potential outcomes \(Y_i(0,0)=10\), \(Y_i(1,0)=14\), \(Y_i(0,1)=13\), and \(Y_i(1,1)=20\). Calculate the joint contrast and its decomposition along each path.

The joint contrast is \(T_i=20-10=10\) score points.

Own treatment first. The direct contrast at peer exposure 0 is \(D_i(0)=14-10=4\) points. The spillover contrast at own treatment 1 is \(S_i(1)=20-14=6\) points. Thus \(D_i(0)+S_i(1)=4+6=10\) points.

Peer exposure first. The spillover contrast at own treatment 0 is \(S_i(0)=13-10=3\) points. The direct contrast at peer exposure 1 is \(D_i(1)=20-13=7\) points. Thus \(S_i(0)+D_i(1)=3+7=10\) points.

The joint contrast is unchanged, but the component values depend on the path: the direct component is 4 rather than 7 points, and the spillover component is 6 rather than 3 points.

Why the Components Depend on the Path

The difference between the two direct contrasts is an additive interaction between own treatment and peer exposure. Define it for unit \(i\) as \(I_i=D_i(1)-D_i(0)\). Expanding the definition gives an equivalent expression in terms of spillover contrasts.

$$ \begin{aligned} I_i &= [Y_i(1,1)-Y_i(0,1)]-[Y_i(1,0)-Y_i(0,0)] \\ &= [Y_i(1,1)-Y_i(1,0)]-[Y_i(0,1)-Y_i(0,0)] \\ &= S_i(1)-S_i(0). \end{aligned} $$

Thus the interaction is both the change in the direct contrast when peer exposure moves from 0 to 1 and the change in the spillover contrast when own treatment moves from 0 to 1. This identity follows by rearranging the four potential outcomes; it does not require a statistical model.

Theorem: Let the own-treatment-first path have components \(D_i(0)\) and \(S_i(1)\), and the peer-exposure-first path have components \(S_i(0)\) and \(D_i(1)\). With \(I_i=D_i(1)-D_i(0)=S_i(1)-S_i(0)\), the signed comparisons are \(D_i(0)-D_i(1)=-I_i\) and \(S_i(1)-S_i(0)=I_i\). Therefore the path changes the direct and spillover components by equal amounts in opposite directions, leaving their sum unchanged.

The sign depends on the order in which paths are compared. In particular, direct(first path) minus direct(second path) is \(-I_i\), while spillover(first path) minus spillover(second path) is \(I_i\). Reversing the comparison reverses both signs. This explicit direction matters: saying only that the components differ by the interaction can conceal a sign error.

Worked Example: Checking the Interaction and Signed Differences

Use the hypothetical potential outcomes from the previous example. The direct contrasts are \(D_i(0)=4\) and \(D_i(1)=7\) points, so \(I_i=7-4=3\) points. The spillover contrasts are \(S_i(0)=3\) and \(S_i(1)=6\) points, and \(S_i(1)-S_i(0)=6-3=3\) points, confirming the identity.

The own-treatment-first path minus the peer-exposure-first path gives, for the direct components, \(D_i(0)-D_i(1)=4-7=-3=-I_i\) points. For the spillover components it gives \(S_i(1)-S_i(0)=6-3=3=I_i\) points. The direct component is lower by 3 points on the first path, while the spillover component is higher by 3 points. Their changes cancel in the sum.

Population-Average Decompositions

For a target population of \(N\) units, define the average potential outcome \(\bar{Y}(z,g)=N^{-1}\sum_{i=1}^{N}Y_i(z,g)\). Define the population joint contrast as \(\bar{T}=\bar{Y}(1,1)-\bar{Y}(0,0)\), with average direct and spillover contrasts defined in the same way. Because averaging is linear, the unit-level identities also hold for the population averages. The population interaction is \(\bar{I}=N^{-1}\sum_i I_i\).

$$ \bar{T}=\bar{D}(0)+\bar{S}(1)=\bar{S}(0)+\bar{D}(1), \qquad \bar{D}(1)-\bar{D}(0) = \bar{S}(1)-\bar{S}(0) = \bar{I}. $$

A zero average interaction makes the two average direct components equal and the two average spillover components equal. It does not imply that every unit has zero interaction: positive and negative unit-level interactions may cancel when averaged.

Worked Example: Opposing Unit-Level Interactions

Consider two hypothetical units with equally weighted outcomes, measured in points. Unit A has potential outcomes \(Y_A(0,0)=5\), \(Y_A(1,0)=7\), \(Y_A(0,1)=8\), and \(Y_A(1,1)=13\). Unit B has \(Y_B(0,0)=10\), \(Y_B(1,0)=14\), \(Y_B(0,1)=11\), and \(Y_B(1,1)=12\).

For A, \(D_A(0)=7-5=2\), \(D_A(1)=13-8=5\), \(S_A(0)=8-5=3\), and \(S_A(1)=13-7=6\). Therefore \(I_A=5-2=3\), also equal to \(6-3=3\).

For B, \(D_B(0)=14-10=4\), \(D_B(1)=12-11=1\), \(S_B(0)=11-10=1\), and \(S_B(1)=12-14=-2\). Therefore \(I_B=1-4=-3\), also equal to \(-2-1=-3\).

The average interaction is \(\bar{I}=(3+(-3))/2=0\) points. The average joint contrast is \(\bar{T}=((13-5)+(12-10))/2=(8+2)/2=5\) points. On the own-treatment-first path, \(\bar{D}(0)=(2+4)/2=3\) and \(\bar{S}(1)=(6+(-2))/2=2\), giving \(3+2=5\) points. On the peer-exposure-first path, \(\bar{S}(0)=(3+1)/2=2\) and \(\bar{D}(1)=(5+1)/2=3\), also giving \(2+3=5\) points.

Here the average decomposition is path-invariant because the two units' interactions cancel. Their individual decompositions remain path-dependent. A zero interaction in the aggregate should therefore not be mistaken for an absence of effect modification at the unit level.

Interpreting a Path-Specific Decomposition

A path-specific decomposition answers a conditional accounting question: how much of a specified joint contrast is assigned to each step along the chosen sequence? It does not establish that one sequence is uniquely correct. Choosing a path changes which fixed condition is used to define each component. If the interaction is nonzero, the two paths allocate the same joint contrast differently.

This distinction is important when communicating results. A direct contrast must state the peer-exposure level at which it is defined, and a spillover contrast must state the own-treatment level. Reporting a direct or spillover component without those conditions leaves its meaning incomplete. The additive interaction also depends on the outcome scale: the identities above concern differences on the stated outcome scale.

The algebra uses potential outcomes for all four conditions. Observed data generally reveal only the outcome under the condition a unit actually received. Consequently, the equalities prove how the defined potential-outcome contrasts decompose; they do not by themselves supply an estimator, an identification argument, or evidence that the required contrasts are empirically recoverable.

Common Mistake

A frequent error is to compare the path-specific direct components in the wrong signed direction. If \(I_i=D_i(1)-D_i(0)\), it is incorrect to say that direct(first path) minus direct(second path) equals \(I_i\). The first path's direct component is \(D_i(0)\), whereas the second path's is \(D_i(1)\); therefore the difference is \(D_i(0)-D_i(1)=-I_i\). By contrast, spillover(first path) minus spillover(second path) is \(S_i(1)-S_i(0)=I_i\). Keeping the path order explicit prevents the sign reversal and shows why the two component changes cancel.

Key takeaway: The joint contrast from \((0,0)\) to \((1,1)\) has two exact decompositions: \(D_i(0)+S_i(1)\) and \(S_i(0)+D_i(1)\). Their components agree across paths only when the additive interaction is zero; their sum is the same either way.

Check Your Understanding

Use potential-outcome contrasts and keep the path order explicit.

  1. Write the joint contrast from \((0,0)\) to \((1,1)\) as a sum for each of the two paths.
  2. If \(D_i(0)=2\) and \(D_i(1)=5\), what is \(I_i\), and what is direct(first path) minus direct(second path)?
  3. Suppose \(S_i(0)=1\) and \(S_i(1)=4\). What identity should hold between these spillover contrasts and the direct contrasts?
  4. Can the average interaction be zero if some units have nonzero interactions? Explain how.
  5. Why does an algebraic decomposition of potential-outcome contrasts not, by itself, identify them from observed data?
Clinical Biostats