yenokyan confounding 2014 - ictr · 2. confounding means confusing: comparing otherwise dissimilar...

18
1 INTRODUCTION TO CLINICAL RESEARCH Confounding and Effect Modification Gayane Yenokyan, MD, MPH, PhD Associate Director, Biostatistics Center Department of Biostatistics, JHSPH 1 Outline 2 1. Causal inference: comparing “otherwise similar” populations 2. “Confounding” is “confusing” 3. Graphical representation of causation 4. Addressing confounding 5. Effect modification Counterfactual Data Table 3 Person Drug Y(0) Y(1) Y(1)-Y(0) 1 0 22 16 -6 2 0 18 17 -1 3 0 20 15 -5 4 1 20 18 -2 5 1 18 16 -2 6 1 22 14 -8 Average, μ 20 16 -4

Upload: others

Post on 19-Jun-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

1

INTRODUCTION TO CLINICAL RESEARCH

Confounding and Effect Modification

Gayane Yenokyan, MD, MPH, PhD

Associate Director, Biostatistics Center

Department of Biostatistics, JHSPH

1

Outline

2

1. Causal inference: comparing “otherwise similar” populations

2. “Confounding” is “confusing”

3. Graphical representation of causation

4. Addressing confounding

5. Effect modification

Counterfactual Data Table

3

Person Drug Y(0) Y(1) Y(1)-Y(0)

1 0 22 16 -6

2 0 18 17 -1

3 0 20 15 -5

4 1 20 18 -2

5 1 18 16 -2

6 1 22 14 -8

Average, μ 20 16 -4

Page 2: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

2

Actual Data Table

4

Person Drug Y(0) Y(1) Y(1)-Y(0)

1 0 22 ? ?

2 0 18 ? ?

3 0 20 ? ?

4 1 ? 18 ?

5 1 ? 16 ?

6 1 ? 14 ?

Average 20 16 -4

Goal of Statistical “Causal” Inference

• “Fill‐in” missing information in the counterfactual data table 

• Use data for persons receiving the other treatment to fill‐in a persons missing outcome

• Inherent assumption that the other persons are similar except for the treatment: “otherwise similar”

• Compare like‐to‐like

5

Confounding

• Confound means to “confuse”

• When the comparison is between groups that are otherwise not similar in ways that affect the outcome 

• Simpson’s paradox; lurking variables…

6

Page 3: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

3

A More Formal Definition…

• We are interested in a causal effect of predictor X (e.g., hormonal therapy) on outcome Y (e.g., death) in a population A (e.g., a cohort of breast cancer patients). 

• To estimate the causal effect of X, we need to estimate a parameter μ (e.g. 5‐year mortality) that describes the distribution of Y under 2 conditions: – When X is present, X = 1, and 

– When X is not present, X = 0

7

Causal Effect

8

• μA1 is the value of μ in population A when X = 1, and

• μAo is the value of μ in population A when X = 0

• If we give treatment (X = 1) to the breast cancer patients, then μAo is unobservable

• To be able to estimate the causal effect, we need to define μBo

• μBo is the value of μ in population B when X = 0

CausaleffectofXonY A1

A0or

A1

A0

Causal inference Terminology

• X  = treatment

– X = 0  is control or reference treatment 

• Y = outcome

• A  = target population

• B = control or reference population

9

Page 4: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

4

Presence of Confounding

• Using the causal inference framework, we have confounding when

• The crude measure of association (e.g. μA1 –μBo) is not equal to the causal parameter, μA1 –μAo

10

A1

A0

A1

B0

or

A1

A0

A1

B0

How to Diagnose Confounding

When                   ?

1. Populations A and B have different distributions of a variable C , 

2. C affects the outcome Y,

3. C is not caused by X

11

A0

B0

X Y

C

Confounding Example:  Drowning and Ice Cream Consumption

JHU Intro to Clinical Research 12

Ice Cream consumption

Drowning rate per day

*******

**

*

**

*

*******

**

*

**

*

Page 5: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

5

Confounding

13

A characteristic “C” is a confounder if it is a risk factor for the outcome (Y: drowning) and is associated with predictor (X: ice cream) and is not causally in between

Ice Cream Consumption

Drowning rate

??

Confounding in our Example

14

Ice Cream Consumption

Drowning rate

Outdoor Temperature

Confounding Example:  Drowning and Ice Cream Consumption

15

Ice Cream consumption

Drowning rate

*******

**

*

**

*

*******

**

*

**

*

Cool temperature

Warm temperature

Page 6: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

6

Mediation

16

A characteristic “M” is a mediator if it is causally in the pathway by which the risk factor (X: ice cream) leads the outcome (Y: drowning)

Ice Cream Consumption

Drowning rate

Cramping

Confounding

17

Statistical definition: A characteristic “C” is a confounder if the strength of relationship between the outcome and the risk factor differs with, versus without, comparing like to like on C

Thought example:Outcome = frailtyExposure = vitamin D intakeConfounders= SES, “health

mindedness,” etc.

Control of Confounding

• Control by Design

– Restriction and matching on known confounders

– Randomization controls known and unknown confounders; however, might not work in small trials (~ n <100‐200)

• Control by Analysis

– Stratification on confounders or on propensity score

– Regression of the outcome on treatment and confounders 

• Issues with sparse data, insufficient control and residual confounding

18

Page 7: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

7

Example:  Graduate School Admissions

UC Berkeley 

19

Number Applied

Percent Accepted

Male 1901 55

Female 1119 36

20

Number Males Applied

Number Males Accepted

Male % Accepted

Female % Accepted

Number Females Accepted

Number Females Applied

A 825 512 62 82 89 108

B 560 353 63 68 17 25

C 325 120 37 34 202 593

D 191 53 28 24 94 393

Total 1901 1038 55 36 402 1119

21

Percent Admitted

Percent Male

Applicants

Percent Female

Applicants

A 65 43 10

B 63 30 2

C 35 17 53

D 25 10 35

Total 48 100 100

Page 8: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

8

JHU Intro to Clinical Research 22

23

What is the lurking variable causing admissions rates to be lower in departments to which more women apply?

Gender Admission

??

24

Gender Admission

Department to which appliedDepartment to which applied

Page 9: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

9

25

Number Males Applied

Number Males Accepted

Male % Accepted

Female –Male % Accepted

Female % Accepted

Number Females Accepted

Number Females Applied

A 825 512 62 +20 82 89 108

B 560 353 63 +5 68 17 25

C 325 120 37 -3 34 202 593

D 191 53 28 -4 24 94 393

Total 1901 1038 55 -19 36 402 1119

26

Unadjusted (for department) difference in admission rates between women and men: 36-55 = -19%

Adjusted (for department) difference in admission rates between women and men:

Average(20, 5, -3, -4) = 4.5%Weighted average (20, 5,-3, -4) = 3.2%

Controlling for Confounding

27

…Now for something entirely different

Particulate air pollution and mortality

Page 10: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

10

Chicago

Los Angeles

Correlation: Daily mortality and PM10

• New York   ‐0.031

• Chicago ‐0.036

• Los Angeles ‐0.019

> Season could be confounding the correlation between PM10 and mortality.

> What would happen if we “removed” season from the analysis?

Page 11: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

11

Season‐specific correlations

All Year Winter Spring Summer Fall

NY -0.031 0.059 0.059 0.086 0.100

Chicago -0.036 -0.017 0.054 0.140 -0.030

LA -0.019 0.157 0.063 0.042 -0.118

Overall association for New York

Page 12: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

12

Page 13: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

13

Season‐specific associations are positive, overall 

association is negative

Overall correlations

All Year Average over Seasons

New York -0.031 0.076

Chicago -0.036 0.037

LA -0.019 0.036

Overall correlations

All Year

“Unadjusted”

Average 4 within-season

values

“Adjusted”

Average 12 within month

values

“Adjusted”

New York -0.031 0.076 0.079

Chicago -0.036 0.037 0.063

LA -0.019 0.036 0.050

Page 14: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

14

40

41

42

Page 15: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

15

Effect modification

43

A characteristic “E” is an effect modifier if the strength of relationship between the outcome (Y: drowning) and the risk factor (X: ice cream) differs by levels of E

Ice Cream Consumption

Drowning rate

temperatureOutdoor

temperature

Effect Modification Example:  Drowning and Ice Cream Consumption

44

Ice Cream consumption

Drowning rate

*******

**

*

**

*

Cool temperature

Warm temperature

45

Question: Does aspirin use modify the associationbetween treatment and adverse outcomes?

Page 16: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

16

July 2008 JHU Intro to Clinical Research 46

47

48

Page 17: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

17

49

Aspirin use modifies the effect of treatment on the risk of stroke?

Losartan –vs-Atenolol Stroke

Aspirin Use

Another Example

50

Confounding vs. Effect ModificationConfounding

• Bias (overall) because treatment groups differ by a relevant characteristic

• Persons taking vitamin D appear less frail because they have more resources to protect their health

• Addressed by computing effects in comparable people (vit D effect in persons with equal resources)

Effect modification

• Subgroup effects; contextual effects; different mechanisms

• Vitamin D more effectively prevents frailty in younger‐old because they better metabolize Vitamin D

• Addressed by comparing effects across groups (Vit D effect in older‐old minus VitD effect in younger‐old) 

51

Page 18: Yenokyan confounding 2014 - ICTR · 2. Confounding means confusing: comparing otherwise dissimilar groups 3. Stratify by confounders and make comparisons within strata, then pool

18

Summary

52

1. Causal inference: comparing “otherwise similar” populations

2. Confounding means confusing: comparing otherwise dissimilar groups

3. Stratify by confounders and make comparisons within strata, then pool results across strata to avoid the effects of confounding

4. Effect modification when the treatment effect varies by stratum of another variable

References

• Greenland S, Robins JM, Pearl J. Confounding and Collapsibility in Causal Inference.Statistical Science. 1999: 14: 29‐46

• Hernan MA. A Definition of Causal Effect for Epidemiological Research. J. EpidemiolCommunity Health. 2004, 58: 265‐271. 

• Henan MA and Robins JM. Estimating Causal Effects from Epidemiological Data. J EpidemiolCommunity Health. 2006, 60: 578‐586. 

53