Counterfactual-based mediation analysis Workshop 2 Rhian Daniel - - PowerPoint PPT Presentation

counterfactual based mediation analysis workshop 2
SMART_READER_LITE
LIVE PREVIEW

Counterfactual-based mediation analysis Workshop 2 Rhian Daniel - - PowerPoint PPT Presentation

Counterfactual-based mediation analysis Workshop 2 Rhian Daniel London School of Hygiene and Tropical Medicine CIMPOD 28th February, 2017 Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 1/55 Setting the scene Case study


slide-1
SLIDE 1

Counterfactual-based mediation analysis Workshop 2

Rhian Daniel London School of Hygiene and Tropical Medicine CIMPOD 28th February, 2017

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 1/55

slide-2
SLIDE 2

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 2/55

slide-3
SLIDE 3

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 3/55

slide-4
SLIDE 4

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 4/55

slide-5
SLIDE 5

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop

  • Questions concerning mediation are often posed and tie in with our

intuition on what it means to ‘understand mechanism’.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 5/55

slide-6
SLIDE 6

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop

  • Questions concerning mediation are often posed and tie in with our

intuition on what it means to ‘understand mechanism’.

  • Traditional mediation methods (‘product’ or ‘difference’) suffer from

the same vagueness that has plagued all informal statistical methods for causal inference. What exactly is being estimated? Under what assumptions is our estimation method successful?

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 5/55

slide-7
SLIDE 7

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop

  • Questions concerning mediation are often posed and tie in with our

intuition on what it means to ‘understand mechanism’.

  • Traditional mediation methods (‘product’ or ‘difference’) suffer from

the same vagueness that has plagued all informal statistical methods for causal inference. What exactly is being estimated? Under what assumptions is our estimation method successful?

  • Traditional mediation methods are also limited to simple linear

models.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 5/55

slide-8
SLIDE 8

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop

  • Questions concerning mediation are often posed and tie in with our

intuition on what it means to ‘understand mechanism’.

  • Traditional mediation methods (‘product’ or ‘difference’) suffer from

the same vagueness that has plagued all informal statistical methods for causal inference. What exactly is being estimated? Under what assumptions is our estimation method successful?

  • Traditional mediation methods are also limited to simple linear

models.

  • The causal inference literature, using counterfactuals, has clarified

what we might mean by ‘direct’ and ‘indirect’ effects, but there isn’t just one possibility.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 5/55

slide-9
SLIDE 9

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop

  • Questions concerning mediation are often posed and tie in with our

intuition on what it means to ‘understand mechanism’.

  • Traditional mediation methods (‘product’ or ‘difference’) suffer from

the same vagueness that has plagued all informal statistical methods for causal inference. What exactly is being estimated? Under what assumptions is our estimation method successful?

  • Traditional mediation methods are also limited to simple linear

models.

  • The causal inference literature, using counterfactuals, has clarified

what we might mean by ‘direct’ and ‘indirect’ effects, but there isn’t just one possibility.

  • It has led to clear assumptions under which these can be identified,

and a myriad methods for estimation, reaching far beyond two simple linear models.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 5/55

slide-10
SLIDE 10

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop (cont’d)

  • Yesterday we focussed on the fully-parametric approach, both

analytic and using MC simulation.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 6/55

slide-11
SLIDE 11

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop (cont’d)

  • Yesterday we focussed on the fully-parametric approach, both

analytic and using MC simulation.

  • We focussed only on the setting with a continuous outcome and

mediator, and with a single mediator of interest.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 6/55

slide-12
SLIDE 12

Setting the scene Case study Q&A Wrapping up References

Summary of yesterday’s workshop (cont’d)

  • Yesterday we focussed on the fully-parametric approach, both

analytic and using MC simulation.

  • We focussed only on the setting with a continuous outcome and

mediator, and with a single mediator of interest.

  • In today’s workshop, we turn to mediation analysis with multiple

mediators, and we’ll look at a setting with a binary

  • utcome/mediators.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 6/55

slide-13
SLIDE 13

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 7/55

slide-14
SLIDE 14

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: SE disparities in Br Ca survival

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 8/55

slide-15
SLIDE 15

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: SE disparities in Br Ca survival

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

  • Survival to 1 year: 95.9% in higher SES women vs. 93.2% in lower

SES women

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 8/55

slide-16
SLIDE 16

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: SE disparities in Br Ca survival

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

  • Survival to 1 year: 95.9% in higher SES women vs. 93.2% in lower

SES women

  • Survival to 5 years: 64.7% vs. 54.1%

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 8/55

slide-17
SLIDE 17

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: SE disparities in Br Ca survival

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

  • Survival to 1 year: 95.9% in higher SES women vs. 93.2% in lower

SES women

  • Survival to 5 years: 64.7% vs. 54.1%
  • Question: what explains this? Screening? Treatment?

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 8/55

slide-18
SLIDE 18

Setting the scene Case study Q&A Wrapping up References

Causal diagram

SES Treatment Survival C Screening

  • We want to separate the effect of SES on survival into an effect via

screening and an effect via treatment, and an effect via neither.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 9/55

slide-19
SLIDE 19

Setting the scene Case study Q&A Wrapping up References

Causal diagram

X M2 Y C M1

  • We want to separate the effect of SES on survival into an effect via

screening and an effect via treatment, and an effect via neither.

  • This is complicated by the fact that M1 can affect M2.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 9/55

slide-20
SLIDE 20

Setting the scene Case study Q&A Wrapping up References

Causal diagram

SES Treatment Survival C Age and stage at diagnosis

  • We want to separate the effect of SES on survival into an effect via

screening and an effect via treatment, and an effect via neither.

  • This is complicated by the fact that M1 can affect M2.
  • In fact, we don’t have data on screening, but we’ll use age and stage

at diagnosis as a proxy for screening.

  • So our M1 is in fact a vector.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 9/55

slide-21
SLIDE 21

Setting the scene Case study Q&A Wrapping up References

Causal diagram

X M2 Y C M1

  • We want to separate the effect of SES on survival into an effect via

screening and an effect via treatment, and an effect via neither.

  • This is complicated by the fact that M1 can affect M2.
  • In fact, we don’t have data on screening, but we’ll use age and stage

at diagnosis as a proxy for screening.

  • So our M1 is in fact a vector.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 9/55

slide-22
SLIDE 22

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 10/55

slide-23
SLIDE 23

Setting the scene Case study Q&A Wrapping up References

Counterfactuals and estimands for multiple mediators

— With one mediator, we needed: M(x), Y(x, m), Y(x, M(x′))

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 11/55

slide-24
SLIDE 24

Setting the scene Case study Q&A Wrapping up References

Counterfactuals and estimands for multiple mediators

— With one mediator, we needed: M(x), Y(x, m), Y(x, M(x′)) — With two, we need: M1(x), M2(x, m1), Y(x, m1, m2)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 11/55

slide-25
SLIDE 25

Setting the scene Case study Q&A Wrapping up References

Counterfactuals and estimands for multiple mediators

— With one mediator, we needed: M(x), Y(x, m), Y(x, M(x′)) — With two, we need: M1(x), M2(x, m1), Y(x, m1, m2) and M2(x, M1(x′))

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 11/55

slide-26
SLIDE 26

Setting the scene Case study Q&A Wrapping up References

Counterfactuals and estimands for multiple mediators

— With one mediator, we needed: M(x), Y(x, m), Y(x, M(x′)) — With two, we need: M1(x), M2(x, m1), Y(x, m1, m2) and M2(x, M1(x′)) and Y(x, M1(x′), M2(x′′, M1(x′′′)))

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 11/55

slide-27
SLIDE 27

Setting the scene Case study Q&A Wrapping up References

Counterfactuals and estimands for multiple mediators

— With one mediator, we needed: M(x), Y(x, m), Y(x, M(x′)) — With two, we need: M1(x), M2(x, m1), Y(x, m1, m2) and M2(x, M1(x′)) and Y(x, M1(x′), M2(x′′, M1(x′′′))) — Natural path-specific effects are defined as contrasts between these for carefully chosen values of x, x′, x′′, x′′′.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 11/55

slide-28
SLIDE 28

Setting the scene Case study Q&A Wrapping up References

Counterfactuals and estimands for multiple mediators

— With one mediator, we needed: M(x), Y(x, m), Y(x, M(x′)) — With two, we need: M1(x), M2(x, m1), Y(x, m1, m2) and M2(x, M1(x′)) and Y(x, M1(x′), M2(x′′, M1(x′′′))) — Natural path-specific effects are defined as contrasts between these for carefully chosen values of x, x′, x′′, x′′′.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 11/55

slide-29
SLIDE 29

Setting the scene Case study Q&A Wrapping up References

Counterfactuals and estimands for multiple mediators

— With one mediator, we needed: M(x), Y(x, m), Y(x, M(x′)) — With two, we need: M1(x), M2(x, m1), Y(x, m1, m2) and M2(x, M1(x′)) and Y(x, M1(x′), M2(x′′, M1(x′′′))) — Natural path-specific effects are defined as contrasts between these for carefully chosen values of x, x′, x′′, x′′′.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 11/55

slide-30
SLIDE 30

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form:

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-31
SLIDE 31

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1(x′), M2(x′′, M1(x′′′)))−Y(0, M1(x′), M2(x′′, M1(x′′′)))}

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-32
SLIDE 32

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1(x′), M2(x′′, M1(x′′′)))−Y(0, M1(x′), M2(x′′, M1(x′′′)))} — The first argument changes and all other arguments stay the same, making it a direct effect.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-33
SLIDE 33

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1(x′), M2(x′′, M1(x′′′)))−Y(0, M1(x′), M2(x′′, M1(x′′′)))} — The first argument changes and all other arguments stay the same, making it a direct effect.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-34
SLIDE 34

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1(x′), M2(x′′, M1(x′′′)))−Y(0, M1(x′), M2(x′′, M1(x′′′)))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-35
SLIDE 35

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 0 ), M2( 0 , M1( 0 )))−Y(0, M1( 0 ), M2( 0 , M1( 0 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-36
SLIDE 36

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 0 ), M2( 0 , M1( 1 )))−Y(0, M1( 0 ), M2( 0 , M1( 1 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000. — Similarly, can choose (x′, x′′, x′′′) = (0, 0, 1). We call this NDE-001.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-37
SLIDE 37

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 0 ), M2( 1 , M1( 0 )))−Y(0, M1( 0 ), M2( 1 , M1( 0 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000. — Similarly, can choose (x′, x′′, x′′′) = (0, 1, 0). We call this NDE-010.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-38
SLIDE 38

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 0 ), M2( 1 , M1( 1 )))−Y(0, M1( 0 ), M2( 1 , M1( 1 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000. — Similarly, can choose (x′, x′′, x′′′) = (0, 1, 1). We call this NDE-011.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-39
SLIDE 39

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 1 ), M2( 0 , M1( 0 )))−Y(0, M1( 1 ), M2( 0 , M1( 0 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000. — Similarly, can choose (x′, x′′, x′′′) = (1, 0, 0). We call this NDE-100.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-40
SLIDE 40

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 1 ), M2( 0 , M1( 1 )))−Y(0, M1( 1 ), M2( 0 , M1( 1 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000. — Similarly, can choose (x′, x′′, x′′′) = (1, 0, 1). We call this NDE-101.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-41
SLIDE 41

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 1 ), M2( 1 , M1( 0 )))−Y(0, M1( 1 ), M2( 1 , M1( 0 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000. — Similarly, can choose (x′, x′′, x′′′) = (1, 1, 0). We call this NDE-110.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-42
SLIDE 42

Setting the scene Case study Q&A Wrapping up References

Direct effect

— A natural direct effect (through neither M1 nor M2) is of the form: E{Y(1, M1( 1 ), M2( 1 , M1( 1 )))−Y(0, M1( 1 ), M2( 1 , M1( 1 )))} — The first argument changes and all other arguments stay the same, making it a direct effect. — There are 8 choices for how to fix x′, x′′, x′′′. — We can choose (x′, x′′, x′′′) = (0, 0, 0). We call this NDE-000. — Similarly, can choose (x′, x′′, x′′′) = (1, 1, 1). We call this NDE-111.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 12/55

slide-43
SLIDE 43

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form:

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-44
SLIDE 44

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(x, M1(1), M2(x′′, M1(x′′′)))−Y(x, M1(0), M2(x′′, M1(x′′′)))}

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-45
SLIDE 45

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(x, M1(1), M2(x′′, M1(x′′′)))−Y(x, M1(0), M2(x′′, M1(x′′′)))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-46
SLIDE 46

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(x, M1(1), M2(x′′, M1(x′′′)))−Y(x, M1(0), M2(x′′, M1(x′′′)))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-47
SLIDE 47

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(x, M1(1), M2(x′′, M1(x′′′)))−Y(x, M1(0), M2(x′′, M1(x′′′)))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-48
SLIDE 48

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(0, M1(1), M2( 0 , M1( 0 )))−Y(0, M1(0), M2( 0 , M1( 0 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-49
SLIDE 49

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(0, M1(1), M2( 0 , M1( 1 )))−Y(0, M1(0), M2( 0 , M1( 1 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000. — Similarly, can choose (x, x′′, x′′′) = (0, 0, 1). We call this NIE1-001.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-50
SLIDE 50

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(0, M1(1), M2( 1 , M1( 0 )))−Y(0, M1(0), M2( 1 , M1( 0 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000. — Similarly, can choose (x, x′′, x′′′) = (0, 1, 0). We call this NIE1-010.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-51
SLIDE 51

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(0, M1(1), M2( 1 , M1( 1 )))−Y(0, M1(0), M2( 1 , M1( 1 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000. — Similarly, can choose (x, x′′, x′′′) = (0, 1, 1). We call this NIE1-011.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-52
SLIDE 52

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(1, M1(1), M2( 0 , M1( 0 )))−Y(1, M1(0), M2( 0 , M1( 0 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000. — Similarly, can choose (x, x′′, x′′′) = (1, 0, 0). We call this NIE1-100.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-53
SLIDE 53

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(1, M1(1), M2( 0 , M1( 1 )))−Y(1, M1(0), M2( 0 , M1( 1 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000. — Similarly, can choose (x, x′′, x′′′) = (1, 0, 1). We call this NIE1-101.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-54
SLIDE 54

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(1, M1(1), M2( 1 , M1( 0 )))−Y(1, M1(0), M2( 1 , M1( 0 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000. — Similarly, can choose (x, x′′, x′′′) = (1, 1, 0). We call this NIE1-110.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-55
SLIDE 55

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M1 only

— A natural indirect effect through M1 only is of the form: E{Y(1, M1(1), M2( 1 , M1( 1 )))−Y(1, M1(0), M2( 1 , M1( 1 )))} — The second argument changes and all other arguments stay the same, making it an indirect effect through M1 only. — There are 8 choices for how to fix x, x′′, x′′′. — We can choose (x, x′′, x′′′) = (0, 0, 0). We call this NIE1-000. — Similarly, can choose (x, x′′, x′′′) = (1, 1, 1). We call this NIE1-111.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 13/55

slide-56
SLIDE 56

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form:

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-57
SLIDE 57

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(x, M1(x′), M2(1, M1(x′′′)))−Y(x, M1(x′), M2(0, M1(x′′′)))}

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-58
SLIDE 58

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(x, M1(x′), M2(1, M1(x′′′)))−Y(x, M1(x′), M2(0, M1(x′′′)))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-59
SLIDE 59

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(x, M1(x′), M2(1, M1(x′′′)))−Y(x, M1(x′), M2(0, M1(x′′′)))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-60
SLIDE 60

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(x, M1(x′), M2(1, M1(x′′′)))−Y(x, M1(x′), M2(0, M1(x′′′)))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-61
SLIDE 61

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(0, M1( 0 ), M2(1, M1( 0 )))−Y(0, M1( 0 ), M2(0, M1( 0 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-62
SLIDE 62

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(0, M1( 0 ), M2(1, M1( 1 )))−Y(0, M1( 0 ), M2(0, M1( 1 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000. — Similarly, can choose (x, x′, x′′′) = (0, 0, 1). We call this NIE2-001.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-63
SLIDE 63

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(0, M1( 1 ), M2(1, M1( 0 )))−Y(0, M1( 1 ), M2(0, M1( 0 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000. — Similarly, can choose (x, x′, x′′′) = (0, 1, 0). We call this NIE2-010.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-64
SLIDE 64

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(0, M1( 1 ), M2(1, M1( 1 )))−Y(0, M1( 1 ), M2(0, M1( 1 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000. — Similarly, can choose (x, x′, x′′′) = (0, 1, 1). We call this NIE2-011.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-65
SLIDE 65

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(1, M1( 0 ), M2(1, M1( 0 )))−Y(1, M1( 0 ), M2(0, M1( 0 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000. — Similarly, can choose (x, x′, x′′′) = (1, 0, 0). We call this NIE2-100.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-66
SLIDE 66

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(1, M1( 0 ), M2(1, M1( 1 )))−Y(1, M1( 0 ), M2(0, M1( 1 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000. — Similarly, can choose (x, x′, x′′′) = (1, 0, 1). We call this NIE2-101.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-67
SLIDE 67

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(1, M1( 1 ), M2(1, M1( 0 )))−Y(1, M1( 1 ), M2(0, M1( 0 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000. — Similarly, can choose (x, x′, x′′′) = (1, 1, 0). We call this NIE2-110.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-68
SLIDE 68

Setting the scene Case study Q&A Wrapping up References

Indirect effect through M2 only

— A natural indirect effect through M2 only is of the form: E{Y(1, M1( 1 ), M2(1, M1( 1 )))−Y(1, M1( 1 ), M2(0, M1( 1 )))} — The third argument changes and all other arguments stay the same, making it an indirect effect through M2 only. — There are 8 choices for how to fix x, x′, x′′′. — We can choose (x, x′, x′′′) = (0, 0, 0). We call this NIE2-000. — Similarly, can choose (x, x′, x′′′) = (1, 1, 1). We call this NIE2-111.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 14/55

slide-69
SLIDE 69

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form:

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-70
SLIDE 70

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(x, M1(x′), M2(x′′, M1(1))) − Y(x, M1(x′), M2(x′′, M1(0)))}

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-71
SLIDE 71

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(x, M1(x′), M2(x′′, M1(1))) − Y(x, M1(x′), M2(x′′, M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-72
SLIDE 72

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(x, M1(x′), M2(x′′, M1(1))) − Y(x, M1(x′), M2(x′′, M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-73
SLIDE 73

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(x, M1(x′), M2(x′′, M1(1))) − Y(x, M1(x′), M2(x′′, M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-74
SLIDE 74

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(0, M1( 0 ), M2( 0 , M1(1))) − Y(0, M1( 0 ), M2( 0 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-75
SLIDE 75

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(0, M1( 0 ), M2( 1 , M1(1))) − Y(0, M1( 0 ), M2( 1 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000. — Similarly, can choose (x, x′, x′′) = (0, 0, 1). We call this NIE12-001.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-76
SLIDE 76

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(0, M1( 1 ), M2( 0 , M1(1))) − Y(0, M1( 1 ), M2( 0 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000. — Similarly, can choose (x, x′, x′′) = (0, 1, 0). We call this NIE12-010.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-77
SLIDE 77

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(0, M1( 1 ), M2( 1 , M1(1))) − Y(0, M1( 1 ), M2( 1 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000. — Similarly, can choose (x, x′, x′′) = (0, 1, 1). We call this NIE12-011.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-78
SLIDE 78

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(1, M1( 0 ), M2( 0 , M1(1))) − Y(1, M1( 0 ), M2( 0 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000. — Similarly, can choose (x, x′, x′′) = (1, 0, 0). We call this NIE12-100.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-79
SLIDE 79

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(1, M1( 0 ), M2( 1 , M1(1))) − Y(1, M1( 0 ), M2( 1 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000. — Similarly, can choose (x, x′, x′′) = (1, 0, 1). We call this NIE12-101.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-80
SLIDE 80

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(1, M1( 1 ), M2( 0 , M1(1))) − Y(1, M1( 1 ), M2( 0 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000. — Similarly, can choose (x, x′, x′′) = (1, 1, 0). We call this NIE12-110.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-81
SLIDE 81

Setting the scene Case study Q&A Wrapping up References

Indirect effect through both M1 and M2

— A natural indirect effect through both M1 and M2 is of the form: E{Y(1, M1( 1 ), M2( 1 , M1(1))) − Y(1, M1( 1 ), M2( 1 , M1(0)))} — The fourth argument changes and all other arguments stay the same, making it an indirect effect through both M1 and M2. — There are 8 choices for how to fix x, x′, x′′. — We can choose (x, x′, x′′) = (0, 0, 0). We call this NIE12-000. — Similarly, can choose (x, x′, x′′) = (1, 1, 1). We call this NIE12-111.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 15/55

slide-82
SLIDE 82

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 16/55

slide-83
SLIDE 83

Setting the scene Case study Q&A Wrapping up References

Sequential mediation analysis

  • For more about the different possible decompositions of the TCE into

the many path-specific effects defined above, and assumptions under which this can be achieved, see Daniel et al, Biometrics (2015).

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 17/55

slide-84
SLIDE 84

Setting the scene Case study Q&A Wrapping up References

Sequential mediation analysis

  • For more about the different possible decompositions of the TCE into

the many path-specific effects defined above, and assumptions under which this can be achieved, see Daniel et al, Biometrics (2015).

  • But for today, we’ll focus on a simpler, more practical and intuitive

idea presented by VanderWeele et al (2014), known as sequential mediation analysis.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 17/55

slide-85
SLIDE 85

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • First we consider M1 and M2 to be joint mediators.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 18/55

slide-86
SLIDE 86

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • First we consider M1 and M2 to be joint mediators.
  • This allows us to use single mediator analysis, with (M1, M2) as the

mediator.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 18/55

slide-87
SLIDE 87

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • We thus estimate

NDEjoint = E {Y(1, M1(0), M2(0, M1(0))) − Y(0, M1(0), M2(0, M1(0)))} and NIEjoint = E {Y(1, M1(1), M2(1, M1(1))) − Y(1, M1(0), M2(0, M1(0)))} with TCE = NDEjoint + NIEjoint

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 19/55

slide-88
SLIDE 88

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • Next we consider M1 to be the only mediator of interest, and we

ignore M2.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 20/55

slide-89
SLIDE 89

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • Next we consider M1 to be the only mediator of interest, and we

ignore M2.

  • This allows us to use single mediator analysis, with M1 as the

mediator.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 20/55

slide-90
SLIDE 90

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • Next we consider M1 to be the only mediator of interest, and we

ignore M2.

  • This allows us to use single mediator analysis, with M1 as the

mediator.

  • The direct effect then includes the effect via neither M1 nor M2 and

the effect through M2 alone, whereas the indirect effect includes the effect via M1 alone and the effect via both M1 and M2.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 20/55

slide-91
SLIDE 91

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • In other words, we estimate

NDEnot M1 = E {Y(1, M1(0), M2(1, M1(0))) − Y(0, M1(0), M2(0, M1(0)))} and NIEM1 = E {Y(1, M1(1), M2(1, M1(1))) − Y(1, M1(0), M2(1, M1(0)))} with TCE = NDEM1 + NIEM1

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 21/55

slide-92
SLIDE 92

Setting the scene Case study Q&A Wrapping up References

The idea

X M2 Y C M1

  • We then note that we can obtain (one of) the indirect effect(s) through

M2 alone by taking the difference between NIEjoint and NIEM1: NIEjoint − NIEM1 = E {Y(1, M1(0), M2(1, M1(0))) − Y(1, M1(0), M2(0, M1(0)))} = NIEM2 − 100

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 22/55

slide-93
SLIDE 93

Setting the scene Case study Q&A Wrapping up References

Sequential mediation analysis

  • Sequential mediation analysis doesn’t require any further results on

identification nor any new methods for estimation, since it is simply an application of single mediator analysis twice: once with M1 and M2 as joint mediators, and then with M1 as the only mediator.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 23/55

slide-94
SLIDE 94

Setting the scene Case study Q&A Wrapping up References

Sequential mediation analysis

  • Sequential mediation analysis doesn’t require any further results on

identification nor any new methods for estimation, since it is simply an application of single mediator analysis twice: once with M1 and M2 as joint mediators, and then with M1 as the only mediator.

  • Writing M for (M1, M2), the assumptions for identification therefore

include that there should be no unmeasured confounders of X and M, X and Y, M and Y, X and M1, M1 and Y, and no confounders (measured or unmeasured) of M and Y or of M1 and Y that are affected by X.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 23/55

slide-95
SLIDE 95

Setting the scene Case study Q&A Wrapping up References

Sequential mediation analysis

  • Sequential mediation analysis doesn’t require any further results on

identification nor any new methods for estimation, since it is simply an application of single mediator analysis twice: once with M1 and M2 as joint mediators, and then with M1 as the only mediator.

  • Writing M for (M1, M2), the assumptions for identification therefore

include that there should be no unmeasured confounders of X and M, X and Y, M and Y, X and M1, M1 and Y, and no confounders (measured or unmeasured) of M and Y or of M1 and Y that are affected by X.

  • This means that in order to apply sequential mediation analysis, we

need to know the order of the mediators (i.e. M1 affects M2 but not vice versa) and the mediators cannot share any unmeasured common causes (since this would violate the no unmeasured confounding assumption for M1 and Y).

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 23/55

slide-96
SLIDE 96

Setting the scene Case study Q&A Wrapping up References

Sequential mediation analysis

  • Sequential mediation analysis doesn’t require any further results on

identification nor any new methods for estimation, since it is simply an application of single mediator analysis twice: once with M1 and M2 as joint mediators, and then with M1 as the only mediator.

  • Writing M for (M1, M2), the assumptions for identification therefore

include that there should be no unmeasured confounders of X and M, X and Y, M and Y, X and M1, M1 and Y, and no confounders (measured or unmeasured) of M and Y or of M1 and Y that are affected by X.

  • This means that in order to apply sequential mediation analysis, we

need to know the order of the mediators (i.e. M1 affects M2 but not vice versa) and the mediators cannot share any unmeasured common causes (since this would violate the no unmeasured confounding assumption for M1 and Y).

  • In many practical applications, these assumptions are implausible.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 23/55

slide-97
SLIDE 97

Setting the scene Case study Q&A Wrapping up References

Sequential mediation analysis

  • Sequential mediation analysis doesn’t require any further results on

identification nor any new methods for estimation, since it is simply an application of single mediator analysis twice: once with M1 and M2 as joint mediators, and then with M1 as the only mediator.

  • Writing M for (M1, M2), the assumptions for identification therefore

include that there should be no unmeasured confounders of X and M, X and Y, M and Y, X and M1, M1 and Y, and no confounders (measured or unmeasured) of M and Y or of M1 and Y that are affected by X.

  • This means that in order to apply sequential mediation analysis, we

need to know the order of the mediators (i.e. M1 affects M2 but not vice versa) and the mediators cannot share any unmeasured common causes (since this would violate the no unmeasured confounding assumption for M1 and Y).

  • In many practical applications, these assumptions are implausible.
  • So we now turn to an alternative, based on interventional effects.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 23/55

slide-98
SLIDE 98

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 24/55

slide-99
SLIDE 99

Setting the scene Case study Q&A Wrapping up References

Our proposal

  • In Vansteelandt and Daniel (2017), we proposed an extension of the

single mediator interventional effects to multiple mediator settings.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 25/55

slide-100
SLIDE 100

Setting the scene Case study Q&A Wrapping up References

Our proposal

  • In Vansteelandt and Daniel (2017), we proposed an extension of the

single mediator interventional effects to multiple mediator settings.

  • The effects we define will sum to the total causal effect.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 25/55

slide-101
SLIDE 101

Setting the scene Case study Q&A Wrapping up References

Our proposal

  • In Vansteelandt and Daniel (2017), we proposed an extension of the

single mediator interventional effects to multiple mediator settings.

  • The effects we define will sum to the total causal effect.
  • Identification will be possible under no interference, consistency, no

unmeasured confounding of X–M, X–Y and M–Y, where the mediators M are for this purpose considered en bloc.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 25/55

slide-102
SLIDE 102

Setting the scene Case study Q&A Wrapping up References

Our proposal

  • In Vansteelandt and Daniel (2017), we proposed an extension of the

single mediator interventional effects to multiple mediator settings.

  • The effects we define will sum to the total causal effect.
  • Identification will be possible under no interference, consistency, no

unmeasured confounding of X–M, X–Y and M–Y, where the mediators M are for this purpose considered en bloc.

  • We will not need to assume no unmeasured confounding between

different mediators, and we won’t require knowledge of the order of the mediators.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 25/55

slide-103
SLIDE 103

Setting the scene Case study Q&A Wrapping up References

Our proposal

  • In Vansteelandt and Daniel (2017), we proposed an extension of the

single mediator interventional effects to multiple mediator settings.

  • The effects we define will sum to the total causal effect.
  • Identification will be possible under no interference, consistency, no

unmeasured confounding of X–M, X–Y and M–Y, where the mediators M are for this purpose considered en bloc.

  • We will not need to assume no unmeasured confounding between

different mediators, and we won’t require knowledge of the order of the mediators.

  • For simplicity, we again describe our approach for two mediators.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 25/55

slide-104
SLIDE 104

Setting the scene Case study Q&A Wrapping up References

Interventional direct effect through neither M1 nor M2

With two mediators we propose the following definition of an interventional direct effect:

  • c
  • m1
  • m2

[E {Y(1, m1, m2)|C = c} − E {Y(0, m1, m2)|C = c}] · P{M1(0) = m1, M2(0) = m2|C = c}P(C = c)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 26/55

slide-105
SLIDE 105

Setting the scene Case study Q&A Wrapping up References

Interventional direct effect through neither M1 nor M2

With two mediators we propose the following definition of an interventional direct effect:

  • c
  • m1
  • m2

[E {Y(1, m1, m2)|C = c} − E {Y(0, m1, m2)|C = c}] · P{M1(0) = m1, M2(0) = m2|C = c}P(C = c)

  • This expresses the exposure effect when fixing the joint distribution of

both mediators (by controlling the mediators for each subject at a random draw from their counterfactual joint distribution with the exposure set at 0, given covariates C).

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 26/55

slide-106
SLIDE 106

Setting the scene Case study Q&A Wrapping up References

Interventional indirect effect through M1

We propose the following definition of an interventional indirect effect throught M1:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} · [P{M1(1) = m1|C = c} − P{M1(0) = m1|C = c}] · P{M2(0) = m2|C = c}P(C = c)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 27/55

slide-107
SLIDE 107

Setting the scene Case study Q&A Wrapping up References

Interventional indirect effect through M1

We propose the following definition of an interventional indirect effect throught M1:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} · [P{M1(1) = m1|C = c} − P{M1(0) = m1|C = c}] · P{M2(0) = m2|C = c}P(C = c)

  • This expresses the effect of shifting the distribution of mediator M1

from the counterfactual distribution (given covariates) at exposure level 0 to that at level 1, while fixing the exposure at 1 and the mediator M2 to a random subject-specific draw from the counterfactual distribution (given covariates) at level 0 for all subjects.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 27/55

slide-108
SLIDE 108

Setting the scene Case study Q&A Wrapping up References

Interventional indirect effect through M1

We propose the following definition of an interventional indirect effect throught M1:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} · [P{M1(1) = m1|C = c} − P{M1(0) = m1|C = c}] · P{M2(0) = m2|C = c}P(C = c)

  • This expresses the effect of shifting the distribution of mediator M1

from the counterfactual distribution (given covariates) at exposure level 0 to that at level 1, while fixing the exposure at 1 and the mediator M2 to a random subject-specific draw from the counterfactual distribution (given covariates) at level 0 for all subjects.

  • This effect captures all of the exposure effect that is mediated by M1,

but not by causal descendants of M1 in the graph.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 27/55

slide-109
SLIDE 109

Setting the scene Case study Q&A Wrapping up References

Interventional indirect effect through M2

We propose the following definition of an interventional indirect effect throught M2:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} · [P{M2(1) = m2|C = c} − P{M2(0) = m2|C = c}] · P{M1(0) = m1|C = c}P(C = c)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 28/55

slide-110
SLIDE 110

Setting the scene Case study Q&A Wrapping up References

Interventional indirect effect through M2

We propose the following definition of an interventional indirect effect throught M2:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} · [P{M2(1) = m2|C = c} − P{M2(0) = m2|C = c}] · P{M1(0) = m1|C = c}P(C = c)

  • This expresses the effect of shifting the distribution of mediator M2

from the counterfactual distribution (given covariates) at exposure level 0 to that at level 1, while fixing the exposure at 1 and the mediator M1 to a random subject-specific draw from the counterfactual distribution (given covariates) at level 0 for all subjects.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 28/55

slide-111
SLIDE 111

Setting the scene Case study Q&A Wrapping up References

Interventional indirect effect through M2

We propose the following definition of an interventional indirect effect throught M2:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} · [P{M2(1) = m2|C = c} − P{M2(0) = m2|C = c}] · P{M1(0) = m1|C = c}P(C = c)

  • This expresses the effect of shifting the distribution of mediator M2

from the counterfactual distribution (given covariates) at exposure level 0 to that at level 1, while fixing the exposure at 1 and the mediator M1 to a random subject-specific draw from the counterfactual distribution (given covariates) at level 0 for all subjects.

  • This effect captures all of the exposure effect that is mediated by M2,

but not by causal descendants of M2 in the graph.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 28/55

slide-112
SLIDE 112

Setting the scene Case study Q&A Wrapping up References

Remainder?

Finally, the TCE decomposes into the sum of the three previous effects plus a remainder term:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} ·

  • P{M1(1) = m1, M2(1) = m2|C = c}

− P{M1(1) = m1|C = c}P{M2(1) = m2|C = c} − P{M1(0) = m1, M2(0) = m2|C = c} + P{M1(0) = m1|C = c}P{M2(0) = m2|C = c}

  • P(C = c)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 29/55

slide-113
SLIDE 113

Setting the scene Case study Q&A Wrapping up References

Remainder?

Finally, the TCE decomposes into the sum of the three previous effects plus a remainder term:

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} ·

  • P{M1(1) = m1, M2(1) = m2|C = c}

− P{M1(1) = m1|C = c}P{M2(1) = m2|C = c} − P{M1(0) = m1, M2(0) = m2|C = c} + P{M1(0) = m1|C = c}P{M2(0) = m2|C = c}

  • P(C = c)
  • This can be interpreted as the indirect effect of X on Y mediated

through the dependence between M1 and M2 (given C).

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 29/55

slide-114
SLIDE 114

Setting the scene Case study Q&A Wrapping up References

Suppose the outcome obeys the model: E(Y|X = x, M1 = m1, M2 = m2, C = c) = θ0 + θ1x + θ2m1 + θ3m2 + θ4m1m2 + θ5xm1 + θ6xm2 + θT

7 c

and the mediators (M1, M2), conditional on X and C, have means E(Mj|X = x, C = c) = β0j + β1jx + βT

2jc,

with residual variances σ2

j , j = 1, 2, and covariance σ12.

Then the interventional direct effect is given by E

  • θ1 + θ5(β01 + βT

21C) + θ6(β02 + βT 22C)

  • = θ1 + θ5{β01 + βT

21E(C)} + θ6{β02 + βT 22E(C)}.

This is θ1 in the absence of exposure–mediator interactions.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 30/55

slide-115
SLIDE 115

Setting the scene Case study Q&A Wrapping up References

Suppose the outcome obeys the model: E(Y|X = x, M1 = m1, M2 = m2, C = c) = θ0 + θ1x + θ2m1 + θ3m2 + θ4m1m2 + θ5xm1 + θ6xm2 + θT

7 c

and the mediators (M1, M2), conditional on X and C, have means E(Mj|X = x, C = c) = β0j + β1jx + βT

2jc,

with residual variances σ2

j , j = 1, 2, and covariance σ12.

The interventional indirect effect via M1 is

  • θ2 + θ4
  • β02 + βT

22E(C)

  • + θ5
  • β11

which is θ2β11 in the absence of exposure–mediator and mediator–mediator interactions.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 31/55

slide-116
SLIDE 116

Setting the scene Case study Q&A Wrapping up References

Suppose the outcome obeys the model: E(Y|X = x, M1 = m1, M2 = m2, C = c) = θ0 + θ1x + θ2m1 + θ3m2 + θ4m1m2 + θ5xm1 + θ6xm2 + θT

7 c

and the mediators (M1, M2), conditional on X and C, have means E(Mj|X = x, C = c) = β0j + β1jx + βT

2jc,

with residual variances σ2

j , j = 1, 2, and covariance σ12.

The interventional indirect effect via M2 is

  • θ3 + θ4
  • β01 + β11 + βT

21E(C)

  • + θ6
  • β12

which is θ3β12 in the absence of exposure–mediator and mediator–mediator interactions.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 32/55

slide-117
SLIDE 117

Setting the scene Case study Q&A Wrapping up References

Suppose the outcome obeys the model: E(Y|X = x, M1 = m1, M2 = m2, C = c) = θ0 + θ1x + θ2m1 + θ3m2 + θ4m1m2 + θ5xm1 + θ6xm2 + θT

7 c

and the mediators (M1, M2), conditional on X and C, have means E(Mj|X = x, C = c) = β0j + β1jx + βT

2jc,

with residual variances σ2

j , j = 1, 2, and covariance σ12.

Finally, the indirect effect resulting from the effect of exposure on the mediators’ dependence (the ‘remainder’ term) is θ4σ12 − θ4σ12 = 0

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 33/55

slide-118
SLIDE 118

Setting the scene Case study Q&A Wrapping up References

Suppose the outcome obeys the model: E(Y|X = x, M1 = m1, M2 = m2, C = c) = θ0 + θ1x + θ2m1 + θ3m2 + θ4m1m2 + θ5xm1 + θ6xm2 + θT

7 c

and the mediators (M1, M2), conditional on X and C, have means E(M1|X = x, C = c) = β01 + β11x + βT

21c

E(M2|M1 = m1, X = x, C = c) = β02 + β12x + βT

22c + β32m1 + β42xm1

with residual variances σ2

j , j = 1, 2, and covariance σ12.

If instead, X and M1 interacted in their effect on M2 in the sense above then the remainder term would be σ2

1θ4β42

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 34/55

slide-119
SLIDE 119

Setting the scene Case study Q&A Wrapping up References

  • This regression approach has the drawback that it requires a new

derivation each time a different outcome or mediator model is considered.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 35/55

slide-120
SLIDE 120

Setting the scene Case study Q&A Wrapping up References

  • This regression approach has the drawback that it requires a new

derivation each time a different outcome or mediator model is considered.

  • This can be remedied via a Monte-Carlo approach, which involves

sampling counterfactual values of the mediators from their respective distributions.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 35/55

slide-121
SLIDE 121

Setting the scene Case study Q&A Wrapping up References

For instance, to evaluate the first component

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} P{M1(1) = m1|C = c} P{M2(0) = m2|C = c}P(C = c)

  • f the interventional indirect effect through M1, we can:

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 36/55

slide-122
SLIDE 122

Setting the scene Case study Q&A Wrapping up References

For instance, to evaluate the first component

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} P{M1(1) = m1|C = c} P{M2(0) = m2|C = c}P(C = c)

  • f the interventional indirect effect through M1, we can:
  • take a random draw M2,i(0) for each subject i from the (fitted)

distribution P(M2|X = 0, Ci)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 36/55

slide-123
SLIDE 123

Setting the scene Case study Q&A Wrapping up References

For instance, to evaluate the first component

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} P{M1(1) = m1|C = c} P{M2(0) = m2|C = c}P(C = c)

  • f the interventional indirect effect through M1, we can:
  • take a random draw M2,i(0) for each subject i from the (fitted)

distribution P(M2|X = 0, Ci)

  • then take a random draw M1,i(1) for each subject i from the (fitted)

distribution P(M1|X = 1, Ci)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 36/55

slide-124
SLIDE 124

Setting the scene Case study Q&A Wrapping up References

For instance, to evaluate the first component

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} P{M1(1) = m1|C = c} P{M2(0) = m2|C = c}P(C = c)

  • f the interventional indirect effect through M1, we can:
  • take a random draw M2,i(0) for each subject i from the (fitted)

distribution P(M2|X = 0, Ci)

  • then take a random draw M1,i(1) for each subject i from the (fitted)

distribution P(M1|X = 1, Ci)

  • Finally, we predict the outcome as the expected outcome under a

suitable model with exposure set to 1, M1 set to M1,i(1), M2 set to M1,i(0), and covariates Ci.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 36/55

slide-125
SLIDE 125

Setting the scene Case study Q&A Wrapping up References

For instance, to evaluate the first component

  • c
  • m1
  • m2

E {Y(1, m1, m2)|C = c} P{M1(1) = m1|C = c} P{M2(0) = m2|C = c}P(C = c)

  • f the interventional indirect effect through M1, we can:
  • take a random draw M2,i(0) for each subject i from the (fitted)

distribution P(M2|X = 0, Ci)

  • then take a random draw M1,i(1) for each subject i from the (fitted)

distribution P(M1|X = 1, Ci)

  • Finally, we predict the outcome as the expected outcome under a

suitable model with exposure set to 1, M1 set to M1,i(1), M2 set to M1,i(0), and covariates Ci.

  • The average of these fitted values across subjects then estimates the

above component.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 36/55

slide-126
SLIDE 126

Setting the scene Case study Q&A Wrapping up References

  • Its performance can be improved by repeating the random sampling

many times and averaging the results across the different Monte-Carlo runs.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 37/55

slide-127
SLIDE 127

Setting the scene Case study Q&A Wrapping up References

  • Its performance can be improved by repeating the random sampling

many times and averaging the results across the different Monte-Carlo runs.

  • In practice, we recommend the bootstrap for inference.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 37/55

slide-128
SLIDE 128

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 38/55

slide-129
SLIDE 129

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: reminder

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 39/55

slide-130
SLIDE 130

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: reminder

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

  • Survival to 1 year: 95.9% in higher SES women vs. 93.2% in lower

SES women

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 39/55

slide-131
SLIDE 131

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: reminder

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

  • Survival to 1 year: 95.9% in higher SES women vs. 93.2% in lower

SES women

  • Survival to 5 years: 64.7% vs. 54.1%

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 39/55

slide-132
SLIDE 132

Setting the scene Case study Q&A Wrapping up References

NYCRIS data: reminder

  • Northern and Yorkshire Cancer Registry Information Service

(NYCRIS), a population-based cancer registry covering 12% of the English population

  • Survival to 1 year: 95.9% in higher SES women vs. 93.2% in lower

SES women

  • Survival to 5 years: 64.7% vs. 54.1%
  • Question: what explains this? Screening? Treatment?

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 39/55

slide-133
SLIDE 133

Setting the scene Case study Q&A Wrapping up References

Pseudo NYCRIS data

  • Simulated data: 29,580 women mimicking all those diagnosed with

malignant, invasive breast cancer 2000–2006.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 40/55

slide-134
SLIDE 134

Setting the scene Case study Q&A Wrapping up References

Pseudo NYCRIS data

  • Simulated data: 29,580 women mimicking all those diagnosed with

malignant, invasive breast cancer 2000–2006.

  • X: SES (dichotomised for simplicity, from IMD2001)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 40/55

slide-135
SLIDE 135

Setting the scene Case study Q&A Wrapping up References

Pseudo NYCRIS data

  • Simulated data: 29,580 women mimicking all those diagnosed with

malignant, invasive breast cancer 2000–2006.

  • X: SES (dichotomised for simplicity, from IMD2001)
  • M1: Age (m1a) and stage (m1b) (TNM stage 1-2 vs 3-4) at diagnosis

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 40/55

slide-136
SLIDE 136

Setting the scene Case study Q&A Wrapping up References

Pseudo NYCRIS data

  • Simulated data: 29,580 women mimicking all those diagnosed with

malignant, invasive breast cancer 2000–2006.

  • X: SES (dichotomised for simplicity, from IMD2001)
  • M1: Age (m1a) and stage (m1b) (TNM stage 1-2 vs 3-4) at diagnosis
  • M2: Treatment (‘major’ vs ‘minor or no’ surgery)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 40/55

slide-137
SLIDE 137

Setting the scene Case study Q&A Wrapping up References

Pseudo NYCRIS data

  • Simulated data: 29,580 women mimicking all those diagnosed with

malignant, invasive breast cancer 2000–2006.

  • X: SES (dichotomised for simplicity, from IMD2001)
  • M1: Age (m1a) and stage (m1b) (TNM stage 1-2 vs 3-4) at diagnosis
  • M2: Treatment (‘major’ vs ‘minor or no’ surgery)
  • Y: Survival to 1-year post diagnosis

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 40/55

slide-138
SLIDE 138

Setting the scene Case study Q&A Wrapping up References

Pseudo NYCRIS data

  • Simulated data: 29,580 women mimicking all those diagnosed with

malignant, invasive breast cancer 2000–2006.

  • X: SES (dichotomised for simplicity, from IMD2001)
  • M1: Age (m1a) and stage (m1b) (TNM stage 1-2 vs 3-4) at diagnosis
  • M2: Treatment (‘major’ vs ‘minor or no’ surgery)
  • Y: Survival to 1-year post diagnosis
  • C: Region (c1), year of diagnosis (c2)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 40/55

slide-139
SLIDE 139

Setting the scene Case study Q&A Wrapping up References

Causal diagram

Region Year at diagnosis SES U V W {Stage, age (at diagnosis)} Treatment 1-yr survival

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 41/55

slide-140
SLIDE 140

Setting the scene Case study Q&A Wrapping up References

Tasks

Question 1 Familiarise yourselves with the dataset and start by exploring mediation using a traditional approach. For example, you could fit a logistic regression to the outcome given exposure and confounders, and then add in treatment and age/stage at diagnosis, one at a time, looking at how the exposure coefficient changes. In addition to the problems we identified yesterday, do you now see a new problem with using logistic regression for traditional mediation analysis in this way?

For help with Stata syntax, see CaseStudy2 Q1.do.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 42/55

slide-141
SLIDE 141

Setting the scene Case study Q&A Wrapping up References

Tasks

Question 2 Now investigate more formally using the sequential mediation analysis approach described at the beginning of the workshop. I suggest that you use the same approach as we used at the end of yesterday’s workshop, i.e. using Monte Carlo simulation. It’s probably best to start without including interactions in the models, and then to add these in a second analysis. The inter- actions are in fact strong in this example, and so it is important that you include them eventually.

For more help with the Stata syntax, see CaseStudy2 Q2.do.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 43/55

slide-142
SLIDE 142

Setting the scene Case study Q&A Wrapping up References

Tasks

Question 3 Finally, again using MC simulation, estimate the interventional multiple mediator effects. How large is the remainder (mediated dependence) term? Can you interpret it in terms of public health?

For more help with the Stata syntax, see CaseStudy2 Q3.do.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 44/55

slide-143
SLIDE 143

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 45/55

slide-144
SLIDE 144

Setting the scene Case study Q&A Wrapping up References

Results

Original data, so some differences with the simulated dataset, but similar message

  • Mediation estimands estimated using Monte Carlo simulation

(6,000,000 draws, 1,000 bootstrap samples)

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 46/55

slide-145
SLIDE 145

Setting the scene Case study Q&A Wrapping up References

Results

Original data, so some differences with the simulated dataset, but similar message

  • Mediation estimands estimated using Monte Carlo simulation

(6,000,000 draws, 1,000 bootstrap samples)

  • All interactions included in all models.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 46/55

slide-146
SLIDE 146

Setting the scene Case study Q&A Wrapping up References

Results

Original data, so some differences with the simulated dataset, but similar message

  • Mediation estimands estimated using Monte Carlo simulation

(6,000,000 draws, 1,000 bootstrap samples)

  • All interactions included in all models.

Effect Estimate Bootstrap 95% CI SE lower upper Total causal effect 0.028 0.0028 0.023 0.034 Int DE 0.013 0.0027 0.008 0.018 Int IE through M1 0.007 0.0008 0.005 0.008 Int IE through M2 0.0002 0.0003 –0.0005 0.0008 Remainder 0.007 0.0009 0.005 0.009

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 46/55

slide-147
SLIDE 147

Setting the scene Case study Q&A Wrapping up References

Results

Original data, so some differences with the simulated dataset, but similar message

  • Mediation estimands estimated using Monte Carlo simulation

(6,000,000 draws, 1,000 bootstrap samples)

  • All interactions included in all models.

Effect Estimate Bootstrap 95% CI SE lower upper Total causal effect 0.028 0.0028 0.023 0.034 Int DE 0.013 0.0027 0.008 0.018 Int IE through M1 0.007 0.0008 0.005 0.008 Int IE through M2 0.0002 0.0003 –0.0005 0.0008 Remainder 0.007 0.0009 0.005 0.009

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 46/55

slide-148
SLIDE 148

Setting the scene Case study Q&A Wrapping up References

Results: explaining the remainder term

Results of logistic regression of Treatment (M2) on SES (X), Stage and Age at diagnosis (M1), and Region and Year of diagnosis (C):

Estimate SE 95% CI lower upper Baseline odds∗ 4.796 0.226 4.373 5.261 Conditional odds ratios SES higher 0.725 0.026 0.677 0.777 Age at diagnosis (yrs)∗∗ 0.937 0.002 0.934 0.941 Stage advanced 0.186 0.009 0.169 0.205 SES×Agediag 1.033 0.003 1.027 1.038 SES×Stage 1.799 0.152 1.525 2.123 Agediag×Stage 1.014 0.004 1.007 1.021 SES×Agediag×Stage 0.974 0.006 0.962 0.985 Region North-West 1.806 0.155 1.526 2.138 Yorks 0.795 0.025 0.747 0.846 Year of diagnosis 2001 1.089 0.061 0.976 1.214 2002 1.119 0.062 1.003 1.249 2003 1.248 0.069 1.120 1.390 2004 1.429 0.081 1.280 1.596 2005 1.411 0.079 1.265 1.575 2006 1.442 0.082 1.291 1.611 Treatment is coded 1 for major surgery and 0 for minor or no surgery. ∗ estimated odds of major surgery for women diagnosed in the North East region in 2000, with low SES, age at diagnosis 62 years and early stage. ∗∗ centred at the mean age at diagnosis (61.8 years) Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 47/55

slide-149
SLIDE 149

Setting the scene Case study Q&A Wrapping up References

Results: explaining the remainder term

Results of logistic regression of Treatment (M2) on SES (X), Stage and Age at diagnosis (M1), and Region and Year of diagnosis (C):

Estimate SE 95% CI lower upper Baseline odds∗ 4.796 0.226 4.373 5.261 Conditional odds ratios SES higher 0.725 0.026 0.677 0.777 Age at diagnosis (yrs)∗∗ 0.937 0.002 0.934 0.941 Stage advanced 0.186 0.009 0.169 0.205 SES×Agediag 1.033 0.003 1.027 1.038 SES×Stage 1.799 0.152 1.525 2.123 Agediag×Stage 1.014 0.004 1.007 1.021 SES×Agediag×Stage 0.974 0.006 0.962 0.985 Region North-West 1.806 0.155 1.526 2.138 Yorks 0.795 0.025 0.747 0.846 Year of diagnosis 2001 1.089 0.061 0.976 1.214 2002 1.119 0.062 1.003 1.249 2003 1.248 0.069 1.120 1.390 2004 1.429 0.081 1.280 1.596 2005 1.411 0.079 1.265 1.575 2006 1.442 0.082 1.291 1.611 Treatment is coded 1 for major surgery and 0 for minor or no surgery. ∗ estimated odds of major surgery for women diagnosed in the North East region in 2000, with low SES, age at diagnosis 62 years and early stage. ∗∗ centred at the mean age at diagnosis (61.8 years) Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 47/55

slide-150
SLIDE 150

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (1)

  • Without relying on any cross-world assumptions nor any assumptions

about the causal structure of the mediators, our results would suggest that, of the 2.8% (95% CI 2.3%–3.4%) total difference in survival probability, about a quarter of this (0.7%, 95%CI 0.5%–0.9%) is mediated by the dependence of treatment on stage and age at diagnosis.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 48/55

slide-151
SLIDE 151

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (1)

  • Without relying on any cross-world assumptions nor any assumptions

about the causal structure of the mediators, our results would suggest that, of the 2.8% (95% CI 2.3%–3.4%) total difference in survival probability, about a quarter of this (0.7%, 95%CI 0.5%–0.9%) is mediated by the dependence of treatment on stage and age at diagnosis.

  • Recall that we expected this effect to be small, except when there are

particular interactions present, as is the case here.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 48/55

slide-152
SLIDE 152

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (1)

  • Without relying on any cross-world assumptions nor any assumptions

about the causal structure of the mediators, our results would suggest that, of the 2.8% (95% CI 2.3%–3.4%) total difference in survival probability, about a quarter of this (0.7%, 95%CI 0.5%–0.9%) is mediated by the dependence of treatment on stage and age at diagnosis.

  • Recall that we expected this effect to be small, except when there are

particular interactions present, as is the case here.

  • There is a negative association between age/stage and treatment:

those who are older and/or diagnosed at an advanced stage are less likely to receive major surgery.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 48/55

slide-153
SLIDE 153

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (1)

  • Without relying on any cross-world assumptions nor any assumptions

about the causal structure of the mediators, our results would suggest that, of the 2.8% (95% CI 2.3%–3.4%) total difference in survival probability, about a quarter of this (0.7%, 95%CI 0.5%–0.9%) is mediated by the dependence of treatment on stage and age at diagnosis.

  • Recall that we expected this effect to be small, except when there are

particular interactions present, as is the case here.

  • There is a negative association between age/stage and treatment:

those who are older and/or diagnosed at an advanced stage are less likely to receive major surgery.

  • One possible interpretation would be that doctors and/or patients

decide that treatment is not likely to be beneficial for older patients and/or those with advanced disease, or that surgical treatment is substantially delayed for these patients due to tumor-reducing treatments such as chemotherapy being prioritised first.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 48/55

slide-154
SLIDE 154

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (2)

  • This negative association is less pronounced for women of higher

SES.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 49/55

slide-155
SLIDE 155

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (2)

  • This negative association is less pronounced for women of higher

SES.

  • Therefore, we would interpret this estimated 0.7% as the increase in

survival that would be expected if the treatment decision, as a function of stage and age at diagnosis (and baseline confounders), would be made for poorer women as it is currently made for higher SES women.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 49/55

slide-156
SLIDE 156

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (2)

  • This negative association is less pronounced for women of higher

SES.

  • Therefore, we would interpret this estimated 0.7% as the increase in

survival that would be expected if the treatment decision, as a function of stage and age at diagnosis (and baseline confounders), would be made for poorer women as it is currently made for higher SES women.

  • There is little evidence of further mediation through the treatment

variable (estimated effect 0.02%, 95% CI: –0.05, 0.08%), and evidence of an effect through age and stage at diagnosis (estimated effect 0.7%, 95%CI 0.5%–0.8%).

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 49/55

slide-157
SLIDE 157

Setting the scene Case study Q&A Wrapping up References

Interpretation of results (2)

  • This negative association is less pronounced for women of higher

SES.

  • Therefore, we would interpret this estimated 0.7% as the increase in

survival that would be expected if the treatment decision, as a function of stage and age at diagnosis (and baseline confounders), would be made for poorer women as it is currently made for higher SES women.

  • There is little evidence of further mediation through the treatment

variable (estimated effect 0.02%, 95% CI: –0.05, 0.08%), and evidence of an effect through age and stage at diagnosis (estimated effect 0.7%, 95%CI 0.5%–0.8%).

  • This would suggest that an additional 0.7% reduction in one-year

mortality for lower SES women could be achieved if the distribution of age and stage at diagnosis (given year of diagnosis and region) were changed from that seen in lower SES women to that of higher SES women, a change that could perhaps be affected by encouraging better uptake of screening and other health-seeking behaviour among lower SES women.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 49/55

slide-158
SLIDE 158

Setting the scene Case study Q&A Wrapping up References

Summary (1)

  • Mediation analysis, although intuitive and with a long history, is a

surprisingly subtle business as soon as there are any non-linearities in the picture.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 50/55

slide-159
SLIDE 159

Setting the scene Case study Q&A Wrapping up References

Summary (1)

  • Mediation analysis, although intuitive and with a long history, is a

surprisingly subtle business as soon as there are any non-linearities in the picture.

  • Advances thanks to the field of causal inference have greatly clarified

these subtleties, giving rise to clear estimands that capture the notions of direct and indirect effects, clear assumptions under which these can be identified, and flexible estimation methods.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 50/55

slide-160
SLIDE 160

Setting the scene Case study Q&A Wrapping up References

Summary (1)

  • Mediation analysis, although intuitive and with a long history, is a

surprisingly subtle business as soon as there are any non-linearities in the picture.

  • Advances thanks to the field of causal inference have greatly clarified

these subtleties, giving rise to clear estimands that capture the notions of direct and indirect effects, clear assumptions under which these can be identified, and flexible estimation methods.

  • However, this endeavour has been limited by the extremely strong

and untestable cross-world assumption.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 50/55

slide-161
SLIDE 161

Setting the scene Case study Q&A Wrapping up References

Summary (1)

  • Mediation analysis, although intuitive and with a long history, is a

surprisingly subtle business as soon as there are any non-linearities in the picture.

  • Advances thanks to the field of causal inference have greatly clarified

these subtleties, giving rise to clear estimands that capture the notions of direct and indirect effects, clear assumptions under which these can be identified, and flexible estimation methods.

  • However, this endeavour has been limited by the extremely strong

and untestable cross-world assumption.

  • This has effectively prohibited flexible multiple mediation analyses,

even though applied problems frequently involve multiple mediators.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 50/55

slide-162
SLIDE 162

Setting the scene Case study Q&A Wrapping up References

Summary (1)

  • Mediation analysis, although intuitive and with a long history, is a

surprisingly subtle business as soon as there are any non-linearities in the picture.

  • Advances thanks to the field of causal inference have greatly clarified

these subtleties, giving rise to clear estimands that capture the notions of direct and indirect effects, clear assumptions under which these can be identified, and flexible estimation methods.

  • However, this endeavour has been limited by the extremely strong

and untestable cross-world assumption.

  • This has effectively prohibited flexible multiple mediation analyses,

even though applied problems frequently involve multiple mediators.

  • Interventional effects are perhaps the way forward, since they don’t

require this cross-world assumption.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 50/55

slide-163
SLIDE 163

Setting the scene Case study Q&A Wrapping up References

Summary (2)

  • We have shown how interventional effects can be used in multiple

mediator settings.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 51/55

slide-164
SLIDE 164

Setting the scene Case study Q&A Wrapping up References

Summary (2)

  • We have shown how interventional effects can be used in multiple

mediator settings.

  • A big advantage of our approach is that no assumption need be

made regarding the causal structure of the mediators.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 51/55

slide-165
SLIDE 165

Setting the scene Case study Q&A Wrapping up References

Summary (2)

  • We have shown how interventional effects can be used in multiple

mediator settings.

  • A big advantage of our approach is that no assumption need be

made regarding the causal structure of the mediators.

  • The price we must pay for this is that the decomposition includes a

‘remainder’ term which can be interpreted as a mediated dependence.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 51/55

slide-166
SLIDE 166

Setting the scene Case study Q&A Wrapping up References

Summary (2)

  • We have shown how interventional effects can be used in multiple

mediator settings.

  • A big advantage of our approach is that no assumption need be

made regarding the causal structure of the mediators.

  • The price we must pay for this is that the decomposition includes a

‘remainder’ term which can be interpreted as a mediated dependence.

  • We have seen that at least in some settings, this parameter has a

real-world interpretation.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 51/55

slide-167
SLIDE 167

Setting the scene Case study Q&A Wrapping up References

Summary (2)

  • We have shown how interventional effects can be used in multiple

mediator settings.

  • A big advantage of our approach is that no assumption need be

made regarding the causal structure of the mediators.

  • The price we must pay for this is that the decomposition includes a

‘remainder’ term which can be interpreted as a mediated dependence.

  • We have seen that at least in some settings, this parameter has a

real-world interpretation.

  • Currently we are working on scaling this up to problems with (many)

more than 2 mediators, including the incorporation of machine learning methods (via TMLE).

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 51/55

slide-168
SLIDE 168

Setting the scene Case study Q&A Wrapping up References

Outline

1

Setting the scene Quick summary of yesterday Today’s case study Mediation analysis with multiple mediators Sequential mediation analysis Interventional effects for multiple mediators

2

Case study

3

Q&A

4

References

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 52/55

slide-169
SLIDE 169

Setting the scene Case study Q&A Wrapping up References

References: key textbook on causal mediation analysis

VanderWeele, T.J. (2015) Explanation in Causal Inference: Methods for Mediation and Interaction. Oxford University Press.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 53/55

slide-170
SLIDE 170

Setting the scene Case study Q&A Wrapping up References

References: on sequential mediation analysis and interventional effects

Vanderweele, T.J., Vansteelandt, S. and Robins, J.M. (2014) Effect decomposition in the presence of an exposure-induced mediator-outcome confounder. Epidemiology, 25:300–306. Vansteelandt, S. and Daniel, R.M. (2017) Interventional effects for mediation analysis with multiple mediators. Epidemiology, 28(2):258–265. VanderWeele TJ, Tchetgen Tchetgen EJ Mediation analysis with time-varying exposures and mediators JRSS B, in press.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 54/55

slide-171
SLIDE 171

Setting the scene Case study Q&A Wrapping up References

References: on natural path-specific effects with multiple mediators

Avin C, Shpitser I, Pearl J Identifiability of path-specific effects. Proceedings of the Nineteenth Joint Conference on Artificial Intelligence, pp 357–363, 2005. Albert JM, Nelson S Generalized causal mediation analysis. Biometrics, 67:1028–1038, 2011. Daniel RM, De Stavola BL, Cousens SN, Vansteelandt S Causal mediation analysis with multiple mediators. Biometrics, 71(1):1–14.

Rhian Daniel/Counterfactual-based mediation analysisWorkshop 2 55/55