Professional Documents
Culture Documents
Nonparametric Tests I: Back To Basics
Nonparametric Tests I: Back To Basics
Back to basics
Lecture Outline
What is a nonparametric test?
Rank tests, distribution free tests and
nonparametric tests
Which type of test to use
Lecture Outline
What is a nonparametric test?
What is a parameter?
What are examples of non-parametric
tests?
Parameters
are central to inference in GLM and
ANOVA
and represent assumptions about the
underlying processes
Parameters
are central to inference in GLM and
ANOVA
but represent assumptions about the
underlying processes
Parameters
are central to inference in GLM and
ANOVA
but represent assumptions about the
underlying processes
can be done without in some simple
situations
Parameters
are central to inference in GLM and
ANOVA
but represent assumptions about the
underlying processes
can be done without in some simple
situations BUT HOW?
Rnk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Wt Sex
0.29
1
0.32
2
0.34
1
0.34
2
0.34
2
0.36
1
0.36
1
0.37
1
0.37
1
0.37
1
0.37
2
0.37
2
0.38
1
0.38
1
0.38
2
0.38
2
0.39
2
0.40
2
0.40
2
0.40
2
0.41
1
0.41
1
0.41
2
0.41
2
0.41
2
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
0.41
0.42
0.43
0.43
0.43
0.45
0.45
0.45
0.45
0.46
0.47
0.47
0.48
0.48
0.48
0.48
0.49
0.49
0.50
0.50
0.50
0.50
0.50
0.51
0.51
2
1
1
2
2
1
2
2
2
2
1
1
1
1
2
2
2
2
1
1
1
2
2
1
2
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
0.52
0.52
0.52
0.53
0.53
0.55
0.56
0.56
0.56
0.57
0.58
0.58
0.59
0.59
0.59
0.60
0.61
0.61
0.62
0.62
0.62
0.62
0.62
0.63
0.63
1
2
2
2
2
2
1
1
1
1
2
2
1
2
2
1
1
2
1
1
2
2
2
1
2
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
0.65
0.66
0.67
0.67
0.67
0.67
0.68
0.71
0.72
0.73
0.75
0.75
0.77
0.78
0.78
0.78
0.82
0.83
0.85
0.85
0.88
0.98
0.98
1.05
1.13
1
1
1
2
2
2
1
1
2
1
1
1
1
1
2
2
2
1
1
2
1
1
1
1
1
Rnk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Wt Sex
0.29
1
0.32
2
0.34
1
0.34
2
0.34
2
0.36
1
0.36
1
0.37
1
0.37
1
0.37
1
0.37
2
0.37
2
0.38
1
0.38
1
0.38
2
0.38
2
0.39
2
0.40
2
0.40
2
0.40
2
0.41
1
0.41
1
0.41
2
0.41
2
0.41
2
Remember ties
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
0.41
0.42
0.43
0.43
0.43
0.45
0.45
0.45
0.45
0.46
0.47
0.47
0.48
0.48
0.48
0.48
0.49
0.49
0.50
0.50
0.50
0.50
0.50
0.51
0.51
2
1
1
2
2
1
2
2
2
2
1
1
1
1
2
2
2
2
1
1
1
2
2
1
2
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
0.52
0.52
0.52
0.53
0.53
0.55
0.56
0.56
0.56
0.57
0.58
0.58
0.59
0.59
0.59
0.60
0.61
0.61
0.62
0.62
0.62
0.62
0.62
0.63
0.63
1
2
2
2
2
2
1
1
1
1
2
2
1
2
2
1
1
2
1
1
2
2
2
1
2
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
0.65
0.66
0.67
0.67
0.67
0.67
0.68
0.71
0.72
0.73
0.75
0.75
0.77
0.78
0.78
0.78
0.82
0.83
0.85
0.85
0.88
0.98
0.98
1.05
1.13
1
1
1
2
2
2
1
1
2
1
1
1
1
1
2
2
2
1
1
2
1
1
1
1
1
140
120
100
80
60
40
20
0
0
10
20
30
40
50
60
Mean Rank
70
80
90 100
140
120
100
80
60
40
20
0
0
10
20
30
40
50
60
Mean Rank
70
80
90 100
N =
N =
50
50
Median =
Median =
0.5600
0.4950
140
120
100
80
60
40
20
0
0
10
20
30
40
50
60
Mean Rank
70
80
90 100
140
120
100
80
60
40
20
0
0
10
20
30
40
50
60
Mean Rank
70
80
90 100
Parameters
are central to inference in GLM and
ANOVA
but represent assumptions about the
underlying processes
can be done without in some simple
situations
Nonparametric vs Parametric
Nonparametric vs Parametric
Sign Test
One-sample t-test
Nonparametric vs Parametric
Sign Test
Mann-Whitney Test
One-sample t-test
Two-sample t-test
Nonparametric vs Parametric
Sign Test
Mann-Whitney Test
Spearman Rank Test
One-sample t-test
Two-sample t-test
Correlation/Regression
Nonparametric vs Parametric
Sign Test
Mann-Whitney Test
Spearman Rank Test
Kruskal-Wallis Test
One-sample t-test
Two-sample t-test
Correlation/Regression
One-way ANOVA
Nonparametric vs Parametric
Sign Test
Mann-Whitney Test
Spearman Rank Test
Kruskal-Wallis Test
Friedman Test
One-sample t-test
Two-sample t-test
Correlation/Regression
One-way ANOVA
One-way blocked ANOVA
Lecture Outline
What is a nonparametric test?
Rank tests, distribution free tests and
nonparametric tests
Which type of test to use
Lecture Outline
What is a nonparametric test?
Rank tests, distribution free tests and
nonparametric tests
Which type of test to use
How to choose:
If the assumptions of parametric test are
upheld, use it on grounds of efficiency
If not upheld, consider fixing the
assumptions (e.g. by transforming the
data, as in the practical)
If assumptions not fixable, use
nonparametric test
Lecture Outline
What is a nonparametric test?
Rank tests, distribution free tests and
nonparametric tests
Which type of test to use
Last remarks
Nonparametric tests are an opportunity
to revise the basic ideas of statistical
inference
They are sometimes useful in biology
They are often used in biology
NEXT WEEK: more nonparametrics,
including confidence intervals and
randomisation tests. READ the handout