+ All Categories
Home > Education > Lecture slides stats1.13.l17.air

Lecture slides stats1.13.l17.air

Date post: 25-Dec-2014
Category:
Upload: atutorte
View: 96 times
Download: 2 times
Share this document with a friend
Description:
Lecture slides stats1.13.l17.air
47
Statistics One Lecture 17 Factorial ANOVA 1
Transcript
Page 1: Lecture slides stats1.13.l17.air

Statistics One

Lecture 17 Factorial ANOVA

1

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

Two segments

•  Factorial ANOVA •  Example

2

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

Lecture 17 ~ Segment 1

Factorial ANOVA

3

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

Factorial ANOVA

•  Two Independent Variables (IVs) •  One Dependent Variable (DV)

4

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

Example

•  Suppose an experiment is conducted to examine the effect of talking on a mobile phone while driving –  IV1: Driving difficulty –  IV2: Conversation demand

– DV: Driving errors

5

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

Example

6

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

Factorial ANOVA

•  Three hypotheses can be tested: – More errors in the difficult simulator? – More errors with more demanding conversation? – More errors due to the interaction of driving

difficulty and conversation demand?

7

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

Factorial ANOVA

•  Three F ratios – FA – FB – FAxB

8

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

Factorial ANOVA

•  Main effect: the effect of one IV averaged across the levels of the other IV

9

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

Example

10

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

Factorial ANOVA

•  Interaction effect: the effect of one IV depends on the other IV (the simple effects of one IV change across the levels of the other IV)

11

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

Example

12

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

Factorial ANOVA

•  Simple effect: the effect of one IV at a particular level of the other IV

13

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

Example

14

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

Factorial ANOVA

•  Main effects and interaction effect are independent from one another

15

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

Factorial ANOVA

•  Remember, factorial ANOVA is just a special case of multiple regression –  It is a multiple regression with perfectly

independent predictors (IVs)

16

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

Partition SS in the DV

17

SSA

SSB SSAxB

SSS/AB

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

Independent predictor variables

18

X1 X2 Y

X3

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

Remember, GLM

•  General Linear Model (GLM) •  Y = B0 + B1X1 + B2X2 + B3X3 + e

•  Y = DV •  X1 = A •  X2 = B •  X3 = (A*B)

19

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

F ratios

•  FA = MSA / MSS/AB •  FB = MSB / MSS/AB •  FAxB = MSAxB / MSS/AB

20

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

MS

•  MSA = SSA / dfA •  MSB = SSB / dfB •  MSAxB = SSAxB / dfAxB •  MSS/AB = SSS/AB / dfS/AB

21

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

df

•  dfA = a - 1 •  dfB = b - 1 •  dfAxB = (a -1)(b - 1) •  dfS/AB = ab(n - 1) •  dfTotal = abn - 1 = N - 1

22

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

Follow-up tests

•  Main effects – Post-hoc tests

•  Interaction – Analysis of simple effects

•  Conduct a series of one-way ANOVAs (or t-tests)

23

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

Effect size

•  Complete η2

•  η2 = SSeffect / SStotal

•  Partial η2

•  η2 = SSeffect / (SSeffect + SSS/AB)

24

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

Effect size (complete)

25

SSB

SSAxB SSA

SSS/AB

η2 for the interaction = SSAxB / SSTotal

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

Effect size (partial)

26

SSB

SSAxB SSA

SSS/AB

η2 for the interaction = SSAxB / (SSAxB + SSS/AB)

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

Assumptions

•  Assumptions underlying factorial ANOVA – DV is continuous (interval or ratio variable) – DV is normally distributed – Homogeneity of variance

27

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

Segment summary

•  Factorial ANOVA – Three F-tests (FA ,FB ,FAxB) – Main effects –  Interaction effect – Simple effects

28

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

Segment summary

•  Factorial ANOVA – Effect size (complete and partial eta-squared) – Post-hoc tests (follow main effects) – Simple effects analyses (follow interaction) – Homogeneity of variance assumption

•  Levene’s test

29

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

END SEGMENT

30

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

Lecture 17 ~ Segment 2

Factorial ANOVA Example

31

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

Example

•  Strayer and Johnson (2001) conducted an experiment to examine the effect of talking on a mobile phone while driving

•  They tested subjects in a driving simulator.

32

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

Example

•  To manipulate driving difficulty, they simply made the driving course in the simulator more or less difficult

33

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

Example

•  To manipulate conversation demand, they included two “talking” conditions: –  In one condition the subject simply had to repeat what they

heard on the other line of the phone

34

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

Example

•  To manipulate conversation demand, they included two “talking” conditions: –  In the other condition the subject had to think of and then say a

word beginning with the last letter of the last word spoken on the phone

–  For example, if you hear “ship”, say a word that begins with the letter “p”, such as “peach”

35

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

Example

•  IV1 = driving difficulty (easy, difficult) •  IV2 = conversation demand (none, low, high) •  DV = errors in driving simulator

36

Page 37: Lecture slides stats1.13.l17.air

Example

37

Page 38: Lecture slides stats1.13.l17.air

Results: Levene’s test

38

Page 39: Lecture slides stats1.13.l17.air

Results: Factorial ANOVA

39

Page 40: Lecture slides stats1.13.l17.air

Results: Simple effects

•  Simple effect of A at each level of B – Effect of driving difficulty at each level of

conversation demand

•  Simple effect of B at each level of A – Effect of conversation demand at each level of

driving difficulty

40

Page 41: Lecture slides stats1.13.l17.air

Example

41

Page 42: Lecture slides stats1.13.l17.air

Results: Simple effects

42

Page 43: Lecture slides stats1.13.l17.air

Results: Simple effects

43

Page 44: Lecture slides stats1.13.l17.air

Results: Simple effects

44

Page 45: Lecture slides stats1.13.l17.air

Segment summary

45

Page 46: Lecture slides stats1.13.l17.air

END SEGMENT

46

Page 47: Lecture slides stats1.13.l17.air

END LECTURE 17

47


Recommended