+ All Categories
Home > Education > Confounding and Directed Acyclic Graphs

Confounding and Directed Acyclic Graphs

Date post: 11-May-2015
Category:
Upload: ddahly
View: 732 times
Download: 1 times
Share this document with a friend
Description:
An introduction for masters students in public health
Popular Tags:
118
Confounding
Transcript
Page 1: Confounding and Directed Acyclic Graphs

Confounding

Page 2: Confounding and Directed Acyclic Graphs

LEARNING OBJECTIVESIntroduction

The student will be able to:

1. Define confounding.

2. Discuss the implications of confounding for

epidemiological research.

3. Describe the nature and uses of a directed acyclic

graph.

4. Create a directed acyclic graph based on a real

research question, and use it to identify potential

confounders.

5. Compare and contrast different methods to deal with

confounding.

Page 3: Confounding and Directed Acyclic Graphs

MOTIVATIONIntroduction

Confounding is the most important topic in epidemiology.

Page 4: Confounding and Directed Acyclic Graphs

Epidemiology is...

Page 5: Confounding and Directed Acyclic Graphs

X Y

Page 6: Confounding and Directed Acyclic Graphs

What do we mean when we say one thing causes

another?

Page 7: Confounding and Directed Acyclic Graphs

Why are causes so important in epidemiology?

Page 8: Confounding and Directed Acyclic Graphs
Page 9: Confounding and Directed Acyclic Graphs

What is the gold standard study design for testing

causal hypotheses?

Page 10: Confounding and Directed Acyclic Graphs

Why?

Page 11: Confounding and Directed Acyclic Graphs

When is it not possible to use a RCT?

Page 12: Confounding and Directed Acyclic Graphs
Page 13: Confounding and Directed Acyclic Graphs
Page 14: Confounding and Directed Acyclic Graphs
Page 15: Confounding and Directed Acyclic Graphs

X Y

Cause

Page 16: Confounding and Directed Acyclic Graphs

X Y

Statistical Association

Page 17: Confounding and Directed Acyclic Graphs

Statistical Association

When variables vary similarly.

Correlated; Covary; Dependent

Page 18: Confounding and Directed Acyclic Graphs

Draw Inferences

Statistical inferences

Causal inferences

Page 19: Confounding and Directed Acyclic Graphs

“Correlation does not imply

causation.”

Page 20: Confounding and Directed Acyclic Graphs
Page 21: Confounding and Directed Acyclic Graphs
Page 22: Confounding and Directed Acyclic Graphs

BREAK

Page 23: Confounding and Directed Acyclic Graphs

QUESTIONS?

Page 24: Confounding and Directed Acyclic Graphs

DEFINITIONSConfounding

Page 25: Confounding and Directed Acyclic Graphs
Page 26: Confounding and Directed Acyclic Graphs

Synonym:

Spurious association

Page 27: Confounding and Directed Acyclic Graphs

Confounding is...

“...the problem of confusing or mixing of exposure effects with other

"extraneous" effects...”

Greenland S, Robins JM. Identifiability, exchangeability, and epidemiological confounding revisited. Epidemiol Perspect Innov. 2009; 6: 4. doi:  10.1186/1742-5573-6-4

Page 28: Confounding and Directed Acyclic Graphs
Page 29: Confounding and Directed Acyclic Graphs
Page 30: Confounding and Directed Acyclic Graphs

Early definitions were based on notions of...

Comparability

or

Collapsibility

Page 31: Confounding and Directed Acyclic Graphs

Comparability

Inherent difference in risk between exposed and unexposed groups.

Greenland S, Robins JM. Identifiability, exchangeability, and epidemiological confounding. Int J Epidemiol. 1986;15:413–419. doi: 10.1093/ije/15.3.413.

Page 32: Confounding and Directed Acyclic Graphs

Collapsibility

Apparent differences between the crude estimate of a statistical association and

strata-specific estimates.

Greenland S, Robins JM. Identifiability, exchangeability, and epidemiological confounding. Int J Epidemiol. 1986;15:413–419. doi: 10.1093/ije/15.3.413.

Page 33: Confounding and Directed Acyclic Graphs
Page 34: Confounding and Directed Acyclic Graphs
Page 35: Confounding and Directed Acyclic Graphs
Page 36: Confounding and Directed Acyclic Graphs
Page 37: Confounding and Directed Acyclic Graphs

Problems with collapsibility:

1. Parameter estimates can change upon controlling for

mediators, by controlling for variables that introduce

new biases, or because of measurement error.

2. There are situations where controlling for a “true”

confounder leads to no change in the estimate.

Greenland S, Robins JM. Identifiability, exchangeability, and epidemiological confounding revisited. Epidemiol Perspect Innov. 2009; 6: 4. doi:  10.1186/1742-5573-6-4

Page 38: Confounding and Directed Acyclic Graphs

Comparability

Inherent difference in risk between exposed and unexposed groups.

Greenland S, Robins JM. Identifiability, exchangeability, and epidemiological confounding. Int J Epidemiol. 1986;15:413–419. doi: 10.1093/ije/15.3.413.

Page 39: Confounding and Directed Acyclic Graphs
Page 40: Confounding and Directed Acyclic Graphs

Imagine that individuals can be classified based on their inherent risk of the outcome, prior to any exposure.

These classifications incorporate the entirety of causal mechanisms operating, known or unknown.

Page 41: Confounding and Directed Acyclic Graphs

Rothman K. Causes. AJE. (1995) 141 (2):90-95.

Page 42: Confounding and Directed Acyclic Graphs
Page 43: Confounding and Directed Acyclic Graphs
Page 44: Confounding and Directed Acyclic Graphs
Page 45: Confounding and Directed Acyclic Graphs

Is exposure a cause of disease?

Page 46: Confounding and Directed Acyclic Graphs
Page 47: Confounding and Directed Acyclic Graphs
Page 48: Confounding and Directed Acyclic Graphs
Page 49: Confounding and Directed Acyclic Graphs
Page 50: Confounding and Directed Acyclic Graphs
Page 51: Confounding and Directed Acyclic Graphs
Page 52: Confounding and Directed Acyclic Graphs

Is there an assumption we can make that allows us to infer that

the exposure causes the disease?

Page 53: Confounding and Directed Acyclic Graphs
Page 54: Confounding and Directed Acyclic Graphs

Counterfactuals, or Potential Outcomes

Yix = 1 Yix = 0

Page 55: Confounding and Directed Acyclic Graphs

Exchangeability

The strong assumption that they are of the same type.

Page 56: Confounding and Directed Acyclic Graphs
Page 57: Confounding and Directed Acyclic Graphs
Page 58: Confounding and Directed Acyclic Graphs
Page 59: Confounding and Directed Acyclic Graphs
Page 60: Confounding and Directed Acyclic Graphs

Comparability assumption (or partial exchangeability):

The proportion who would fall ill in the absence of exposure is the same in both groups.

(p1 + p3) = (q1 +q3)

Alternately, the baseline risk (prior to any possibility of exposure) is the same in both groups.

Page 61: Confounding and Directed Acyclic Graphs

Thus an observed difference in risk between exposure and unexposed is due to the relative proportion of types 2 and 3 in the exposed.

Page 62: Confounding and Directed Acyclic Graphs

If IPD > 0 Then P2 >P3

If IPD < 0 Then P3 > P2

If IPD = o Then P3 = P2

Page 63: Confounding and Directed Acyclic Graphs

We can, if we wish, further assume that P3 (or P2) is equal to

zero.

For example, we might assume smoking is never good for anyone.

If P3 = 0 and IPD = 0 Then P2 = 0

Page 64: Confounding and Directed Acyclic Graphs
Page 65: Confounding and Directed Acyclic Graphs
Page 66: Confounding and Directed Acyclic Graphs
Page 67: Confounding and Directed Acyclic Graphs
Page 68: Confounding and Directed Acyclic Graphs

Causal inferences, which we must make, rely on a strong assumption – the comparability (or

exchangeability) of exposed and unexposed groups.

Comparability is synonymous with “no confounding”.

(p1 + p3) = (q1 + q3)

Greenland S, Robins JM. Identifiability, exchangeability, and epidemiological confounding. Int J Epidemiol. 1986;15:413–419. doi: 10.1093/ije/15.3.413.

Page 69: Confounding and Directed Acyclic Graphs

How seriously do “epidemiologists”

take this?

Page 70: Confounding and Directed Acyclic Graphs

“We adjusted for appropriate confounders.”

...

Page 71: Confounding and Directed Acyclic Graphs
Page 72: Confounding and Directed Acyclic Graphs

Corollary 4:

“The greater the flexibility in designs, definitions, outcomes, and analytical modes in a scientific

field, the less likely the research findings are to be true.”

Page 73: Confounding and Directed Acyclic Graphs

“Implicit in these pressures* is a growing

dissatisfaction outside the field of

epidemiology with epidemiologic

description and correlation...”

Galea S. An Argument for a Consequentialist Epidemiology. AJE. 2013; doi: 10.1093/aje/kwt172

Page 74: Confounding and Directed Acyclic Graphs
Page 75: Confounding and Directed Acyclic Graphs
Page 76: Confounding and Directed Acyclic Graphs
Page 77: Confounding and Directed Acyclic Graphs

Good for scienceVs

Good for a scientist

Page 78: Confounding and Directed Acyclic Graphs

BREAK

Page 79: Confounding and Directed Acyclic Graphs

QUESTIONS?

Page 80: Confounding and Directed Acyclic Graphs

OVERVIEWDirect Acyclic Graphs

1. DAGs are a tool.

2. They help clarify causal thinking.

3. They guide the modelling process by helping to identify

potential confounding.

4. They have been used to identify many of the problems

with earlier approaches to confounding.

5. They are a great compliment to comparability based

definitions of confounding.

Page 81: Confounding and Directed Acyclic Graphs

Traditional rules of thumb for identifying confounders:

1. It must be predictive of risk among the unexposed.

2. It must be associated with the exposure in the population

under study.

3. It must not fall on the causal path from exposure to outcome,

or be a consequence of the outcome.

Greenland S, Robins JM. Identifiability, exchangeability, and epidemiological confounding. Int J Epidemiol. 1986;15:413–419. doi: 10.1093/ije/15.3.413.

Page 82: Confounding and Directed Acyclic Graphs

These don’t always work. Is there something better?

Page 83: Confounding and Directed Acyclic Graphs

DirectedAcyclicGraphs

Page 84: Confounding and Directed Acyclic Graphs
Page 85: Confounding and Directed Acyclic Graphs
Page 86: Confounding and Directed Acyclic Graphs
Page 87: Confounding and Directed Acyclic Graphs

This is a graph.It is directed. It is acyclic.

Page 88: Confounding and Directed Acyclic Graphs

This is a graph.It is directed. It is acyclic.

Page 89: Confounding and Directed Acyclic Graphs
Page 90: Confounding and Directed Acyclic Graphs

In a DAG, any unblocked path between two nodes implies a

marginal (unadjusted) association.

Page 91: Confounding and Directed Acyclic Graphs
Page 92: Confounding and Directed Acyclic Graphs
Page 93: Confounding and Directed Acyclic Graphs
Page 94: Confounding and Directed Acyclic Graphs

Algorithm for identifying confounders.

1. Erase all directed edges emanating from the exposure.

2. Identify all unblocked, backdoor paths between the

exposure and outcome.

Page 95: Confounding and Directed Acyclic Graphs
Page 96: Confounding and Directed Acyclic Graphs

Each of these paths implies confounding.

Confounding is removed by controlling for a variable along that path.

Adjustment for one variable can address confounding due to multiple paths.

Page 97: Confounding and Directed Acyclic Graphs
Page 98: Confounding and Directed Acyclic Graphs

Erase all directed edges emanating

from

the exposure.

Page 99: Confounding and Directed Acyclic Graphs
Page 100: Confounding and Directed Acyclic Graphs

Identify unblocked, backdoor paths.

Page 101: Confounding and Directed Acyclic Graphs
Page 102: Confounding and Directed Acyclic Graphs
Page 103: Confounding and Directed Acyclic Graphs

This means we can identify an optimal* sufficient set for adjustment.

* The optimal sufficient set might be the smallest possible set, or the set that is easiest to collect, or the least expensive, etc.

Page 104: Confounding and Directed Acyclic Graphs

At what stage in the research process should we employ a DAG?

Page 105: Confounding and Directed Acyclic Graphs

But we aren’t done yet.

Page 106: Confounding and Directed Acyclic Graphs
Page 107: Confounding and Directed Acyclic Graphs

Controlling for a collider has the effect of inserting a new edge between its

parents.

Page 108: Confounding and Directed Acyclic Graphs

Fast and agile Tough and strong

Rugby Ability

Glymour M. USING CAUSAL DIAGRAMS TO UNDERSTAND COMMON PROBLEMS IN SOCIAL EPIDEMIOLOGY. Methods in Social Epidemiology

Page 109: Confounding and Directed Acyclic Graphs

Fast and agile Tough and strong

Rugby Ability

Page 110: Confounding and Directed Acyclic Graphs
Page 111: Confounding and Directed Acyclic Graphs
Page 112: Confounding and Directed Acyclic Graphs

Algorithm for identifying confounders.

1. Erase all directed edges emanating from the exposure.

2. Identify all unblocked, backdoor paths from between the

exposure and outcome.

3. Define S, your sufficient set of variables needed to adjust

for confounding.

4. Draw an edge to connect all pairs of variables with a child

in S, or a child with a descendent in S.

5. Identify any new unblocked, backdoor paths, and update S.

Page 113: Confounding and Directed Acyclic Graphs

MAKING A DAGDirect Acyclic Graphs

1. Identify an important health outcome, and a modifiable

exposure. Draw an arrow from the later to the former.

2. Think about what other variables might be related to

these. Brainstorm, use existing literature, etc.

3. Draw in any hypothesized causal paths.

4. Follow the steps previously outlined.

Page 114: Confounding and Directed Acyclic Graphs

MAKING A DAGDirect Acyclic Graphs

5. Explore choices, and consider how these affect your

optimal sufficient set for adjustment (S).

6. Draw your DAG so it flows in the same direction you

read (as best as possible).

7. Use colour, notes, etc.

8. There are programs available, but pencil and lots of

paper work best at first.

Page 115: Confounding and Directed Acyclic Graphs

Learning Task

• Based on the topic of your research thesis, create a DAG.

• It should include a preventable exposure, an important outcome, and at least 3 other potentially important covariates.

• Send me an image of your DAG before 17:00, next Wednesday ([email protected]).

Page 116: Confounding and Directed Acyclic Graphs

SUMMARYConfounders

1. Epidemiologists should be preoccupied with causes.

2. Confounding is the single greatest threat to our causal inferences –

which we must make, or risk irrelevance.

3. Definitions and rules of thumb based on collapsibility are not

sufficient to identify many commonly encountered confounders.

4. Comparability based definitions are better, but don’t lend themselves

to simple rules of thumb.

5. Epidemiologists do not consistently use the same level of rigour when

trying to address confounding.

6. As a field, this limits our ability to effect positive change.

Page 117: Confounding and Directed Acyclic Graphs

SUMMARYDirect Acyclic Graphs

1. DAGs are a useful tool.

2. They help clarify causal thinking.

3. They guide the modelling process by helping to identify

potential confounding.

Page 118: Confounding and Directed Acyclic Graphs

PREVIEWNext week

1. More DAG examples.

2. Critiques of DAGs, and my responses to these.

3. Methods for dealing with confounding, once you

suspect it.


Recommended