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

Lecture slides stats1.13.l16.air

Date post: 10-May-2015
Category:
Upload: atutorte
View: 298 times
Download: 0 times
Share this document with a friend
Description:
Lecture slides stats1.13.l16.air
Popular Tags:
44
Statistics One Lecture 16 Analysis of Variance (ANOVA) 1
Transcript
Page 1: Lecture slides stats1.13.l16.air

Statistics One

Lecture 16 Analysis of Variance (ANOVA)

1

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

Two segments

•  One-way ANOVA •  Post-hoc tests

2

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

Lecture 16 ~ Segment 1

One-way ANOVA

3

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

Analysis of Variance (ANOVA) •  Appropriate when the predictors (IVs) are all

categorical and the outcome (DV) is continuous – Most common application is to analyze data

from randomized controlled experiments

4

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

Analysis of Variance (ANOVA) •  More specifically, randomized controlled

experiments that generate more than two group means –  If only two group means then use:

•  Independent t-test •  Dependent t-test

5

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

Analysis of Variance (ANOVA) •  If more than two group means then use: – Between groups ANOVA – Repeated measures ANOVA

6

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

Example

•  Working memory training – Four independent groups (8, 12, 17, 19)

•  IV: Number of training sessions •  DV: IQ gain

•  Null hypothesis: All groups are equal

7

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

Working memory training

8

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

Analysis of Variance (ANOVA)

•  ANOVA typically involves NHST •  The test statistic is the F-test (F-ratio) –  F = (Variance between groups) /

(Variance within groups)

9

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

Analysis of Variance (ANOVA)

•  Like the t-test and family of t-distributions •  The F-test has a family of F-distributions – The distribution to assume depends on

•  Number of subjects per group •  Number of groups

10

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

Analysis of Variance (ANOVA)

11

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

One-way ANOVA

•  F-ratio

12

F = between-groups variance / within-groups variance F = MSBetween / MSWithin F = MSA / MSS/A

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

One-way ANOVA

•  F = MSA / MSS/A

•  MSA = SSA / dfA

•  MSS/A = SSS/A/ dfS/A

13

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

One-way ANOVA

•  SSA = n Σ(Yj - YT)2

•  Yj are the group means •  YT is the grand mean

14

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

One-way ANOVA

•  SSS/A = Σ(Yij - Yj)2

•  Yij are individual scores •  Yj are the group means

15

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

One-way ANOVA

•  dfA = a - 1 •  dfS/A = a(n - 1) •  dfTOTAL = N - 1

16

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

Summary Table Source SS df MS F

A n Σ(Yj - YT)2

a - 1 SSA/dfA MSA /MSS/A

S/A Σ(Yij - Yj)2

a(n -1) SSS/A/dfS/A -----

Total Σ(Yij - YT)2

N - 1 ----- -----

17

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

Effect size

•  R2 = η2 (eta-sqaured) •  η2 = SSA / SSTotal

18

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

Assumptions

•  DV is continuous (interval or ratio variable) •  DV is normally distributed •  Homogeneity of variance

•  Within-groups variance is equivalent for all groups –  Levene’s test

19

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

Homogeneity of variance

•  If Levene’s test is significant then homogeneity of variance assumption has been violated – Conduct pairwise comparisons using a

restricted error term

20

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

Example

•  Working memory training – Four independent groups (8, 12, 17, 19)

•  IV: Number of training sessions •  DV: IQ gain

•  Null hypothesis: All groups are equal

21

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

Working memory training

22

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

Working memory training

23

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

Working memory training

24

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

Results from t-test: 12 vs. 17

25

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

Segment summary

•  ANOVA is used to compare means, typically in experimental research – Categorical IV – Continuous DV

26

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

Segment summary

•  ANOVA assumes homogeneity of variance – Evaluate with Levene’s test

27

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

Segment summary

•  Post-hoc tests, such as Tukey’s procedure, allow for multiple pairwise comparisons without an increase in the probability of a Type I error

28

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

END SEGMENT

29

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

Lecture 16 ~ Segment 2

Post-hoc tests

30

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

Post-hoc tests

•  Post-hoc tests, such as Tukey’s procedure, allow for multiple pairwise comparisons without an increase in the probability of a Type I error

31

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

Post-hoc tests

•  Many procedures are available; the degree to which p-values are adjusted varies according to procedure – Most liberal: No adjustment – Most conservative: Bonferroni procedure

32

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

NHST review

33

Retain H0 Reject H0

H0 true Correct Decision

Type I error (False alarm)

H0 false Type II error (Miss)

Correct Decision

Experimenter Decision

Truth

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

NHST review

34

Retain H0 Reject H0

H0 true Correct Decision

Type I error p = .05

H0 false Type II error (Miss)

Correct Decision

Experimenter Decision

Truth

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

NHST review

35

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

NHST review

36

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

Working memory training

37

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

Tukey’s procedure

38

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

Results from t-test: 12 vs. 17

39

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

Bonferroni procedure

40

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

Comparison of procedures Procedure p-value for 12 vs. 17

Independent t-test 0.0067

Tukey 0.0327

Bonferroni 0.0402

41

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

Post-hoc tests

•  Post-hoc tests, such as Tukey’s procedure, allow for multiple pairwise comparisons without an increase in the probability of a Type I error

•  Procedures vary from liberal to conservative

42

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

END SEGMENT

43

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

END LECTURE 16

44


Recommended