Confounding
4/5/2011
Confounding
1
Principles of Epidemiology for Public Health (EPID600)
Victor J. Schoenbach, PhD�www.unc.edu/~vschoenb/
Department of Epidemiology�Gillings School of Global Public Health�University of North Carolina at Chapel Hill
www.unc.edu/epid600/
“Brain Cramps” "interesting" comments by well-known people
(Received from Natasha Jamison, �EPID160 graduate)
That’s what can be further from �the truth!
“I was provided with additional input that was radically different from the truth. I assisted in furthering that version.”
– Colonel Oliver North, from his �Iran-Contra testimony.
Equal opportunity employer
“We don't necessarily discriminate. We simply exclude certain types of people.”
– Colonel Gerald Wellman, ROTC Instructor.
Quite a high risk, I’d say
“If we don't succeed, we run the risk of failure.”
– President Bill Clinton
Why I’m glad no one is taping me
“We are ready for an unforeseen event that may or may not occur.”
– Vice President Al Gore
We are here
Confounding
Causal inference
Confounding
7
Setting the scene
“The data speak for themselves.”
versus
“Our data say nothing at all.”
(Epidemiology guru Sander Greenland, Congress of Epidemiology 2001, Toronto)
Confounding
8
Setting the scene
Sander Greenland, Congress of Epidemiology 2001, Toronto
Confounding
9
Causal inference in everyday living
Does exercise make me feel better?
Confounding
10
Causal inference in everyday living
Does getting too little sleep make me irritable?
Confounding
11
Desirable attributes of crossover experiments
Confounding
12
Constraints on cross-over experiments
Confounding
13
Key attribute of crossover experiments
Can compare what happens to people who are exposed to what happens to the same people when they are not exposed – almost at the same time
Confounding
14
People
Confounding
15
People with an exposure
Confounding
16
Same people without the exposure
Confounding
17
With the exposure
Confounding
18
O
O
O
O
Without the exposure
Confounding
19
O
O
Modern formulation of causal inference
This comparison provides the best evidence that the exposure causes the outcome.
The modern formulation of causal inference and confounding is based on this “counterfactual model”.
Confounding
20
Problem of causal inference
Problem: cannot observe both conditions
Solution: observe a “substitute population”, a population whose experience will represent that of the exposed population without the exposure
Confounding
21
“Counterfactual” model
Conceptual model for causal inference:
Confounding
22
Confounding
The substitute population is not equivalent to the counterfactual condition.
I.e., the substitute population does not show the “outcome in the exposed population without the exposure”.
Confounding
23
Problem of comparison
Confounding is a problem of comparison – we compare the exposed population to a substitute population, but the substitute population does not show the “outcome in the exposed population without the exposure”
Confounding
24
Why worry about confounding?
Confounding
25
Why worry about confounding?
Confounding
26
Breathe polluted air
Develop bronchitis
Have choices and power
?
Why worry about confounding?
Confounding
27
?
Wear seatbelts
Risk averse
↓Injured in a crash
Why worry about confounding?
Confounding
28
STD
Risky sex
HIV
?
Why worry about confounding?
Confounding
29
Three questions
Confounding
30
F
Learning objectives
Confounding
31
Learning objectives - 2
– confounding
– potential confounder
– actual confounder
– control of confounding
Confounding
32
Conventional perspective
Confounding: “mixing of effects”
> Some other risk factor may be responsible for at least some of the association under investigation.
Confounding
33
Common confounders
Confounding
34
Example of confounding in a cohort
Confounding
35
Baseline
_____________________
Diseased
Not diseased
follow-up
Cohort study – known risk factor
Confounding
36
Risk factor
absent
_____________________
Risk factor present
Cohort study – known risk factor
Confounding
37
Risk factor
absent
_____________________
Risk factor present
Diseased
Not diseased
- - - - - - - - - - - - follow-up - - - - - - - - - - - -
Cohort study for a new exposure
follow-up
Exposed
follow-up
Confounding
38
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
(Angry)
(Not angry)
Confounding in a cohort
Exposed
Confounding
39
Exposed
Unexposed
Unexposed population is the “substitute population” to tell us what would happen in the exposed population without its exposure - but suppose that the exposed population have another risk factor:
(Angry)
(Not angry)
Confounding in a cohort
Exposed
Confounding
40
Exposed
Unexposed
Substitute population will not show us what would happen in the exposed population without its exposure
(Angry)
(Not angry)
Confounding in a cohort
Exposed
follow-up
follow-up
Confounding
41
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
(Angry)
(Not angry)
Cohort members without the potential confounder
Exposed
follow-up
follow-up
Confounding
42
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
(Not angry)
(Angry)
Cohort members with the potential confounder
Exposed
follow-up
follow-up
Confounding
43
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
(Not angry)
(Angry)
Cohort members without the potential confounder
Exposed
follow-up
follow-up
Confounding
44
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
8,300
100
2,400
166
8,134
(Not angry)
(Angry)
Cohort members without the potential confounder
Exposed
follow-up
follow-up
Confounding
45
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
8,300
100 (0.04=4%)
2,400
166�(0.02=2%)
(Not angry)
(Angry)
8,134
Cohort members without the potential confounder
Exposed
follow-up
follow-up
Confounding
46
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
8,300
100 (0.04)
2,400
166 (0.02)
RR = 0.04 / 0.02 = 2.0
(Not angry)
(Angry)
8,134
Cohort members with the potential confounder
Exposed
follow-up
follow-up
Confounding
47
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
1,700
200
2,300
68
2,500
1,632
(Not angry)
(Angry)
Cohort members with the potential confounder
Exposed
follow-up
follow-up
Confounding
48
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
1,700
200�(0.08=8%)
2,300
68�(0.04=4%)
2,500
1,632
(Not angry)
(Angry)
Cohort members with the potential confounder
Exposed
follow-up
follow-up
Confounding
49
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
1,700
200 (0.08)
2,300
68 (0.04)
2,500
RR = 0.08 / 0.04 = 2.0
(Not angry)
(Angry)
1,632
The entire cohort
Exposed
follow-up
follow-up
Confounding
50
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
1,700
8,300
100+200
2,400+2,300
166+68
2,500
8,134+1,632
(Not angry)
(Angry)
The entire cohort
Exposed
follow-up
follow-up
Confounding
51
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
1,700
8,300
100+200�(0.06)
166+68�(0.023)
2,500
(Not angry)
(Angry)
2,400+2,300
8,134+1,632
The entire cohort - RR for exposure
Exposed
follow-up
follow-up
Confounding
52
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
1,700
8,300
2,500
RR = 0.06 / 0.023 = 2.6
(Not angry)
(Angry)
2,400+2,300
8,134+1,632
100+200�(0.06)
166+68�(0.023)
Comparing heterogeneous exposure groups
Exposed
follow-up
follow-up
Confounding
53
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
1,700
8,300
2,500
RR = 0.06 / 0.023 = 2.6
(Not angry)
(Angry)
2,400+2,300
8,134+1,632
100+200�(0.06)
166+68�(0.023)
0.08
0.04
Comparing heterogeneous exposure groups
Exposed
follow-up
follow-up
Confounding
54
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
1,700
8,300
2,500
RR = 0.06 / 0.023 = 2.6
(Not angry)
(Angry)
2,400+2,300
8,134+1,632
100+200�(0.06)
166+68�(0.023)
0.04
0.02
Overall proportions are weighted averages
Confounding
55
2,500
Exposed group (Angry people)
4% 5% 6% 7% 8%
2,500
Get enough sleep
Sleep-deprived
Overall proportions are weighted averages
Confounding
56
8,300
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
1,700
Get enough sleep
Sleep-deprived
Confounded comparison of weighted averages
Confounding
57
8,300
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
1,700
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
Comparing within a stratum is valid
Confounding
58
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
1,700
8,300
Comparing within a stratum is valid
Confounding
59
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
1,700
8,300
Overall comparisons reflect subgroup sizes
Confounding
60
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
1,700
8,300
Overall comparisons should use the same weights
Confounding
61
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
2,500
2,500
Unconfounded RRs
Confounding
62
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
2,500
2,500
RR=2.0
RR=2.0
RR=2.0
Confounded RR
Confounding
63
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
RR=2.6
RR for confounding
Confounding
64
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
4% 5% 6% 7% 8%
Exposed group (Angry people)
RR=2.6
RR=2.0
RRfor confounding = RRcrude / RRunconfounded
1.3 = 2.6 / 2.0
RR for confounding
Confounding
65
Unexposed group (not angry)
2% 2.3% 2.5% 3% 3.5% 4%
Get enough sleep
Sleep-deprived
2,500
2,500
2% 2.5% 3% 3.5% 4%
Exposed group (Angry people)
RR=1.3
RR=1.0
RRfor confounding = RRcrude / RRunconfounded
1.3 = 1.3 / 1.0
Confounding in a case-control study
Exposed
follow-up
follow-up
Confounding
66
Exposed
Diseased
Not
Diseased
Unexposed
Diseased
Not
Diseased
2,500
8,300
100+200
166+68
2,500
(Not angry)
(Angry)
2,400+2,300
8,134+1,632
1,700
Exposure odds in case group
Exposed
follow-up
follow-up
Confounding
67
Exposed
Diseased
Unexposed
Diseased
2,500
8,300
100+200
166+68
2,500
(Not angry)
(Angry)
1,700
Odds in cases = 300 / 234 = 1.28
Exposure odds in controls
Exposed
follow-up
follow-up
Confounding
68
Exposed
Diseased
Unexposed
Diseased
2,500
8,300
100+200
166+68
2,500
(Not angry)
(Angry)
1,700
Odds in study base = 5,000 / 10,000 = 0.50
Exposure odds ratio in case-cohort study
Exposed
follow-up
follow-up
Confounding
69
Exposed
Diseased
Unexposed
Diseased
2,500
8,300
100+200
166+68
2,500
(Not angry)
(Angry)
1,700
OR = 1.28 / 0.50 = 2.6
Exposure odds in cases without the potential confounder
Exposed
follow-up
follow-up
Confounding
70
Exposed
Diseased
Unexposed
Diseased
2,500
8,300
100
166
(Not angry)
(Angry)
Odds in cases = 100 / 166 = 0.60
Exposure odds in controls without the potential confounder
Exposed
follow-up
follow-up
Confounding
71
Exposed
Diseased
Unexposed
Diseased
2,500
8,300
100
166
(Not angry)
(Angry)
Odds in study base = 2,500 / 8,300 = 0.30
Odds ratio in people without the potential confounder
Exposed
follow-up
follow-up
Confounding
72
Exposed
Diseased
Unexposed
Diseased
2,500
8,300
100
166
(Not angry)
(Angry)
Odds = 0.60 / 0.30 = 2.0
Exposure odds in cases with the potential confounder
follow-up
follow-up
Confounding
73
Exposed
Diseased
Unexposed
Diseased
1,700
200
68
2,500
(Not angry)
(Angry)
Odds = 200 / 68 = 2.94
Exposure odds in controls with the potential confounder
Exposed
follow-up
follow-up
Confounding
74
Exposed
Diseased
Unexposed
Diseased
1,700
200
68
2,500
(Not angry)
(Angry)
Odds = 2,500 / 1,700 = 1.47
Odds ratio in persons with the potential confounder
Exposed
follow-up
follow-up
Confounding
75
Exposed
Diseased
Unexposed
Diseased
1,700
200
68
2,500
(Not angry)
(Angry)
OR = 2.94 / 1.47 = 2.0
Potential confounder
Confounding
76
Determinant or risk factor for the outcome (or its detection).
Must have potential to provide an alternative explanation for observed association.
Actual confounder
Confounding
77
The potential confounder becomes an actual confounder when one exposure group has more of it than the other, so it’s not fair to compare them
Causal models
A
X B
(X confounding)
A X B
(X intervening)
Confounding
78
What is a confounder - 2?
A confounder is:
1. “associated with the exposure and the disease” – it causes “guilt by association”.
2. capable of being an “alternate explanation”, i.e., the “real culprit”.
Confounding
79
Control of confounding
Controlling confounding means doing something to make comparison fair:
Confounding
80
Control of confounding –�hard to control unknown risk factors
Confounding
81
Limitations in ability to control
Effective control of confounding requires:
Confounding
82
Limitations in ability to control
Effective control of confounding requires assumptions, such as the mathematical form of relationships between covariables and outcome
Large, randomized experiments uniquely powerful for causal inference but . . .
Confounding
83
Confounded confounding!
Confounding
84
Confounding – key concepts
1. Interpreting data requires assumptions about causal relations (including what factors are potential confounders, i.e., what factors affect incidence and are not themselves caused by the exposure).
Confounding
85
Confounding – key concepts
2. If exposed people and unexposed people differ on factors that affect disease incidence, then those factors may confound (distort) the observed relation between exposure and disease (i.e., actual confounding).
Confounding
86
Confounding – key concepts
3. We can control confounding by study design if we can make the exposed and unexposed groups similar in respect to all disease determinants, though matching or randomized assignment of exposure.
Confounding
87
Confounding – key concepts
4. We can control confounding in the analysis if we can stratify the data by disease determinants that are not themselves caused by the exposure (i.e., not causal intermediates).
Confounding
88
Confounding – key concepts
5. The best way to understand a case-control study is to analyze it as a window into a cohort and to be aware that many books and teachings still follow the traditional and somewhat misleading perspective.
Confounding
89
Keep hope alive!
Confounding can be confounding – do not be discouraged if you do not understand it yet.
Confounding
90
Dietary advice
The Japanese eat very little fat and suffer fewer heart attacks than the British or Americans.
On the other hand, the French eat a lot of fat and also suffer fewer heart attacks than the British or Americans.
Confounding
91
Dietary advice
The Japanese drink very little red wine and suffer fewer heart attacks than the British or Americans.
On the other hand, Italians drink excessive amounts of red wine and also suffer fewer heart attacks than the British or Americans.
Confounding
92
Dietary advice - conclusion
Conclusion: Eat & drink what you like. It appears that speaking English is what kills you.
(submitted by Natasha Jamison, EPID160 student)
Confounding
93
Hmmm.
"Your food stamps will be stopped effective March 1992 because we received notice that you passed away. May God bless you. You may reapply if there is a change in your circumstances.”
– Department of Social Services, Greenville, South Carolina