lecture slides stats1.13.l22.air

40
Statistics One Lecture 22 Non-parametric statistics

Upload: atutorte

Post on 14-Jun-2015

448 views

Category:

Education


0 download

DESCRIPTION

Lecture slides stats1.13.l22.air

TRANSCRIPT

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

Statistics One

Lecture 22 Non-parametric statistics

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

Two segments

•  Parametric vs. non-parametric statistics •  Examples

2

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

Lecture 22 ~ Segment 1

Parametric vs. non-parametric statistics

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

Parametric vs. non-parametric

•  Parametric statistics are used to make inferences about population parameters

4

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

Parametric vs. non-parametric

•  Examples covered in this course •  Regression coefficient •  Regression model R-squared •  Group mean •  Difference between group means •  Proportion of cases distributed across

categories

5

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

Parametric vs. non-parametric

•  In all these cases inferences were based on the sample statistics as well as NHST and/or confidence intervals

6

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

Parametric vs. non-parametric

•  As well, in all these cases we assumed a particular sampling distribution •  t •  F •  Chi-square

7

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

Parametric vs. non-parametric

8

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

Parametric vs. non-parametric

9

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

Parametric vs. non-parametric

10

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

Parametric vs. non-parametric

•  Inferences about population parameters are not valid if all assumptions are not met

•  When assumptions are violated sometimes a “quick fix” is possible and the parametric approach is still considered to be valid

11

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

Parametric vs. non-parametric

•  However, sometimes it is best to abandon the parametric approach and use a non-parametric procedure

12

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

Parametric vs. non-parametric

•  Non-parametric statistics do not assume that the data or population have any characteristic structure

13

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

Parametric vs. non-parametric

•  Correlation •  Regression •  t-tests •  ANOVA •  Chi-square

14

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

Parametric vs. non-parametric

•  Correlation •  Spearman’s rank correlation coefficient •  Kendall’s tau

•  Regression •  Non-parametric regression

15

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

Parametric vs. non-parametric

•  t-tests •  Independent: Mann-Whitney U test •  Dependent: Wilcoxan signed-rank test

•  ANOVA •  Kruskal-Wallis one-way •  Friedman two-way

•  Chi-square •  McNemar’s test •  Fisher’s exact test

16

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

Segment summary

•  Parametric statistics are used to make inferences about population parameters

17

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

Segment summary

•  Inferences about population parameters are not valid if all assumptions are not met

•  When assumptions are violated sometimes a “quick fix” is possible and the parametric approach is still considered to be valid

18

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

Segment summary

•  However, sometimes it is best to abandon the parametric approach and use a non-parametric procedure

19

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

Segment summary

•  Non-parametric statistics do not assume that the data or population have any characteristic structure •  Many procedures available

20

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

END SEGMENT

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

Lecture 22 ~ Segment 2

Non-parametric statistics Examples

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

Non-parametric examples

•  Two simple and popular tests covered in this course •  Paired samples t-test •  Independent t-test

23

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

Non-parametric examples

•  Here we will illustrate the non-parametric equivalent of these tests •  Wilcoxan’s ranking method •  Mann-Whitney U test

24

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

Wine tasting!

25

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

Non-parametric examples

•  Wilcoxan ranking method (Wilcoxan, 1945) – Null hypothesis •  Median difference between pairs = 0

– Alternative hypothesis •  Median difference between pairs != 0

26

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

Non-parametric examples

27

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

Wilcoxan: Null hypothesis true Red   White   Sign(S)   ABS   Rank(R)   S*R  

1   65   60   -­‐1   5   1   -­‐1  

2   60   70   +1   10   2   2  

3   65   80   +1   15   3   3  

4   85   65   -­‐1   20   4   -­‐4  

28

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

Wilcoxan: Null hypothesis false Red   White   Sign(S)   ABS   Rank(R)   S*R  

1   65   70   +1   5   1   1  

2   60   70   +1   10   2   2  

3   65   80   +1   15   3   3  

4   65   85   +1   20   4   4  

29

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

Wilcoxan: R output

30

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

Non-parametric examples

•  Mann Whitney U (Mann & Whitney, 1947) – Adapted Wilcoxan’s ranking method to compare

independent groups – Arrange all observations, regardless of group,

into a single ranked series

31

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

Non-parametric examples

•  Mann Whitney U (Mann & Whitney, 1947) – The sum of all ranks, Sum = N(N+1) / 2 •  For example, Sum = 4(5) / 2 = 10

– R = Sum of Ranks from one group – U = Sum - R

32

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

Mann Whitney: Null hypothesis true

Ra3ng   Group   Rank(R)  

1   60   A   1  

2   70   B   2  

3   80   B   3  

4   90   A   4  

33

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

Mann Whitney: Null hypothesis false

Ra3ng   Group   Rank(R)  

1   60   A   1  

2   70   A   2  

3   80   B   3  

4   90   B   4  

34

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

Non-parametric examples

35

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

Non-parametric examples

36

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

Segment summary

•  Two simple and popular tests covered in this course •  Paired samples t-test •  Independent t-test

37

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

Segment summary

•  Here we illustrated the non-parametric equivalent of these tests •  Wilcoxan’s ranking method •  Mann-Whitney U test

38

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

END SEGMENT

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

END LECTURE 22