Pearl 2014 - Threats vs Licenses and SCM Preliminaries

Summary

The paper argues that external-validity thinking has been dominated by threats (what could go wrong) rather than licensing assumptions (formal conditions under which transport is valid), and that causal diagrams plus the do-calculus finally let us state licenses precisely. This note covers the motivation (Sec. 1) and the review of structural equation models, interventions, identifiability, d-separation and the three rules of do-calculus (Sec. 2) that everything later builds on.

Overview

Sections 1 and 2 contain no new theorem. They fix the language: a structural equation model (SEM, here used for the nonparametric structural causal model), the operator, identifiability, d-separation and the three rules of do-calculus. Transportability will be defined by re-using exactly these objects, with one change of goal: instead of eliminating -operators from a query, we will separate them from the selection variables .

Main Content

Sec. 1: threats versus assumptions

The paper’s opening claim: “Science is about generalization.” If the target environment is arbitrary, nothing transfers; the fact that most studies are meant to be applied elsewhere means we usually deem the target “sufficiently similar”.

What the literature offers.

  • Statistical practice combines studies by meta-analysis (Glass; Hedges and Olkin; Owen) or hierarchical models (Gelman and Hill): inverse-variance reweighting, partial pooling, with no explicit distinction between experimental and observational regimes, and performance judged by simulation.
  • Theory falls under “external validity” (Campbell and Stanley 1963; Manski 2007), “heterogeneity”, “quasi-experiments” and consists mostly of threats: explanations of what may go wrong when differences are ignored.

Why threats dominate (the paper’s three reasons).

  1. Threats are safer to cite than assumptions. “He who cites threats appears prudent, cautious and thoughtful, whereas he who seeks licensing assumptions risks suspicions of attempting to endorse those assumptions.”
  2. Assumptions are self-destructive in their honesty: the more explicit, the more criticism, because explicitness triggers a richer space of alternatives in which the assumption fails. Researchers “declare threats in public and make assumptions in private”.
  3. Threats can be communicated in plain English; assumptions need a formal language in which “environment” or “population” is precisely characterized and differences can be encoded. Causal diagrams (Wright, Heise, Verma and Pearl, Spirtes-Glymour-Scheines, Pearl 1995), models of intervention (Haavelmo; Strotz and Wold) and counterfactuals (Neyman, Rubin, Robins, Balke and Pearl) now provide that.

Manski's external validity (footnote 1)

“An experiment is said to have external validity if the distribution of outcomes realized by a treatment group is the same as the distribution of outcome that would be realized in an actual program.” Campbell and Stanley take the broader view: to what populations, settings, treatment variables and measurement variables can this effect be generalized. The paper later shows Manski’s notion equals direct transportability (Definition 7).

Footnote 2: Hernan and VanderWeele (2011) studied licensing conditions for compound treatments (predicting the effect of one treatment version from experiments with another); their analysis is a special case of this theory (Petersen 2011). Robins, Orellana and Rotnitzky (2008) extrapolate a treatment strategy between two biologically similar populations under different observational regimes.

Sec. 2.1: causal models as inference engines

Causal modeling is viewed as an inference engine with three inputs and three outputs (Fig. 1).

ItemSymbolMeaning
Input I-1, qualitative causal assumptions the investigator will defend, and a model encoding them (in SEM, a diagram or a set of unspecified functions); e.g. exclusion restrictions, independence of error terms
Input I-2queries, e.g. : effect of on ; : is this employer discriminating? Each must be computable from any fully specified model compatible with
Input I-3experimental or non-experimental data from a joint distribution presumably consistent with
Output O-1logical implications of alone (e.g. is an instrument for )
Output O-2data-dependent claims about queries, contingent on ; an estimand or a determination that is not identifiable
Output O-3, testable statistical implications of (conditional independences, equality constraints) and the degree to which data agree with each

Transportability fits as follows: data come from two sources (experimental from the study, nonexperimental from the target), assumptions are encoded as selection diagrams, and the query is the target-population causal effect .

Sec. 2.2: structural equation models

Definition 1 (Structural equation model; Pearl 2000, p. 203)

An SEM consists of:

  1. a set of background (exogenous) variables, factors outside the model that affect relationships within it;
  2. a set of endogenous variables, assumed observable, each functionally dependent on some subset ;
  3. a set of functions with ;
  4. a joint probability distribution over .

Each function is a mechanism (assumed invariant unless intervened on). Absence of a variable from the arguments of encodes the assumption that nature ignores it. Example, Fig. 2(a):

with jointly independent but otherwise arbitrary. Dependence between exogenous variables is drawn as a bidirected arrow (footnote 4: absence of bidirected arrows implies marginal independences among the exogenous variables, i.e. the bidirected edges form an I-map of ). The absence of from says that varying leaves unchanged as long as and are held constant.

A fully specified model fixes and and entails exactly one . A partially specified model (usually only the diagram) entails the set of all distributions generated by some .

Sec. 2.3: interventions

The operator simulates a physical intervention by deleting the equation for and replacing it with the constant , leaving the rest of the model unchanged (Haavelmo; Strotz and Wold). For model (2.1) and :

shown as Fig. 2(b). The post-intervention distribution differs from the pre-intervention .

Footnote 5: equals the joint probability of under a randomized experiment with for all units. Footnote 6: in potential outcomes, ; counterfactuals are not needed in this paper.

Sec. 2.4: identification and d-separation

Definition 2 (Identifiability)

A causal query is identifiable, given assumptions , if for any two fully specified models satisfying ,

In words: assumptions in constrain the variability of unspecified functional details so that equality of observational distributions entails equality of the query.

Footnote 7: this is the usual parameter identification implication (uniqueness of given ), with the query seen as where .

Definition 3 (d-separation)

A set of nodes blocks a path if either (1) contains at least one arrow-emitting node in , or (2) contains at least one collision node outside with no descendant in . If blocks all paths from to , then d-separates and , written , and and are independent given in every distribution compatible with the diagram.

Worked check on Fig. 2(a): the path is blocked by and by (each emits an arrow along the path), so and hold for any parameterization. The path is blocked by the empty set (collider ) but not by because is a descendant of the collider; so holds marginally and may or may not (Berkson’s paradox; footnote 9 gives the two-coin example: observing that at least one coin is a tail makes the independent coins dependent).

Sec. 2.5: the rules of do-calculus

Notation: for disjoint node sets in a causal DAG : is with all arrows into deleted; is with all arrows out of deleted; deletes both kinds.

Do-calculus (Pearl 1995), valid for every interventional distribution compatible with

Rule 1 (insertion/deletion of observations):

Rule 2 (action/observation exchange):

Rule 3 (insertion/deletion of actions):

where is the set of -nodes that are not ancestors of any -node in .

Use. To establish identifiability of , apply the rules repeatedly until the expression has no -operator (footnote 10; worked examples in Pearl 2009b, p. 87). The do-calculus is complete for identification of effects of the form (Shpitser and Pearl 2006; Huang and Valtorta 2006): if cannot be reduced to observables by these rules, no expression exists without further assumptions (linearity, monotonicity, additivity, no interactions, …).

What changes for transportability. “Instead of eliminating do-operators from the query expression, we will need to separate them from a set of variables that represent disparities between populations.” (end of Sec. 2.5)

Python: d-separation check by moralization on the paper's Fig. 2(a)

A minimal d-separation test (ancestral moral graph method) used to verify the paper’s statements.

import itertools
def ancestors(parents, nodes):
    seen, stack = set(nodes), list(nodes)
    while stack:
        v = stack.pop()
        for p in parents.get(v, []):
            if p not in seen: seen.add(p); stack.append(p)
    return seen
def d_separated(parents, X, Y, Z):
    keep = ancestors(parents, set(X)|set(Y)|set(Z))
    und = {v:set() for v in keep}
    for v in keep:
        ps = [p for p in parents.get(v, []) if p in keep]
        for p in ps: und[v].add(p); und[p].add(v)
        for a,b in itertools.combinations(ps,2): und[a].add(b); und[b].add(a)   # marry parents
    # remove Z, test connectivity X -> Y
    stack, seen = [x for x in X if x not in Z], set()
    while stack:
        v = stack.pop()
        if v in seen: continue
        seen.add(v)
        if v in Y: return False
        stack += [n for n in und[v] if n not in Z]
    return True
g = {"Z":["UZ"], "X":["Z","UX"], "Y":["X","UY"]}      # Eq. 2.1 / Fig. 2(a)
print(d_separated(g, {"UZ"}, {"Y"}, {"Z"}))   # True: Z blocks UZ -> Z -> X -> Y
print(d_separated(g, {"UZ"}, {"UX"}, set()))  # True: collider X blocks
print(d_separated(g, {"UZ"}, {"UX"}, {"Y"}))  # False: Y descends from the collider X

Examples

A marketing reading of Eq. 2.1

Let = whether a market is a high-income DMA, = media spend level chosen by the planner (depends on ), = weekly sales. is the geo experiment that overrides the planner’s rule with randomly assigned spend. is the experimental response curve; is the observational association that mixes in the planner’s targeting. See Pearl 2014 - Marketing Application Transporting Geo and Lift Results.

Connections

See Also