Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our...

21
1 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 1 X Bruce Weaver Human Sciences Division Seminar Series January 18, 2018 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 2 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 3 Faculty/Presenter Disclosure Bruce Weaver Relationships with commercial interests: NONE Potential for conflict(s) of interest: NONE B. Weaver Human Sciences Seminar Series, 18-Jan-2018 4 At the end of this program, participants will be able to: Describe statistical mediation. Describe confounding. Recognize that mediation and confounding are “identical statistically and can be distinguished only on conceptual grounds.” Recognize that detection of a statistically significant indirect effect when analyzing observational data does not prove that mediation has occurred. B. Weaver Human Sciences Seminar Series, 18-Jan-2018 5 This presentation has not undergone ethical review of any sort. Therefore, you listen at your own peril. B. Weaver Human Sciences Seminar Series, 18-Jan-2018 6

Transcript of Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our...

Page 1: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

1

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 1

X

Bruce WeaverHuman Sciences Division Seminar Series

January 18, 2018

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 2

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 3

Faculty/Presenter Disclosure

�Bruce Weaver

• Relationships with commercial interests: NONE

• Potential for conflict(s) of interest: NONE

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 4

At the end of this program, participants will be able to:

� Describe statistical mediation.

� Describe confounding.

� Recognize that mediation and confounding are “identical statistically and can be distinguished only on conceptual grounds.”

� Recognize that detection of a statistically significant indirect effect when analyzing observational data does not prove that mediation has occurred.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 5

�This presentation has not undergone ethical review of any sort.

�Therefore, you listen at your own peril.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 6

Page 2: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

2

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 7

In order to keep things relativelystraightforward, I’ll stick to the

simple 3-variable mediation model

That’s a relief. I was afraid things might get complicated.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 8

� Variable X is assumed to cause variable Y

� Path diagram for the unmediated model looks like this:

Source: http://davidakenny.net/cm/mediate.htm

Path c = total effect of X on Y(e.g., slope in a regression model)

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 9

� The causal effect of X on Y may be mediated by variable M� Path diagram for the mediated model looks like this:

Source: http://davidakenny.net/cm/mediate.htm

Path c′ = direct effectof X on Y

The a×b product = the indirect effect of X on Y

Total Effect = direct effect + indirect effect = c′ + a×b

Path from X ���� M ���� Yassumed to be causal

Direct effect of X on M

Direct effect of M on Y

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 10

Mediation analysis is concerned with estimating these effects, with most interest (typically) being on the indirect effect (a×b)

� One can use regression methods (e.g., Hayes’ PROCESS macro) or structural equation modeling (SEM)

� General agreement that SEM is the best method� Bootstrapped CIs recommended for indirect effects

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 11

�Mediation analysis estimates:� Direct effect of X on Y (c′)� Indirect effect of X on Y (a×b)� Total effect of X on Y (c′ + a×b)

�Confidence intervals are also computed� For the indirect effect (a×b), the usual asymptotic method

of computing the CI is considered inappropriate� Therefore, bootstrap CIs are usually computed� If CI excludes value of 0, effect is statistically significant

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 12

Page 3: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

3

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 13

�Unlike a mediator, a confounder is not on a (presumed) causal pathway between X and Y

(X) (Y)

(C)

�Education is associated with both X and Y, but is not on a causal pathway between them

�Therefore, it is a confounder , not a mediator

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 14

�A mediator is on a causal pathbetween X and Y

�A confounder is associated with both X and Y, but is not on a causal path between them

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 15

Source: https://www.slideshare.net/smackinnon/introduction-to-mediation

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 16

(X) (Y)

(M)

Path Diagram for the Mediation Model

(mediator)

RQ: Do health related behaviours mediate the relationship between conscientious personality and overall physical health?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 17 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 18

Indirect Effect of X on Y through M

Coefficient for a×b = .2050

95% CI: .1533 to .2645

If the CI for a*b does not include zero, then mediation has occurred!

Page 4: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

4

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 19

Results of the Mediation Analysis

0.21 / (0.21 + 0.26) = 0.447

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 20

One Final Point about this Example

This was an observational study—there was no manipulation of variables, and no

random allocation to groups.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 21 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 22

Example 1

�Multi-site longitudinal observational study of 928 drivers aged 70+

“We observed that specific attitudes towards driving (e.g., driving comfort, negative attitudes towards driving) mediate

the relations between health symptoms [X] and self-regulatory driving behaviours [Y] at baseline and over time.”

“Only negative attitudes towards driving fully mediated the relationships between changes in perceived health symptoms [X] and changes in driving behavior [Y].”

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 23

Example 2

�Observational study on the relationship between perfectionism (X) and psychological distress (Y) in university students

�Q. Are worry and rumination mediators?

“Worry and rumination mediated the relationship between socially prescribed perfectionism and

negative affect; however, the mediating effect of rumination was absent in those high in mindfulness.”

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 24

�In all 3 of these examples, mediation analysis was performed using observational data

�In all 3 cases, the authors concluded that some variable M mediated the association between X and Y

Page 5: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

5

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 25

�Yes, many authors who detect statistically significant indirect effects in mediation analyses using observational data summarize their results with a statement something like this:

M mediates the relationship between X and Y.

* I’m being very cautious here—I think I could safely say most!

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 26

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 27 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 28

By definition, a mediator is on a causal path between X and Y.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 29

Therefore, stating that M mediates the X-Y association is equivalent to saying

that X causes M, and M causes Y.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 30

How can one justify those claims when the analysis has been done

using observational data?

Page 6: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

6

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 31

Since when does correlation imply causation?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 32

These plots were created using the same observational data we used for the first

mediation analysis example.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 33

X causes Y, right?

Pearson r = .475 (95% CI, .404 to .541)

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 34

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 35

X causes Y, right?

Pearson r = .533 (95% CI, .466 to .593)

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 36

Page 7: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

7

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 37

Pearson r = .531 (95% CI, .464 to .592)

X causes Y, right?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 38

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 39

Therefore, X causes M and M causes Y, right?

Our mediation analysis example from earlier:

Indirect effect (a×b) = .2050 (BCa 95% CI: .1533, .2654)

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 40

Q.When using observational data, can we

really conclude, on the basis of a statistically significant indirect effect,

that mediation has occurred?

Judging by the way mediation analysts typically summarize their results, the answer would appear

to be YES, X causes M and M causes Y.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 41 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 42

Q.When using observational data, can we

really conclude, on the basis of a statistically significant indirect effect,

that mediation has occurred?

Judging by the way mediation analysts typically summarize their results, the answer would appear

to be YES, X causes M and M causes Y.

Page 8: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

8

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 43 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 44

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 45 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 46

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 47

Because M, the suspected mediator,

could be a confounder.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 48

Suppression is another name for negative confounding.

Page 9: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

9

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 49

�This paper describes the statistical similarities among mediation , confounding , and suppression.

�Each is quantified by measuring the change in the relationship between an independent and a dependent variable after adding a third variable to the analysis.

�Mediation and confounding are identical statistically and can be distinguished only on conceptual grounds .

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 50

�Mediation and confoundingare identical statistically and can be distinguished only on conceptual grounds .

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 51 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 52

X = BMI Y = Systolic BP

C = Age

Age is not on a causal pathway between BMI and systolic BP. Therefore it cannot be a mediator—it is a confounder.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 53

Observed

Coef.

Direct Effect 1.4781 1.3342 1.6367

Indirect Effect 0.3487 0.2896 0.4067

Total Effect 1.8268 1.6660 1.9825

Bootstrap

95% CI (BCa)

Results of Mediation Analysis

�The indirect effect of BMI on Systolic BP through Age is statistically significant

�This does not prove that Age is a mediator

95% CI excludes 0

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 54

?

Page 10: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

10

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 55

The “truth” about the third variable

Indirect Effect Detected

YES NO

Mediator

Confounder

Unrelated

Correct Type II error

Correct

Type I Error

Type II error

Correct

No statistical means of distinguishing between the 3 possible “truths”.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 56

�Mediation and confounding are identical statistically and can be distinguished only on conceptual grounds .

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 57 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 58

When mediation analysis is done using observational data , and the

indirect effect is statistically significant, researchers should notsummarize by stating that the third

variable (M) is a mediator .

Rather, they should say that the results are consistent with the

proposed mediation model, but do not rule out the possibility that M is merely a confounder , or that a

Type I error has occurred.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 59

1.What exactly do statisticians mean when they

say that correlation does not imply causation?

2. Why have I been emphasizing the use of observational data ?

Click here if we have time to address these questions

Click here if we do not have time

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 60

� Correlation in a general sense—i.e., association� Not restricted to Pearson’s r

(i.e., linear association)

� Includes curvilinear relationships and associations between categorical variables

� Really means statistical association on its own

� Logical implication� Not the more informal

meaning of hinting at something

Page 11: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

11

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 61

� In logic, the technical use of the word "implies" means "to be a sufficient circumstance."

� Indeed, p implies q has the technical meaning of logical implication: if p then q symbolized as p → q.

�That is "if circumstance p is true, then q necessarily follows."

� In this sense, it is always correct to say "Correlation does not imply causation ."

Source: http://psychology.wikia.com/wiki/Correlation_does_not_imply_causation

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 62

Q1What exactly do statisticians

mean when they say that correlation does not imply

causation?

A1They mean that statistical

association, on its own, does not logically imply causation.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 63 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 64

ECU Teacher Scholar Award Devout Pastafarian

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 65

Source: http://core.ecu.edu/psyc/wuenschk/StatHelp/Correlation-Causation.htm

When Does Correlation Imply Causation?

�Selected contributions from EDSTAT discussion� Includes a short essay by Karl�Also includes comments from other list members

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 66

�Accordingly, I argue that correlation is a necessary but not a sufficient condition to make causal inferences with reasonable confidence .

�Also necessary is an appropriate method of data collection .

�To make such causal inferences one must gather the data by experimental means, controlling extraneous variables which might confound the results.

Source: http://core.ecu.edu/psyc/wuenschk/StatHelp/Correlation-Causation.htm

Page 12: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

12

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 67

�Having gathered the data in this fashion, if one can establish that the experimentally manipulated variable is correlated with the dependent variable (and that correlation does not need to be linear), then one should be (somewhat) comfortable in making a causal inference.

�That is, when the data have been gathered by experimental means and confounds have been eliminated, correlation does imply causation .

Source: http://core.ecu.edu/psyc/wuenschk/StatHelp/Correlation-Causation.htm

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 68

Q2 Why have I been emphasizing the use of observational data ?

A2

Because as Karl Wuensch says, we are in the strongest position to infer causation when we have

experimental data, and have taken care to control for or

eliminate potential confounders.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 69

�Even with experimental data, and with care taken to control or eliminate confounders, Wuensch was very cautious in his wording:

� “…(somewhat) comfortable in making a causal inference”

� “…make causal inferences with reasonable confidence”

�This falls short of logical implication, where causation would necessarily follow from correlation

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 70

� I think Wuensch was right to be cautious

�At the risk of sounding like a Bayesian:

� We should (probably) think of confidence (or comfort) in making a causal inference as a continuum (0% to 100%), not as a Yes/No dichotomy

� We should think about the various factors that affect where we fall on that continuum:

• Study design

• Control of confounders

• Strength of association

• Etc.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 71

Click here if we have time to discuss Edward Tufte’s

comments on correlation & causation.

Click here if we do not have time

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 72

Probably the shortest true statement that can be made about causality and correlation is

"Empirically observed covariation is a necessary but not sufficient condition for causality." Or possibly "Correlation is not

causality but it sure is a hint." Or possibly this:

Source: https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003pg

Page 13: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

13

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 73

Source: https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0003pg

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 74

So a strong correlation hints at causation?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 75

Years from 2000 to 2009

Source: http://www.tylervigen.com/spurious-correlations

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 76

Pearson r = .947 (95% CI, .786 to .988)

A more conventional scatter-plot

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 77

Pearson r = .947 (95% CI, .786 to .988)

Q. Does this very strong correlation hint at a causal relationship?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 78

Page 14: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

14

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 79

Source: https://www.edwardtufte.com/bboard/q-

and-a-fetch-msg?msg_id=0003pg

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 80

Source: https://www.edwardtufte.com/bboard/q-

and-a-fetch-msg?msg_id=0003pg

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 81

Source: https://www.edwardtufte.com/bboard/q-

and-a-fetch-msg?msg_id=0003pg

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 82

Source: https://www.edwardtufte.com/bboard/q-

and-a-fetch-msg?msg_id=0003pg

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 83

Okay, are there any conditions under which a strong correlation does

hint at causation?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 84

Sir Austin Bradford Hill

� Sir Austin Bradford Hill FRS (July 8, 1897 - April 18, 1991),

� English epidemiologist and statistician

� Pioneered the randomized clinical trial (RCT)

� With Richard Doll, was the first to demonstrate the connection between cigarette smoking and lung cancer.

From http://en.wikipedia.org/wiki/Austin_Bradford_Hill

Page 15: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

15

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 85

Classic Essay on Establishing Causation

�Hill wrote the classic essay on “criteria” for establishing a causal relationship

� It can be read here: www.edwardtufte.com/tufte/hill�Hill asks,

� “What aspects of that association should we especially consider before deciding that the most likely interpretation of it is causation?”

�He then lists 9 aspects of association that ought to be considered

Note that Hill never referred to his 9 points as criteria! Others started using that term.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 86

Aspects of Association to be Considered

1. Strength of association2. Consistency (upon repetition)3. Specificity4. Temporality5. Biological gradient6. Plausibility7. Coherence 8. Experiment9. AnalogySir Austin Bradford Hill, FRS

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 87

CAUTION!�Hill’s “aspects of association” are often treated as a

checklist, all of which must be present in order to establish causality

�But that was never Hill’s intention

"None of my nine viewpoints can bring indisputable evidence for or

against the cause-and-effect hypothesis and none can be

required sine qua non."

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 88

Source: Prince, M., Stewart, R., Ford, T., & Hotopf, M. (2003). Practical psychiatric epidemiology. Oxford, New York.

Limitations of Hill’s Nine Viewpoints (1)

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 89

Source: Prince, M., Stewart, R., Ford, T., & Hotopf, M. (2003). Practical psychiatric epidemiology. Oxford, New York.

Limitations of Hill’s Nine Viewpoints (2)

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 90

Source: Prince, M., Stewart, R., Ford, T., & Hotopf, M. (2003). Practical psychiatric epidemiology. Oxford, New York.

Limitations of Hill’s Nine Viewpoints (3)

Page 16: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

16

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 91 B. Weaver Human Sciences Seminar Series, 18-Jan-2018 92

1. Has causation been established scientifically?

2. Should we act as if X causes Y?

The standard for taking action is lower than the standard for scientifically establishing causation.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 93

“ Finally, in passing from association to causation I

believe in ‘real life’ we shall have to consider what flows

from that decision.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 94

“On scientific grounds we should do no such thing. The evidence

is there to be judged on its merits and the judgment (in that

sense) should be utterly independent of what hangs upon it – or who hangs because of it.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 95

“ But in another and more practical sense we may

surely ask what is involved in our decision.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 96

“ In occupational medicine our object is usually to take action. If this be operative cause and that

be deleterious effect, then we shall wish to intervene to abolish

or reduce death or disease.

Page 17: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

17

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 97

“ While that is a commendable ambition, it almost inevitably

leads us to introduce differential standards before we convict.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 98

“Thus on relatively slight evidencewe might decide to restrict the use of a drug for early-morning sickness in pregnant women.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 99

“ If we are wrong in deducing causation from association no

great harm will be done. The good lady and the pharmaceutical

industry will doubtless survive.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 100

“ On fair evidence we might take action on what appears to be an

occupational hazard, e.g. we might change from a probably

carcinogenic oil to a non-carcinogenic oil in a limited

environment and without too much injustice if we are wrong.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 101

“ But we should need very strong evidence before we made people

burn a fuel in their homes that they do not like or stop smoking the

cigarettes and eating the fats and sugar that they do like.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 102

“ In asking for very strong evidence I would, however, repeat emphatically that this

does not imply crossing every ‘t’, and swords with every critic,

before we act.

Page 18: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

18

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 103

“All scientific work is incomplete –whether it be observational or

experimental. All scientific work is liable to be upset or modified by

advancing knowledge.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 104

“ That does not confer upon us a freedom to ignore the knowledge we already have, or to postpone

the action that it appears to demand at a given time.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 105

Q.When using observational data, can we

really conclude, on the basis of a statistically significant indirect effect,

that mediation has occurred?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 106

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 107

� “Mediation and confounding are identical statistically and can be distinguished only on conceptual grounds” (MacKinnon et al., 2002)

� When mediation analysis is performed using observational data, detection of a significant indirect effect does not prove that M is a mediator

� M could be a confounder; a Type I error may have occurred

� When analyzing observational data, authors ought to say that a significant indirect effect is consistent with the proposed mediation model, but does not rule out the possibility that M is a confounder, or that a Type I error has occurred

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 108

Okay…it’s over!

Time to wake up!

Any Questions?

Page 19: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

19

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 109

Contact Information

Bruce Weaver

Assistant Professor (and Statistical Curmudgeon)

NOSM, West Campus, MS-2006

E-mail: [email protected]

Tel: 807-346-7704

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 110

The Cutting Room Floor

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 111

Summary of Astrocat’s Key Points

�By definition, a mediator is on a causal pathbetween X and Y

�Therefore, claiming that M mediates the X-Y relationship is equivalent to saying that:

� X causes M, and

� M causes Y

�How can one justify those claims when the analysis has been done using observational data ?

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 112

In other words, finding an indirect effect of X on Y

through M does not prove that M is a mediator .

The same result can occur when M is a confounder !

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 113

Annual per capita chocolate consumption (kg)

Nob

el L

aure

ates

per

10

Mill

ion

Pop

ulat

ion

Canadians need to eat more chocolate!

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 114

ACTION TAKEN

CAUSAL RELATIONSHIP?

YES UNCERTAIN NO

YES a b cNO d e f

� Action (or non-action) congruent with reality in cells a and f

� Action (or non-action) incongruent with reality in cells c and d

� Acting when relationship is not causal (c)

� Failing to act when relationship is causal (d)

� Uncertain error status in cells b and e

� When deciding whether to act, we must weigh the costs & benefits of all courses of action under all states of nature

Page 20: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

20

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 115

Two Possible Logical Arguments

�A claim of mediation, I think, would have to be based on one of the following logical arguments:

1. If M mediates the X-Y relationship, then mediation analysis will show an indirect effect of X on Y through M.

2. If mediation analysis shows an indirect effect of X on Y through M, then M mediates the X-Y relationship.

� In either case, if a statistically significant indirect effect is observed, it is concluded that M mediates the relationship between X and Y.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 116

A closer look at argument 1

�Symbolically, Argument 1 looks like this :

� If P then Q.

� Q.

� Therefore P.

�This is classic example of the logical fallacy, affirming the consequent—it is not a valid form of argument

Let P = M is a mediatorLet Q = Indirect effect is significant

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 117

Another (possibly clearer) example

�P = I ate some pizza recently

�Q = I will not be hungry

� If I ate some pizza recently then I will not be hungry.

� I am not hungry.

� Therefore I ate some pizza recently.

�This is not a valid argument

�There are many possible reasons for my lack of hunger

� E.g., perhaps I ate something else; perhaps I am ill

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 118

Back to the original context

�P = M is a mediator

�Q = indirect effect is significant

� If M is a mediator then the indirect effect will be significant.

� The indirect effect is significant.

� Therefore M is a mediator.

�Changing the content of P and Q changes nothing—structurally, this is still not a valid argument

�M could be a confounder—i.e., associated with both X and Y but not on a causal pathway between them

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 119

Two Possible Logical Arguments

�A claim of mediation, I think, would have to be based on one of the following logical arguments:

1. If M mediates the X-Y relationship, then mediation analysis will show an indirect effect of X on Y through M.

2. If mediation analysis shows an indirect effect of X on Y through M, then M mediates the X-Y relationship.

� In either case, if a statistically significant indirect effect is observed, it is concluded that M mediates the relationship between X and Y.

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 120

Argument 2 is not valid

�Argument 2 is not valid because the if P then Q statement (i.e., the premise) is false .

�The statement, “If mediation analysis shows a significant indirect effect, then M is a mediator” is not correct .

� The observation of an indirect effect could signal the presence of confounding rather than mediation (MacKinnon et al., 2000)

Page 21: Weaver 2018 Mediation analysis using …core.ecu.edu/psyc/wuenschk/MV/MultReg/Weaver 2018...Our mediation analysis example from earlier: Indirect effect (a×b) = .2050 (BCa 95% CI:

21

B. Weaver Human Sciences Seminar Series, 18-Jan-2018 121