16
Marginal and conditional approaches to confounder control Niels Keiding January 2007

Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Marginal and conditional approaches to confounder control

Niels Keiding January 2007

Page 2: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Overview Direct and indirect standardisation Clayton IBC Freiburg July 2002 Conditional approach ∼ indirect standardisation ∼ stratification and regression Marginal approach ∼ direct standardisation ∼ randomisation Potential outcomes No unmeasured confounders Inverse probability weighting

Page 3: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and
Page 4: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and
Page 5: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Clayton IBC Freiburg July 2002

• There are two paradigms for control for extraneous influences in experimentation:

1. Hold all other relevant factors constant, or 2. Randomly allocate subjects to treatments

• Statistical approaches to control for confounding mirror these two paradigms and likewise fall into two main approaches:

– Classically these are represented by “indirect” and “direct” methods of standardization – In the modern model-based view of statistics these correspond with “conditional” or “marginal” modelling approaches

Page 6: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Conditional approach

• Model exposure effects by contrasting responses conditional upon values of confounding variables

• In general this approach requires constancy of effect

(no effect modification)

• But if this and no unmeasured confounders hold, then the results are generalizable to other populations with different distributions of confounders

• Nowadays this is done in regression models (logistic, Poisson, Cox, ּּּ) with regression coefficient as effect measure

Page 7: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and
Page 8: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and
Page 9: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and
Page 10: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Marginal effects under simulated randomization

• Randomization ensures equal distribution of potential confounders between treatment (exposure) groups. Effects of treatment are then measured by contrasting the marginal distributions of response

• “Direct” standardization by age simulates such an experiment by fixing the distribution of the confounder (age) to be equal across exposure groups. We then compare marginal measures of response between exposure groups

• This measure of effect is less dependent on modelling assumptions but

is less generalizable to other populations with different distributions of confounders

Page 11: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Potential outcomes

) outcome if treatment (

iY x x followed ) outcome if treatment followed (

iY 0 = 0x outcome if treatment followed ( )

iY 1 = 1x Outcomes other than that observed are called counterfactual Causal effect of vs. 1 0 ( ) ( )

i iY Y−1 0 cannot be observed directly since we only observe one potential outcome per subject.

Page 12: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Estimation of causal effects in randomised studies

average response of treated subjects ( )| 1iE Y x = is an unbiased estimate of mean of ) in entire population (

iY 1

and similarly for untreated subjects

( )| 0iE Y x = estimates mean of ) in entire population (

iY 0

Causal effect ( )(1) (0) ( ) ( )x xE Yδ µ µ µ= − = Covariates z Causal effect ( )(1) (0) ( ) ( )( ) ( ) ( ) |x xz z z E Y Z zδ µ µ µ= − = =

Page 13: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Estimation of causal effects in observational studies

We assume that we have recorded so much confounder information that the study can be considered essentially randomised given these confounders No unmeasured confounders (= ignorable treatment (or exposure) assignment) Assignment of treatment X is conditionally independent of potential outcomes (rT, rC) given covariates z.

Page 14: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Propensity score and inverse probability weighting Propensity score ( ) ( )1e z P x z= = the probability of being assigned to treatment 1 given covariates z. Causal effect from observational study:

( )( )

( )

(0)(1) 1

1X YXY

e z e z−

−−

is unbiased estimate of treatment effect 1 0 .δ µ µ= − Note. ( )(1) (0) and 1XY X Y− are always observable (often = 0). Note. Response weighted with inverse probability of treatment assignment.

Page 15: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Causal effect from inverse probability weighting: proof

( )

( )( ) ( ) ( ) ( )

(0)(1)0(1)1

= .1

X YXYE z z ze z e z

µ µ −

− − −

( )( ) ) ( )( )

( )( )

1 1

1

, ,

because of no unmeasured confounders

Proof E XY z X X E Y z X

X E Y z

=

=

( )( ) ( ) ( )( ) ( ) ( ) ( )1 1 1 E XY z E X z E Y z e z zµ⇒ = = .

Page 16: Niels Keiding January 2007 - biostat.au.dkbiostat.au.dk/teaching/forskerskole/NK3-Marginal... · • Statistical approaches to control for confounding mirror these two paradigms and

Example: one-dimensional categorical confounder

Exposed subjects Unexposed subjects Confounder stratum

i i i Number Events Number Events

i

i i i 1in 1id 0in 0id

• ( ) 1 0 Estimate of Pr response observed confounder is or i i in n n ni+ +

( )( )

( )1 1 1 1

1 1

i ii i i i i i

i ii i i

n n d n d nn n n n

+

+

∑ ∑=

∑ ∑= “Direct” standardized measure of risk

Correcting for unobserved counterfactual responses by inverse probability weighting, the probability of event given exposure is estimated by