Statistical Methods for Non parametric
Continuous Variables
Yilma ch, ass.t prof bio HI
2/28/2023 1
Objective
At the end of the presentation you will able to:
list non parametric statistical tests
describe sign test
test hypothess using sign test
2/28/2023 2
What is the Sign Test?
Thesigntestcomparesthesizesoftwogroups.
Itisanon-parametricor“distribution-free”test,whichmeans
thetestdoesn’tassumethedatacomesfromaparticular
distribution,likethenormaldistribution.
Thesigntestisanalternativetoaone-samplet-test.
Itcanalsobeusedforordered(ranked)categoricaldata.
2/28/2023 7
Example Hypothesis testing using sign test
N
o
Driver
injury(x)
passenger
injury(y)
sign(+,-)
(x-y)
Driver
injury(x)
passenger
injury(y)
sign(+,-)
(x-y)
1.42 35 + 36 37 -
2.42 35 + 36 37 -
3.34 45 - 43 58 -
434 45 - 40 42 -
5.45 45 0 43 58 -
6.40 42 - 37 41 -
7.42 46 - 37 41 -
8.43 58 - 44 57 -
9.45 43 + 42 42 0
Test at 95% confidence interval that the driver injury is equal to
passengers injury.
2/28/2023 16
Step 1. Ho : driver injury = passenger injury
HA : driver injury ≠ passenger injury
Step2.N=18-2=16(twoobservationscanceled)
N
+=3
N
-=13
BS=Max{N
+,N
-}
BS=13
Step3.appropriatetestissigntestα=5%
step 4. find p value from the table
2/28/2023 17
Sign test with large sample size
largesamplesize=N>30weuseZtest.
Z=(X±0.5)-N/2
0.5*√N
where:X=nooffewersign
N=totalpairofsample
wecanuseZ=(X+0.5)-N/2ifN/2>X
0.5*√N
2/28/2023 22
find the p value of Z from the table then:
P <α → reject the null hypothesis
2/28/2023 23
x= 12
As 24.5 > 12 we use the formula
Z=(X+0.5)-N/2
1/2√N
= (12 +0.5)-24.5
1/2 √49 Z= -3.43
3.43 > 1.96 or -3.43 < -1.96
•p-value of Z= -3.43 = 0.0003.
•Since the hypothesis is two sided, multiply 0.0003*2= 0.0006
0.0006 < 0.05 and 0.01
so, reject the null hypothesis at 5% as well as at 1%.
•Hence, training of two groups differ significantly.
2/28/2023 25