1 of 94

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/

2 of 94

“Brain Cramps” "interesting" comments by well-known people

(Received from Natasha Jamison, �EPID160 graduate)

3 of 94

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.

4 of 94

Equal opportunity employer

“We don't necessarily discriminate. We simply exclude certain types of people.”

– Colonel Gerald Wellman, ROTC Instructor.

5 of 94

Quite a high risk, I’d say

“If we don't succeed, we run the risk of failure.”

– President Bill Clinton

6 of 94

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

7 of 94

We are here

  • [Now leaving] Sources of error

Confounding

  • [Now entering] Data analysis and interpretation

Causal inference

Confounding

7

8 of 94

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

9 of 94

Setting the scene

  • Logically sound inferences involve�(1) data + (2) assumptions
  • No assumptions no inference
  • So always need a conceptual model

Sander Greenland, Congress of Epidemiology 2001, Toronto

Confounding

9

10 of 94

Causal inference in everyday living

Does exercise make me feel better?

  • Try getting exercise – how do I feel?
  • Try not getting exercise – how do I feel?
  • Try getting exercise again – do I feel better?

Confounding

10

11 of 94

Causal inference in everyday living

Does getting too little sleep make me irritable?

  • Try sleeping too little – ask my partner
  • Try sleeping enough – ask my partner
  • Try sleeping too little – ask my partner

Confounding

11

12 of 94

Desirable attributes of crossover experiments

  • Exposure is under investigator’s control
  • Comparison condition is a true control
  • Can go back and forth, providing some control for secular changes

Confounding

12

13 of 94

Constraints on cross-over experiments

  • Exposures may be harmful or not under our control
  • Effects may not be quickly reversible
  • Experimental subjects or the environment may have changed

Confounding

13

14 of 94

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

15 of 94

People

Confounding

15

















16 of 94

People with an exposure

Confounding

16

















17 of 94

Same people without the exposure

Confounding

17

















18 of 94

With the exposure

Confounding

18

















O

O

O

O

19 of 94

Without the exposure

Confounding

19

















O

O

20 of 94

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

21 of 94

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

22 of 94

“Counterfactual” model

Conceptual model for causal inference:

  • Compare experience of a population exposed to a factor with experience of the same population at the same time but without the exposure
  • Since cannot do that, compare to experience of a substitute population.

Confounding

22

23 of 94

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

24 of 94

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

25 of 94

Why worry about confounding?

  • Does air pollution cause bronchitis ?

Confounding

25

26 of 94

Why worry about confounding?

  • Does air pollution cause bronchitis ?

Confounding

26

Breathe polluted air

Develop bronchitis

Have choices and power

?

27 of 94

Why worry about confounding?

  • Does air pollution cause bronchitis ?
  • Do seatbelts reduce crash injuries?

Confounding

27

?

Wear seatbelts

Risk averse

Injured in a crash

28 of 94

Why worry about confounding?

  • Does air pollution cause bronchitis ?
  • Do seatbelts reduce crash injuries?
  • Do STD’s increase HIV transmission?

Confounding

28

STD

Risky sex

HIV

?

29 of 94

Why worry about confounding?

  • Does air pollution cause bronchitis ?
  • Do seatbelts reduce crash injuries?
  • Do STD’s increase HIV transmission?
  • Does smoking lead to illicit drug use?

Confounding

29

30 of 94

Three questions

  1. What comparison should we make according to the counterfactual model?
  2. What comparison will we make instead (i.e., what substitute population will we use for the comparison)?
  3. How likely is this substitute population to show us what will happen in the exposed population without its exposure

Confounding

30

F

31 of 94

Learning objectives

  1. Understand (basic) confounding
  2. Recognize potential confounding and actual confounding
  3. Know how to control confounding
  4. Follow discussions about confounding

Confounding

31

32 of 94

Learning objectives - 2

  1. Define and explain:

– confounding

– potential confounder

– actual confounder

– control of confounding

Confounding

32

33 of 94

Conventional perspective

Confounding: “mixing of effects”

> Some other risk factor may be responsible for at least some of the association under investigation.

Confounding

33

34 of 94

Common confounders

  • Age -- e.g., exposed persons are older
  • Sex -- e.g., more exposure in men
  • Risk factors - more exposed persons (or unexposed) smoke(-), exercise(+), eat vegetables(+), use drugs(-), . . .

Confounding

34

35 of 94

Example of confounding in a cohort

Confounding

35

Baseline

_____________________

Diseased

Not diseased

follow-up

36 of 94

Cohort study – known risk factor

Confounding

36

Risk factor

absent

_____________________

Risk factor present

37 of 94

Cohort study – known risk factor

Confounding

37

Risk factor

absent

_____________________

Risk factor present

Diseased

Not diseased

- - - - - - - - - - - - follow-up - - - - - - - - - - - -

38 of 94

Cohort study for a new exposure

follow-up

Exposed

follow-up

Confounding

38

Exposed

Diseased

Not

Diseased

Unexposed

Diseased

Not

Diseased

(Angry)

(Not angry)

39 of 94

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)

40 of 94

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)

41 of 94

Confounding in a cohort

Exposed

follow-up

follow-up

Confounding

41

Exposed

Diseased

Not

Diseased

Unexposed

Diseased

Not

Diseased

(Angry)

(Not angry)

42 of 94

Cohort members without the potential confounder

Exposed

follow-up

follow-up

Confounding

42

Exposed

Diseased

Not

Diseased

Unexposed

Diseased

Not

Diseased

(Not angry)

(Angry)

43 of 94

Cohort members with the potential confounder

Exposed

follow-up

follow-up

Confounding

43

Exposed

Diseased

Not

Diseased

Unexposed

Diseased

Not

Diseased

(Not angry)

(Angry)

44 of 94

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)

45 of 94

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

46 of 94

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

47 of 94

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)

48 of 94

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)

49 of 94

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

50 of 94

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)

51 of 94

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

52 of 94

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)

53 of 94

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

54 of 94

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

55 of 94

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

56 of 94

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

57 of 94

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)

58 of 94

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

59 of 94

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

60 of 94

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

61 of 94

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

62 of 94

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

63 of 94

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

64 of 94

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

65 of 94

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

66 of 94

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

67 of 94

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

68 of 94

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

69 of 94

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

70 of 94

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

71 of 94

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

72 of 94

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

73 of 94

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

74 of 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

75 of 94

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

76 of 94

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.

77 of 94

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

78 of 94

Causal models

A

X B

(X confounding)

A X B

(X intervening)

Confounding

78

79 of 94

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

80 of 94

Control of confounding

Controlling confounding means doing something to make comparison fair:

    • Exclude people who have the risk factor (“restriction”)
    • Stratified analysis (adjustment, standardization)
    • Mathematical modeling (e.g., regression)

Confounding

80

81 of 94

Control of confounding –�hard to control unknown risk factors

  • These methods can control only known potential confounders.
  • Only random assignment of exposure can control for unknown potential confounders.

Confounding

81

82 of 94

Limitations in ability to control

Effective control of confounding requires:

  • Knowing the causal pathways
  • Knowing all relevant causal factors
  • Measuring all relevant causal factors – accurately

Confounding

82

83 of 94

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

84 of 94

Confounded confounding!

  • Does overweight increase CHD risk independently of cholesterol, hypertension, and diabetes?

Confounding

84

85 of 94

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

86 of 94

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

87 of 94

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

88 of 94

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

89 of 94

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

90 of 94

Keep hope alive!

Confounding can be confounding – do not be discouraged if you do not understand it yet.

Confounding

90

91 of 94

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

92 of 94

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

93 of 94

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

94 of 94

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