Lecture slides stats1.13.l14.air

36
Statistics One Lecture 14 Mediation 1

description

Lecture slides stats1.13.l14.air

Transcript of Lecture slides stats1.13.l14.air

Page 1: Lecture slides stats1.13.l14.air

Statistics One

Lecture 14 Mediation

1

Page 2: Lecture slides stats1.13.l14.air

Two segments

•  Standard approach •  Path analysis

2

Page 3: Lecture slides stats1.13.l14.air

Lecture 14 ~ Segment 1

Mediation: Standard approach

3

Page 4: Lecture slides stats1.13.l14.air

Mediation

•  Mediation and moderation may sounds alike but they are quite different – Moderation (Lecture 13) – Mediation (Lecture 14) – Both demonstrated in R (Lab 7)

4

Page 5: Lecture slides stats1.13.l14.air

Mediation

5

Mediator

Page 6: Lecture slides stats1.13.l14.air

An example

•  X: Experimental manipulation – Stereotype threat

•  Y: Behavioral outcome –  IQ score

•  M: Mediator (Mechanism) – Working memory capacity (WMC)

6

Page 7: Lecture slides stats1.13.l14.air

Mediation

•  A mediation analysis is typically conducted to better understand an observed effect of an IV on a DV or a correlation between X and Y

•  Why, and how, does stereotype threat influence IQ test performance?

7

Page 8: Lecture slides stats1.13.l14.air

Mediation

•  If X and Y are correlated then we can use regression to predict Y from X

•  Y = B0 + B1X + e

8

Page 9: Lecture slides stats1.13.l14.air

Mediation

•  If X and Y are correlated BECAUSE of the mediator M, then (X à M à Y):

•  Y = B0 + B1M + e & •  M = B0 + B1X + e

9

Page 10: Lecture slides stats1.13.l14.air

Mediation

•  If X and Y are correlated BECAUSE of the mediator M, and:

•  Y = B0 + B1M + B2X + e •  What will happen to the predictive value of X •  In other words, will B2 be significant?

10

Page 11: Lecture slides stats1.13.l14.air

Mediation

•  A mediator variable (M) accounts for some or all of the relationship between X and Y –  Some: Partial mediation –  All: Full mediation

11

Page 12: Lecture slides stats1.13.l14.air

Mediation

•  CAUTION! –  Correlation does not imply causation! –  In other words, there is a BIG difference between

statistical mediation and true causal mediation

12

Page 13: Lecture slides stats1.13.l14.air

How to test for mediation

•  Run three regression models •  lm(Y ~ X) •  lm(M ~ X) •  lm(Y ~ X + M)

13

Page 14: Lecture slides stats1.13.l14.air

How to test for mediation

•  Run three regression models •  lm(Y ~ X)

–  Regression coefficient for X should be significant

•  lm(M ~ X) –  Regression coefficient for X should be significant

14

Page 15: Lecture slides stats1.13.l14.air

How to test for mediation

•  Run three regression models •  lm(Y ~ X + M)

–  Regression coefficient for M should be significant –  Regression coefficient for X?

15

Page 16: Lecture slides stats1.13.l14.air

Back to the example

•  X: Experimental manipulation – Stereotype threat

•  Y: Behavioral outcome –  IQ score

•  M: Mediator (Mechanism) – Working memory capacity (WMC)

16

Page 17: Lecture slides stats1.13.l14.air

Simulated experiment & data

•  Students randomly assigned to one of two experimental conditions – Threat – Control

•  Students completed a working memory task •  Students completed an IQ test

17

Page 18: Lecture slides stats1.13.l14.air

Results

18

Page 19: Lecture slides stats1.13.l14.air

Results Control group Threat group

19

Page 20: Lecture slides stats1.13.l14.air

Interpretation

•  Full mediation – The direct effect is no longer significant after

adding the mediator into the regression equation

– The Sobel test is significant

20

Page 21: Lecture slides stats1.13.l14.air

END SEGMENT

21

Page 22: Lecture slides stats1.13.l14.air

Lecture 14 ~ Segment 2

Mediation: Path analysis approach

22

Page 23: Lecture slides stats1.13.l14.air

Mediation

•  Mediation analyses are typically illustrated using “path models”

•  Rectangles: Observed variables (X, Y, M) •  Circles: Unobserved variables (e) •  Triangles: Constants •  Arrows: Associations (more on these later)

23

Page 24: Lecture slides stats1.13.l14.air

Path model

•  Y = B0 + B1X + e

24

X Y e

1 B0 B1 1

Page 25: Lecture slides stats1.13.l14.air

Path model with a mediator

25

X Y e

1 B0 B1

M e

1

1

Page 26: Lecture slides stats1.13.l14.air

Path model with a mediator

•  To avoid confusion, let’s label the paths •  a: Path from X to M •  b: Path from M to Y •  c: Direct path from X to Y (before including M) •  c’: Direct path from X to Y (after including M) •  Note: (a*b) is known as the indirect path

26

Page 27: Lecture slides stats1.13.l14.air

Path model

27

X Y e

1 B0 c 1

Page 28: Lecture slides stats1.13.l14.air

Path model with a mediator

28

X Y e

1 B0 c’

M e

1

1

a b

Page 29: Lecture slides stats1.13.l14.air

How to test for mediation

•  Three regression equations can now be re-written with new notation:

•  Y = B0 + c(X) + e •  Y = B0 + c’(X) + b(M) + e •  M = B0 + a(X) + e

29

Page 30: Lecture slides stats1.13.l14.air

How to test for mediation

•  The Sobel test

– The null hypothesis •  The indirect effect is zero •  (Ba*Bb) = 0

30

z = (Ba* Bb) / SQRT[(Ba2 * SEb

2) + (Bb2 * SEa

2)]

Page 31: Lecture slides stats1.13.l14.air

Results

31

Page 32: Lecture slides stats1.13.l14.air

Path model

32

Threat IQ e

1 97.32 -11.00 1

Page 33: Lecture slides stats1.13.l14.air

Path model with a mediator

33

Threat IQ e

1 56.00 -2.41

WMC e

1

1 -11.42 .75

Page 34: Lecture slides stats1.13.l14.air

Mediation: Final comments

•  Here we used path analysis to *illustrate* the mediation analysis

•  It is also possible to test for mediation using a statistical procedure called: – Structural Equation Modeling (SEM)

34

Page 35: Lecture slides stats1.13.l14.air

END SEGMENT

35

Page 36: Lecture slides stats1.13.l14.air

END LECTURE 14

36