Week11 Non Parametric
Week11 Non Parametric
Nonparametric Statistics
Review and Preview
Sign Test
Wilcoxon Signed-Ranks Test for Matched
Pairs
Wilcoxon Rank-Sum Test for Two
Independent Samples
Kruskal-Wallis Test
Rank Correlation
Runs Test for Randomness
Critical Values:
Sign Test
Normal
Sign Test
Normal
H 0 : p 0.5
H1 : p 0.5
n
( x 0.5)
z 2
n
2
91
(23 0.5)
2
4.61
91
2
n(n 1)
T
z 4
n(n 1)(2n 1)
24
Critical Values:
1. For n ≤ 30, the critical T value is found in a
Wilcoxon Table.
2. For n > 30, the critical z values are found in
a Normal Distribution Table.
n1 (n1 n2 1)
where R
2
n1n2 (n1 n2 1)
R
12
n1 = size of the sample from which the rank sum R is found
n2 = size of the other sample
R = sum of ranks of the sample with size n1
Use a 0.05
significance level to
test the claim that
males and females
have the same
median pulse rate.
SIS 1037Y(1) 2020 -2021 64
Requirement Check: The sample
data are two independent random
samples, and the sample sizes are 12
and 11, which both exceed 10.
n1 (n1 n2 1) 12(12 11 1)
R 144
2 2
R R 123.5 144
z 1.26
R 16.248
12 2
R1 R2 2
Rk
2
H ... 3( N 1)
N ( N 1) n1 n2 nk
Critical Values
1. Test is right-tailed.
2. df = k – 1 (Because the test statistic H can be
approximated by the chi-square distribution, use
stats table ).
P-values are often found using technology
12 R1 R2 R3
2 2 2
H 3( N 1)
N ( N 1) n1 n2 n3
12 862 50.52 53.52
3(19 1)
19(19 1) 8 6 5
0.694
nxy (x)(y )
rs
n(x ) (x)
2 2
n(y )(y ) 2 2
192
1 0.429
336
We refer to stats table to find the critical
values of ±0.786.
G = number of runs
E E W W W W W E W E W E W W W
(2n1n2 )(2n1n2 n1 n2 )
G
(n1 n2 ) 2 (n1 n2 1)