01/20151 EPI 5344: Survival Analysis in Epidemiology Confounding and Effect Modification March 24, 2015 Dr. N. Birkett, School of Epidemiology, Public.

Slides:



Advertisements
Similar presentations
6.5 Graphing Linear Inequalities
Advertisements

1 COMM 301: Empirical Research in Communication Lecture 15 – Hypothesis Testing Kwan M Lee.
Lecture 28 Categorical variables: –Review of slides from lecture 27 (reprint of lecture 27 categorical variables slides with typos corrected) –Practice.
HSRP 734: Advanced Statistical Methods July 24, 2008.
Chapter 19 Stratified 2-by-2 Tables
Chance, bias and confounding
April 25 Exam April 27 (bring calculator with exp) Cox-Regression
Some Terms Y =  o +  1 X Regression of Y on X Regress Y on X X called independent variable or predictor variable or covariate or factor Which factors.
Chapter 13 Multiple Regression
EPIDEMIOLOGY AND BIOSTATISTICS DEPT Esimating Population Value with Hypothesis Testing.
Chapter 12 Multiple Regression
PH6415 Review Questions. 2 Question 1 A journal article reports a 95%CI for the relative risk (RR) of an event (treatment versus control as (0.55, 0.97).
Plots, Correlations, and Regression Getting a feel for the data using plots, then analyzing the data with correlations and linear regression.
7 Dummy Variables Thus far, we have only considered variables with a QUANTITATIVE MEANING -ie: dollars, population, utility, etc. In this chapter we will.
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Chapter 11 Survival Analysis Part 2. 2 Survival Analysis and Regression Combine lots of information Combine lots of information Look at several variables.
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
EPI 809/Spring Multiple Logistic Regression.
Linear Regression and Correlation Analysis
Chapter 11 Multiple Regression.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Simple Correlation Scatterplots & r Interpreting r Outcomes vs. RH:
REGRESSION AND CORRELATION
Notes on Logistic Regression STAT 4330/8330. Introduction Previously, you learned about odds ratios (OR’s). We now transition and begin discussion of.
Inferences About Process Quality
Today Concepts underlying inferential statistics
Multiple Regression 2 Sociology 5811 Lecture 23 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Correlation and Regression Analysis
Model Checking in the Proportional Hazard model
Assessing Survival: Cox Proportional Hazards Model Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
Regression and Correlation
Inference for regression - Simple linear regression
Biostatistics Case Studies 2005 Peter D. Christenson Biostatistician Session 4: Taking Risks and Playing the Odds: OR vs.
ECON ECON Health Economic Policy Lab Kem P. Krueger, Pharm.D., Ph.D. Anne Alexander, M.S., Ph.D. University of Wyoming.
 Is there a comparison? ◦ Are the groups really comparable?  Are the differences being reported real? ◦ Are they worth reporting? ◦ How much confidence.
Assessing Survival: Cox Proportional Hazards Model
Amsterdam Rehabilitation Research Center | Reade Multiple regression analysis Analysis of confounding and effectmodification Martin van de Esch, PhD.
The Use of Dummy Variables. In the examples so far the independent variables are continuous numerical variables. Suppose that some of the independent.
Statistics and Quantitative Analysis U4320 Segment 12: Extension of Multiple Regression Analysis Prof. Sharyn O’Halloran.
Correlation and Linear Regression. Evaluating Relations Between Interval Level Variables Up to now you have learned to evaluate differences between the.
01/20151 EPI 5344: Survival Analysis in Epidemiology Maximum Likelihood Estimation: An Introduction March 10, 2015 Dr. N. Birkett, School of Epidemiology,
01/20151 EPI 5344: Survival Analysis in Epidemiology Interpretation of Models March 17, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive.
October 15. In Chapter 19: 19.1 Preventing Confounding 19.2 Simpson’s Paradox 19.3 Mantel-Haenszel Methods 19.4 Interaction.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
01/20151 EPI 5344: Survival Analysis in Epidemiology Survival curve comparison (non-regression methods) March 3, 2015 Dr. N. Birkett, School of Epidemiology,
April 4 Logistic Regression –Lee Chapter 9 –Cody and Smith 9:F.
CORRELATION: Correlation analysis Correlation analysis is used to measure the strength of association (linear relationship) between two quantitative variables.
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Four Ending Wednesday, September 19 (Assignment 4 which is included in this study guide.
11/20091 EPI 5240: Introduction to Epidemiology Confounding: concepts and general approaches November 9, 2009 Dr. N. Birkett, Department of Epidemiology.
Fall 2002Biostat Statistical Inference - Proportions One sample Confidence intervals Hypothesis tests Two Sample Confidence intervals Hypothesis.
1 Multivariable Modeling. 2 nAdjustment by statistical model for the relationships of predictors to the outcome. nRepresents the frequency or magnitude.
01/20151 EPI 5344: Survival Analysis in Epidemiology Cox regression: Introduction March 17, 2015 Dr. N. Birkett, School of Epidemiology, Public Health.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice- Hall, Inc. Chap 14-1 Business Statistics: A Decision-Making Approach 6 th Edition.
We’ll now look at the relationship between a survival variable Y and an explanatory variable X; e.g., Y could be remission time in a leukemia study and.
Logistic Regression Analysis Gerrit Rooks
01/20151 EPI 5344: Survival Analysis in Epidemiology Estimating S(t) from Cox models March 24, 2015 Dr. N. Birkett, School of Epidemiology, Public Health.
POPLHLTH 304 Regression (modelling) in Epidemiology Simon Thornley (Slides adapted from Assoc. Prof. Roger Marshall)
01/20151 EPI 5344: Survival Analysis in Epidemiology Hazard March 3, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive Medicine,
Probability and odds Suppose we a frequency distribution for the variable “TB status” The probability of an individual having TB is frequencyRelative.
01/20151 EPI 5344: Survival Analysis in Epidemiology SAS Code for Cox models March 17, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive.
01/20141 EPI 5344: Survival Analysis in Epidemiology Estimating S(t) from Cox models April 1, 2014 Dr. N. Birkett, Department of Epidemiology & Community.
Chapter 7: Hypothesis Testing. Learning Objectives Describe the process of hypothesis testing Correctly state hypotheses Distinguish between one-tailed.
Hypothesis Tests for 1-Proportion Presentation 9.
03/20161 EPI 5344: Survival Analysis in Epidemiology Estimating S(t) from Cox models March 29, 2016 Dr. N. Birkett, School of Epidemiology, Public Health.
03/20161 EPI 5344: Survival Analysis in Epidemiology Testing the Proportional Hazard Assumption April 5, 2016 Dr. N. Birkett, School of Epidemiology, Public.
32931 Technology Research Methods Autumn 2017 Quantitative Research Component Topic 4: Bivariate Analysis (Contingency Analysis and Regression Analysis)
Multiple Regression Analysis and Model Building
CHAPTER 29: Multiple Regression*
Inferential Statistics
Presentation transcript:

01/20151 EPI 5344: Survival Analysis in Epidemiology Confounding and Effect Modification March 24, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive Medicine, University of Ottawa

01/20152 Objectives Review confounding and effect modification (EM) Graphical view of confounding and EM Linear regression model for confounding/EM How to detect/adjust for confounding in Cox modeling Effect modification and Cox modeling.

01/20153 I used many of the early slides for my second session in EPI5340 Will review this material

01/20154 Introduction (1) In etiological study, interest is on effect of ‘X’ on ‘Y’ Suppose we have a third variable ‘C’ which explains some of the effect of ‘X’: C X Y Confounding.

01/20155 Introduction (2) A common definition is based on ‘change in estimate of coefficient’ –Estimate the crude OR/RR/etc. (RR crude ) –Estimate OR/RR after adjusting for ‘C’ (RR adj ) –If RR adj differs from RR crude by ‘enough to matter’, we have confounding. Usually look for 10%+ in RR (or ln(RR)):

01/20156 Introduction (3) I am suggesting using: –Does adjusting change the crude RR by more than 10% Some books use this criterion: –Does ‘not adjusting’ change the adjusted RR by more than 10%

01/20157 Introduction (4) As long as confounding shifts RR towards null, we have My criterion will smaller than other one Hence, if mine is > 0.10, the other one will be too If confounding is in other direction, the reverse is true. Areas with disagreement are marginal effects

01/20158 Introduction (5) There is controversy over this definition of confounding. Pearl and others have shown that, in some situations, an unadjusted estimate for RR can be more valid than an adjusted one. –Argues against using the ‘change in estimate’ method. This course isn’t the place to explore the debate. We will use the ‘change in estimate’ approach.

01/20159 Introduction (6) Effect Modification –Our main interest is relationship of ‘X’ to ‘Y’ –What if a third variable ‘modifies’ that relationship so that it is very different in two or more groups?

01/ Introduction (7) Effect Modification –Example RR crude = 1.7 ( ) RR male =15.6 ( ) **** RR female = 0.4 ( ) **** –What is the effect of ‘X’ on ‘Y’?

01/ Introduction (8) IT DEPENDS! –In men: risk is much higher –In women:risk is much lower Effect Modification occurs when –a third variable defines groups where the relationship of ‘X’ and ‘Y’ differs ‘enough to matter’

01/ Introduction (9) For OR/RR/etc., usually want Can also look for statistically significant differences in the RR estimates for the groups –Tests have low power

01/ Introduction (10) How do we know if we have either of confounding or effect modification? –There are rules-of-thumb –These are not ‘truth’. Answer depends on the impact of the results Does the modification of the OR/RR by a third factor introduce enough difference ‘to matter’? –If so, then confounding/EM –If not, then no confounding/EM

01/ Introduction (11) This is an empirical/practical approach Requires knowledge of the scientific field under study Impact on clinical/scientific/policy decisions –if the HR is 10.0, then an adjustment to 9.0 or 11.0 won’t matter Some other views –Confounding applies in the ‘population’, not your study. Always matters –Causal modeling –Impact on understanding causal paths as opposed to making practical decisions.

01/ Confounding (1) Consider this research situation OutcomeSystolic Blood Pressure (SBP) QuestionDoes a new R x  a decrease in SBP? AssumptionsSBP and age are linearly related Issues1.Age is related to SBP levels 2.Drug is given mainly to older people since it has fewer side effects. OR 3.Drug is given mainly to younger people because it interacts with meds given commonly for arthritis.

01/ Age vs. SBP SBP age All subjects combined Now, look at the Rx and control groups separately

01/ Age vs. SBP SBP age Control RxRx Δ true Treatment effect is the distance between the lines It is the same at every age

01/ Assume Rx group is older Control RxRx Δ true Δ observed

01/ Assume control group is older Control RxRx Δ true Δ observed

01/ Assume groups are same age Control RxRx Δ true Δ observed

01/ Control RxRx Δ true Δ observed Assume groups are same age

01/ Confounding (2) We can adjust for confounding by making the age in the two groups ‘the same’ –Design Matching RCT Restriction –Analysis Graphs are hard to work with, so let’s switch to regression models. –I’ll use linear regression for now

01/ Confounding (3) Cont: y i = B 0,cont + B 1 (age) i R x :y i = B 0,Rx + B 1 (age) i Note: the slopes are assumed to be the same True effect confounding effect

01/ Confounding (4) True effect confounding effect Confounding = 0 iff Β 1 =0 OR mean ages are the same

01/ Confounding (5) How to estimate the Beta’s? Could do stratified regression (in each treatment group) –Limits your options Instead, let’s create one regression model which includes both stratified models as sub-models.

01/ Control RxRx 0

01/ Confounding (6) Define z i = 0 if in control group = 1 if in Rx group which can be written as:

01/ Confounding (7) β 2 = adjusted effect of R x Can use this model to test hypotheses about adjusted effect, get 95% CI’s, etc.

01/ Confounding (8) To check for confounding, fit this model with and without ‘age’. –Compare the change in β 2 from model without age to the model with age –Look for 10% change –Note that this is equivalent to previous ‘rule’ using the logs of the RR/OR/etc.

01/ age Control RxRx Now, consider this situation SBP The treatment effect DEPENDS on the age of the subject Small for low age Large for high age EFFECT MODIFICATION

01/ Effect Modification (1) Can also put this into regression models Key is to note that the slopes are not the same. As before, define: z i = 0 if in control group = 1 if in Rx group

01/ Effect Modification (2)

01/ Effect Modification (2) which can be written as: β 3 ≠0  Effect Modification

01/ Confounding/EM in Cox (1) Linear regression model is called: –Parallel line analysis Extends easily to Cox models. –Replace ‘y’ by ‘ln(HR)’ –Remember, no intercept for the Cox model (contained in h 0 (t)) Our combined regression model with Cox is:

01/ Confounding/EM in Cox (2) To test for EM, look at the β 3 term –Statistical significance –magnitude of exp(β 3 ) ‘large values’ suggest important EM

01/ Confounding/EM in Cox (3) To test for confounding, compare to model without the ‘x’: Look at difference in the Betas If there is no EM, we get: Effect of ‘z’ adjusted for ‘x’

01/ SAS code (1) TO CHECK FOR EM: proc phreg data=njb1; class z/param=ref ref=first; model time*cens(0)=x z x*z; run; Look at the ‘Beta’ for ‘x*z’ to check for EM.

01/ SAS code (2) If there is no EM, run two more models to check for confounding. ADJUSTED MODEL proc phreg data=njb1; class z/param=ref ref=first; model time*cens(0)=x z; run; CRUDE MODEL proc phreg data=njb1; class z/param=ref ref=first; model time*cens(0)=z; run; Compare the ‘Beta’ for ‘z’ in these two models

01/ SAS code (3) What if ‘z’ has more than 2 levels? Have more than one indicator variable for ‘z’ Can use the same code Effect Modification –Use the likelihood ratio test (-2Δlog(L)) Available directly in SAS output –Can have EM for one level of ‘z’ but not for another one.

01/ SAS code (4) Confounding –Need to consider possible confounding for each level of ‘z’ –Overall decision to adjust for ‘x’ depends on presence of any confounding.

Our Cox model is: What is the effect of ‘z’ on the HR? If there were no interaction, can just use exp(β 2 ) But, this is not appropriate with interaction: 01/ R x effect when there is EM (1)

01/ R x effect when there is EM (2) There is no single treatment effect. –Misleading to present a single RR Depends on value of EM variable Need to present effect estimates in a graph or table (or formula)

01/201543