Professional Documents
Culture Documents
Non Paramteric Test 3
Non Paramteric Test 3
Non Paramteric Test 3
Dr.E.S.Jeevanand,
Associate Professor
Union Christian College. Aluva
What is Signed Rank Test
The Wilcoxon signed-ranks test is a non-
parametric equivalent of the paired t-test. It is
most commonly used to test for a difference in
the median of paired observations - whether
measurements on pairs of units or before and
after measurements on the same unit. It can
also be used as a one-sample test to test
whether a particular sample came from a
population with a specified median.
Wilcoxon Match-Pairs Signed Ranks Test
In paired sample sign test we have considered only the signs of
the difference of pair of observations. The magnitude of the
paired differences were not taken into account, result in
reduction of the power of the test very much. Wilcoxon Match-
Pairs Signed Ranks Test is also based on the paired differences
but it takes account of magnitudes of the differences also. So it
is much more powerful and accurate than sign test.
Wilcoxon Match-Pairs Signed Ranks Test
• In this case we test the equality of the location parameters of two population
based on paired Samples
• That is, we'll be interested in testing the null hypothesis:
𝐻 :𝑀 = 𝑀
4 2.1 1.9 10 2 4
• In this case we want to test
the hypothesis 𝟎 : 𝟏 𝟐 5 6.9 9.5 11 5.8 8.1
against 𝟏 : 𝟏 𝟐
6 2.4 2.3 12 7.5 19.9
Example II
Group No x y d=x-y Rank Signed rank
1 2.5 4 -1.5 5.5 -5.5
2 3.5 5.6 -2.1 9 -9
3 2.9 3.2 -0.3 3 -3
4 2.1 1.9 0.2 2 +2
5 6.9 9.5 -2.6 11 -11
6 2.4 2.3 0.1 1 +1
7 4.9 6.7 -1.8 7 -7
8 6.6 6 0.6 4 +4
9 2 3.5 -1.5 5.5 -5.5
10 2 4 -2 8 -8
11 5.8 8.1 -2.3 10 -10
12 7.5 19.9 -12.4 12 -12
Example II
For the Alternative Hypothesis 𝟏: 𝟏 𝟐
The rejection rule is:
• Reject H0 if W < T
Here W+ = 7, and W- =71
So W =min(W+,W-) = 7
From the Wilcoxon Table for N=12 and =0.05, = 17
Since we reject H0 and conclude that the median value of the two
treatment differs.
Normal Approximation with Wilcoxon
Match-Pairs Signed Ranks Test
If the number of observations N is greater than 20, we can use
a normal approximation. In this case W follows normal
distribution or Z distribution with
• The mean, μ = N(N+1)/4.
( )( )
• And the standard deviation σ =
( )( ) × ×
• σ= = = 53.146
( )
.
• = = -1.947
( )( ) .
• Since 𝜶 we accept H0 and conclude that the travel time under the
flextime program and times to arrive at work at 8 A.M are same.
The End
In the next section we will discuss about the Goodness of fit
test
esjmaths@gmail.com
9847915101, 8089684892