tim wiemken phd mph cic assistant professor division of infectious diseases

48
Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases University of Louisville, Kentucky Confounding Confounding

Upload: eliana-richmond

Post on 30-Dec-2015

21 views

Category:

Documents


0 download

DESCRIPTION

Confounding. Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases University of Louisville, Kentucky. Overview. 1. Define and Identify Confounding. 2. Calculate Risk Ratio and Stratified Risk Ratio. 3. Identify How to Select Confounding - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Tim Wiemken PhD MPH CICAssistant Professor

Division of Infectious Diseases University of Louisville, Kentucky

ConfoundingConfounding

Page 2: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

1. Define and Identify Confounding

3. Identify How to Select Confounding Variables for Multivariate Analysis

2. Calculate Risk Ratio and Stratified Risk Ratio

Overview

Page 3: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

1. Define and Identify Confounding

3. Identify How to Select Confounding Variables for Multivariate Analysis

2. Calculate Risk Ratio and Stratified Risk Ratio

Overview

Page 4: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

A variable related to the exposure (predictor) and outcome but not in the causal pathway

Definition:

ConfoundingConfounding

Page 5: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

ConfoundingConfounding

Page 6: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Risk factor that has different prevalence intwo study populations…

e.g. Coffee drinking and lung cancer

Why does this happen?

ConfoundingConfounding

Page 7: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Men vs Women Example….Men vs Women Example….

25% Risk of lung cancer

5% Risk of Lung Cancer

ExampleExample

Page 8: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Men vs Women Example….Men vs Women Example….

25% Risk of lung cancer

5% Risk of Lung Cancer

ExampleExample

Conclusion: People who drink coffee die more therefore coffee causes lung cancer

Page 9: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Men vs Women Example….Men vs Women Example….

25% Risk of lung cancer

5% Risk of Lung Cancer

ExampleExample

Truth: Coffee drinkers are more likely to smoke. Smoking is associated with a higher risk of lung cancer.

mortality.

Page 10: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

ExampleExample

Outcome: Outcome: Lung cancerLung cancer

Confounder: Confounder: SmokingSmoking

Predictor: Predictor: CoffeeCoffee

Page 11: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

ExampleExample

Outcome: Outcome: Lung cancerLung cancer

Confounder: Confounder: SmokingSmoking

Predictor: Predictor: CoffeeCoffee

Smoking associated with coffee drinking and lung cancer. Smoking is not caused by drinking coffee.

Page 12: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

1. Define and Identify Confounding 1. Define and Identify Confounding

3. Identify How to Select Confounding Variables for Multivariate Analysis

3. Identify How to Select Confounding Variables for Multivariate Analysis

2. Calculate Risk Ratio and Stratified Risk Ratio

2. Calculate Risk Ratio and Stratified Risk Ratio

OverviewOverview

Page 13: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Question: Are coffee drinkers more likely to get lung cancer?

ExampleExample

Warning: The upcoming data are made up. Do not make any decisions based on the outcomes of our

example!

Page 14: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

3154 subjects

2648 Enrolled

506 Excluded

1307 coffee+

1341 coffee-

178 cancer+

1129 cancer-

79 cancer+

1262 cancer-

Example FlowchartExample Flowchart

Page 15: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

What Type of Study is That?

ExampleExample

Page 16: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

What Type of Study is That?

What is the correct measure of association?

ExampleExample

Page 17: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

What Type of Study is That?

What is the correct measure of association?

ExampleExample

OK. Now Calculate the Correct Measure of Association

Page 18: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Data

Do coffee drinkers get lung cancer more than non coffee drinkers?

Cancer+ Cancer-

Coffee+

Coffee-

ExampleExample

Page 19: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

3154 Subjects

2648 Enrolled

506 Excluded

1307 coffee+

1341 coffee-

178 cancer+

1129 cancer-

79 cancer+

1262 cancer-

Example FlowchartExample Flowchart

Page 20: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Do coffee drinkers get lung cancer more than non coffee drinkers?

Cancer+ Cancer-

Coffee+ 178 1129

Coffee- 79 1262

ExampleExample

Data

Page 21: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Well??

Do coffee drinkers get lung cancer more than non coffee drinkers?

ExampleExample

Page 22: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Yes! RR: 2.31, P=<0.001,

95% CI: 1.79 – 2.98

Yes! RR: 2.31, P=<0.001,

95% CI: 1.79 – 2.98

Do coffee drinkers get lung cancer more than non coffee drinkers?

ExampleExample

Page 23: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Is this a true relationship or is another variable confounding that relationship?

ExampleExample

Page 24: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Is this a true relationship or is another variable confounding that relationship?

We noticed a lot of coffee drinkers also smoke, much more than those patients who didn’t drink

coffee. Could this be a confounder?

ExampleExample

Page 25: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Input your data in the 2x2

Example: Step 1Example: Step 1

Cancer+ Cancer-

Coffee+ 178 1129

Coffee- 79 1262

This gives you a ‘crude’ odds or risk ratio

Page 26: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Stratify on the potential confounder

Stratified data:Smoker+

Coffee+/ Cancer+: 168Coffee -/Cancer+: 34Coffee+/Cancer-: 880Coffee-/Cancer-: 177

Stratified data:Smoker-

Coffee+/ Cancer+: 10Coffee -/Cancer+: 45Coffee+/Cancer-: 249Coffee-/Cancer-: 1085

Example: Step 2Example: Step 2

Page 27: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Compute Risk Ratios for Both, Separately

Example: Step 2Example: Step 2

Smoker- Cancer+ Cancer-

Coffee+

Coffee-

Smoker+ Cancer+ Cancer-

Coffee+

Coffee-

Page 28: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Calculate the adjusted measure of association

Example: Step 2Example: Step 2

Stratified data:Smoker+

Coffee+/ Cancer+: 168Coffee -/Cancer+: 34Coffee+/Cancer-: 880Coffee-/Cancer-: 177

Stratified data:Smoker-

Coffee+/ Cancer+: 10Coffee -/Cancer+: 45Coffee+/Cancer-: 249Coffee-/Cancer-: 1085

Page 29: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

2. Compute Risk Ratios for Both, Separately

Example: Step 2Example: Step 2

Smoker- Cancer+ Cancer-

Coffee+ 10 249

Coffee- 45 1085

Smoker+ Cancer+ Cancer-

Coffee+ 168 880

Coffee- 34 177

Page 30: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

What do you see?

ExampleExample

Page 31: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Ensure that, in the group without the outcome, the potential confounder is associated with

the predictor

Example: Step 3Example: Step 3

Page 32: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Adjusted Ratio Must be >10% Different than the Crude Ratio

Adjusted Ratio Must be >10% Different than the Crude Ratio

Example: Step 4Example: Step 4

Compute the adjusted odds/risk ratiosCompute the adjusted odds/risk ratios

Compute the percent difference between the ‘crude’ and adjusted ratios.

Compute the percent difference between the ‘crude’ and adjusted ratios.

Page 33: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

If the criteria are met, you have a confounder

If the criteria are met, you have a confounder

ExampleExample

Page 34: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

As in our example, a confounder can create an apparent association between

the predictor and outcome.

As in our example, a confounder can create an apparent association between

the predictor and outcome.

Issues with ConfoundingIssues with Confounding

Page 35: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

As in our example, a confounder can create an apparent association between

the predictor and outcome.

As in our example, a confounder can create an apparent association between

the predictor and outcome.

A confounder can also mask an association, so it does not look like there

is an association originally, but when you stratify, you see there is one.

A confounder can also mask an association, so it does not look like there

is an association originally, but when you stratify, you see there is one.

Issues with ConfoundingIssues with Confounding

Page 36: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

1. Define and Identify Confounding 1. Define and Identify Confounding

3. 3. Identify How to Select Confounding Variables for Multivariate Analysis 3. 3. Identify How to Select Confounding Variables for Multivariate Analysis

2. Calculate Risk Ratio and Stratified Risk Ratio 2. Calculate Risk Ratio and Stratified Risk Ratio

OverviewOverview

Page 37: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Regression methods adjust for multiple confounding variables at once

– less time consuming.

Regression methods adjust for multiple confounding variables at once

– less time consuming.

Logistic RegressionLinear Regression

Cox Proportional Hazards Regression… and many others

Logistic RegressionLinear Regression

Cox Proportional Hazards Regression… and many others

Multiple Confounding VariablesMultiple Confounding Variables

Page 38: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

1: The way we just did it. 1: The way we just did it.

This is probably the most reliable method with a few more steps.

This is probably the most reliable method with a few more steps.

Multiple Confounding VariablesMultiple Confounding Variables

Page 39: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

2. Include all clinically significant variables or those that are previously

identified as confounders.

2. Include all clinically significant variables or those that are previously

identified as confounders.

Issues: • May have too many confounders• Confounding in other studies does

NOT mean it is a confounder in yours.

Issues: • May have too many confounders• Confounding in other studies does

NOT mean it is a confounder in yours.

Multiple Confounding VariablesMultiple Confounding Variables

Page 40: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

3: If that variable is significantly associated with the outcome (chi-

squared) then include it.

3: If that variable is significantly associated with the outcome (chi-

squared) then include it.

Multiple Confounding VariablesMultiple Confounding Variables

Sun, G. W., Shook, T. L., & Kay, G. L. (1996). Inappropriate use of bivariable analysis to screen risk factors for use in multivariable analysis. J Clin Epidemiol, 49(8), 907-916.

Page 41: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

3: If that variable is significantly associated with the outcome (chi-

squared) then include it.

3: If that variable is significantly associated with the outcome (chi-

squared) then include it.

Many issues with this method.Many issues with this method.

Multiple Confounding VariablesMultiple Confounding Variables

Sun, G. W., Shook, T. L., & Kay, G. L. (1996). Inappropriate use of bivariable analysis to screen risk factors for use in multivariable analysis. J Clin Epidemiol, 49(8), 907-916.

What is significant?What is significant?

Page 42: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

3: If that variable is significantly associated with the outcome (chi-

squared) then include it.

3: If that variable is significantly associated with the outcome (chi-

squared) then include it.

Many issues with this method.Many issues with this method.

Multiple Confounding VariablesMultiple Confounding Variables

Sun, G. W., Shook, T. L., & Kay, G. L. (1996). Inappropriate use of bivariable analysis to screen risk factors for use in multivariable analysis. J Clin Epidemiol, 49(8), 907-916.

Just because the ‘confounder’ is associated with the predictor doesn’t mean it is associated with the outcome and not in the

causal pathway!

Just because the ‘confounder’ is associated with the predictor doesn’t mean it is associated with the outcome and not in the

causal pathway!

Page 43: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

4. Automatic Selection Regression Methods

4. Automatic Selection Regression Methods

Many ways to do this, and relatively reliable with certain methods.• Forward Selection• Backward Selection• Stepwise

Many ways to do this, and relatively reliable with certain methods.• Forward Selection• Backward Selection• Stepwise

Multiple Confounding VariablesMultiple Confounding Variables

Page 44: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Caveats Caveats

Need to control for as few confounding variables as possible.

Need to control for as few confounding variables as possible.

Multiple Confounding VariablesMultiple Confounding Variables

Page 45: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Caveats Caveats

Need to control for as few confounding variables as possible.

Need to control for as few confounding variables as possible.

You are limited by the number of cases of the outcome you have (10:1 Rule)

You are limited by the number of cases of the outcome you have (10:1 Rule)

Multiple Confounding VariablesMultiple Confounding Variables

Page 46: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Caveats Caveats

Need to control for as few confounding variables as possible.

Need to control for as few confounding variables as possible.

You are limited by the number of cases of the outcome you have (10:1 Rule)

You are limited by the number of cases of the outcome you have (10:1 Rule)

Some journals just want it done a certain way.

Some journals just want it done a certain way.

Multiple Confounding VariablesMultiple Confounding Variables

Page 47: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

Multiple Confounding VariablesMultiple Confounding Variables

Page 48: Tim Wiemken PhD MPH CIC Assistant Professor Division of Infectious Diseases

1. Define and Identify Confounding 1. Define and Identify Confounding

3. 3. Identify How to Select Confounding Variables for Multivariate Analysis 3. 3. Identify How to Select Confounding Variables for Multivariate Analysis

2. Calculate Risk Ratio and Stratified Risk Ratio 2. Calculate Risk Ratio and Stratified Risk Ratio

OverviewOverview