{"id":140,"date":"2018-12-24T08:58:34","date_gmt":"2018-12-24T08:58:34","guid":{"rendered":"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=140"},"modified":"2018-12-24T09:14:26","modified_gmt":"2018-12-24T09:14:26","slug":"wilcoxon-signed-rank-test-i","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/chapter\/wilcoxon-signed-rank-test-i\/","title":{"rendered":"Wilcoxon Signed Rank Test I"},"content":{"raw":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/dAuiCSTilgw\" target=\"_blank\" rel=\"noopener\"><img src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a>\r\n<\/span><\/div>\r\n\r\n<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/dAuiCSTilgw\" target=\"_blank\" rel=\"noopener\"><img src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a>\r\n<\/span><\/div>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>1 Wilcoxon Signed Rank Test<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">This is another nonparametric alternative to Student's t test with the additional assumption of symmetry. This test is developed by Frank Wilcoxon(1945) but popularized by Sidney Siegel(1956). The procedure utilizes the signed rank of the observations and provides a distribution free test for location.<\/p>\r\n&nbsp;\r\n\r\n<strong>1.1\u00a0 Assumptions &amp; the hypothesis<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Suppose X1; X2; ::; Xn are iid observations from a symmetric location family of distributions F . Then F (x) = F (x (F )), where = (F ) is a location parameter. F is assumed to be continuous and symmetric , that is, F (x) + F ( x) = 1 for all x. Under symmetry is, therefore, the median of F. Then our objective is to provide a test for H0 : (F ) = 0 against the usual one or two sided alternatives. However, without any loss of generality, we can take 0 = 0<\/p>\r\n&nbsp;\r\n\r\n<strong>1.2\u00a0 Signed Rank<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The continuity assumption ensures that P (Xi = 0) = 0 for all i and that the observations are distinct with probability one. Suppose the observations are ranked in order of absolute value and ranked accordingly. Suppose Ri+ is the rank of jXij among fjX1j; jX2j; ::; jXnjg. Then signed rank of an observation is the rank of its absolute value multiplied by the sign of the original observation. If Zi = I(Xi &gt; 0), then the signed rank of the i th observation is ZiRi+; i = 1; 2; ::; n. The signed-rank sum T is de ned as the sum of the signed ranks, i.e.<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-142 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-45.png\" alt=\"\" width=\"539\" height=\"187\" \/>\r\n\r\nThen the signed rank sum is T = 37.\r\n\r\n&nbsp;\r\n\r\n<strong>1.3\u00a0 T as a test statistic<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Note that Xi is expected to be larger under &gt; 0 than under = 0. Thus a large(small) value of T implies that most of the large deviations from 0 are positive(negative). Therefore, a large(small) T is an indicator of positive(negative) . Then it seems reasonable to reject the null hypothesis against Ha : &gt; 0(Ha : &lt; 0) if T tend to be too large(or too small). Similarly too large and too small values of T indicates possible rejection of the null hypothesis against Ha : 6= 0.<\/p>\r\n&nbsp;\r\n\r\n<strong>2 T is distribution free!<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Now we shall show that the distribution of T does not depend on any F under the null hypothesis. Before we proceed further, we introduce the concept of antirank or inverse rank. If R = (R1; R2; ::; Rn) is a rank vector, the antirank vector is D, provided R o D = (RD1 ; RD2 ; ::; RDn ) = (1; 2; ::; n).<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Consider an example with n = 5. Suppose R = (3; 2; 4; 1; 5) then<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-144 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-46.png\" alt=\"\" width=\"637\" height=\"310\" \/>\r\n<p style=\"text-align: justify\">Since Zi and jXjj are independent for any i 6= j, the desired independence follows. Now, being a function of jXij; i = 1; 2; ::; n, R+ is independent of Zi; i = 1; 2; ::; n. Thus Zi; i = 1; 2; ::; n and Di; i = 1; 2; ::; n are independently distributed.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Here D is a random permutation over P, the set of all n! permutations of f1; 2; ::; ng. Again Zi Bernoulli(12 ) for every i. Thus<\/p>\r\n<img class=\"size-full wp-image-145 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-47.png\" alt=\"\" width=\"422\" height=\"173\" \/>\r\n<p style=\"text-align: justify\">Thus ZDi ; i = 1; 2; ::; n are iid random variables with Bernoulli(12 ) distribution.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Hence T is the weighted sum of iid random variables ZDi ; i = 1; 2; ::n. Under the symmetry about origin, ZDi ; i = 1; 2; ::n are iid Bernoulli(12 ) variables. Thus under H0 : = 0, distribution of ZDi ; i = 1; 2; ::n and hence distribution of T is independent of any F. Thus T is exactly distribution free under the null hypothesis. Therefore tests based on T are exactly nonparametric.<\/p>\r\n&nbsp;\r\n\r\n<strong>3 Exact distribution of T<\/strong>\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-146 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-48.png\" alt=\"\" width=\"675\" height=\"241\" \/>\r\n\r\n<img class=\"size-full wp-image-147 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-49.png\" alt=\"\" width=\"672\" height=\"535\" \/>\r\n<p style=\"text-align: justify\">Next assume n=3, then possible values of T are 0,1,2,..,6. Then b(0; 3) = 1 = b(1; 3) = 1. Now using the recursion relation and the values of b(:; 2), we get b(2; 3) = b(2; 2) +b( 1; 2) = 1 + 0 = 1, b(3; 3) = b(3; 2) + b(0; 2) = 1 + 1 = 2, b(4; 3) = b(4; 2) + b(1; 2) = 0 + b(1; 2) = 1, b(5; 3) = b(5; 2) + b(3; 2) = 0 + 1 and b(6; 3) = b(6; 2) + b(3; 2) = 0 + 1 = 1. Then we have the following distribution:<\/p>\r\n<img class=\"size-full wp-image-148 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-50.png\" alt=\"\" width=\"278\" height=\"78\" \/>\r\n\r\n<strong>3.1 Symmetry of the distribution of T<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">If we look at the distribution for n = 3, we can observe symmetry about n(n + 1)=4 = 3 De ne 0 = n(n + 1)=4, then<\/p>\r\n<img class=\"size-full wp-image-149 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-51.png\" alt=\"\" width=\"685\" height=\"525\" \/>\r\n\r\n<strong>4\u00a0 Dierent Tests<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">T has a discrete distribution and hence tests based on it will be randomized. We list below the tests for di erent alternatives. For the alternative Ha : &gt; 0, a size test can be\u00a0expressed as\u00a00 = I(T &gt; T ) + aI(T = T );<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-150 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-52.png\" alt=\"\" width=\"649\" height=\"326\" \/>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<strong>4.1 p values<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Suppose Tobs is the observed value of T . Then for the alternative Ha : &gt; 0, one can report the one sided p value is PH0 (T Tobs). We accept the null hypothesis if this p value exceeds .For the alternative Ha : &lt; 0, corresponding one sided p value is PH0 (T Tobs) and we accept the null hypothesis if this p value exceeds . But for the alternative Ha : 6= 0, the two sided p value is 2minfPH0 (T Tobs); PH0 (T Tobs)g. Thus we reject the null hypothesis if this p value does not exceed .<\/p>\r\n&nbsp;\r\n\r\n<strong>4.2 Presence of ties<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Presence of zero and tied observations undermine the validity of the test. Pratt(1959) rec-ommended a modi cation of T in such a situation. He suggested to use the zeros and average ranks for the tied observations for the modi cation of the usual statistic.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">To be speci c, suppose 0 &lt; u1 &lt; u2 &lt; ::: &lt; um be the distinct absolute magnitudes of the data X1; X2; ::; Xn. Suppose f0 is the frequency of zeroes in the data. fi+(fi ) is the frequency of positive(negative) ui and fi = fi+ + fi is the total frequency of fre-quency of ui in the data. Then Pratt suggested to use the statistic\u00a0 = Pm\u00a0 wifi+, there i=1\u00a0<span style=\"text-align: initial;font-size: 1em\">wj = f0 + f1 + :: + fj 1 + (fj + 1)=2. However, only large sample tests are suggested based on the asymptotic normality of the standardised statistic.<\/span><\/p>\r\n\r\n<\/div>\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><strong>you can view video on Wilcoxon Signed Rank Test I<\/strong><\/td>\r\n<td><a href=\"https:\/\/youtu.be\/dAuiCSTilgw\" target=\"_blank\" rel=\"noopener\"><img class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>","rendered":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/dAuiCSTilgw\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a><br \/>\n<\/span><\/div>\n<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/dAuiCSTilgw\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a><br \/>\n<\/span><\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1 Wilcoxon Signed Rank Test<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">This is another nonparametric alternative to Student&#8217;s t test with the additional assumption of symmetry. This test is developed by Frank Wilcoxon(1945) but popularized by Sidney Siegel(1956). The procedure utilizes the signed rank of the observations and provides a distribution free test for location.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.1\u00a0 Assumptions &amp; the hypothesis<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Suppose X1; X2; ::; Xn are iid observations from a symmetric location family of distributions F . Then F (x) = F (x (F )), where = (F ) is a location parameter. F is assumed to be continuous and symmetric , that is, F (x) + F ( x) = 1 for all x. Under symmetry is, therefore, the median of F. Then our objective is to provide a test for H0 : (F ) = 0 against the usual one or two sided alternatives. However, without any loss of generality, we can take 0 = 0<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.2\u00a0 Signed Rank<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The continuity assumption ensures that P (Xi = 0) = 0 for all i and that the observations are distinct with probability one. Suppose the observations are ranked in order of absolute value and ranked accordingly. Suppose Ri+ is the rank of jXij among fjX1j; jX2j; ::; jXnjg. Then signed rank of an observation is the rank of its absolute value multiplied by the sign of the original observation. If Zi = I(Xi &gt; 0), then the signed rank of the i th observation is ZiRi+; i = 1; 2; ::; n. The signed-rank sum T is de ned as the sum of the signed ranks, i.e.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-142 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-45.png\" alt=\"\" width=\"539\" height=\"187\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-45.png 539w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-45-300x104.png 300w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-45-65x23.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-45-225x78.png 225w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-45-350x121.png 350w\" sizes=\"auto, (max-width: 539px) 100vw, 539px\" \/><\/p>\n<p>Then the signed rank sum is T = 37.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>1.3\u00a0 T as a test statistic<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Note that Xi is expected to be larger under &gt; 0 than under = 0. Thus a large(small) value of T implies that most of the large deviations from 0 are positive(negative). Therefore, a large(small) T is an indicator of positive(negative) . Then it seems reasonable to reject the null hypothesis against Ha : &gt; 0(Ha : &lt; 0) if T tend to be too large(or too small). Similarly too large and too small values of T indicates possible rejection of the null hypothesis against Ha : 6= 0.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>2 T is distribution free!<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Now we shall show that the distribution of T does not depend on any F under the null hypothesis. Before we proceed further, we introduce the concept of antirank or inverse rank. If R = (R1; R2; ::; Rn) is a rank vector, the antirank vector is D, provided R o D = (RD1 ; RD2 ; ::; RDn ) = (1; 2; ::; n).<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Consider an example with n = 5. Suppose R = (3; 2; 4; 1; 5) then<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-144 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-46.png\" alt=\"\" width=\"637\" height=\"310\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-46.png 637w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-46-300x146.png 300w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-46-65x32.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-46-225x109.png 225w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-46-350x170.png 350w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/p>\n<p style=\"text-align: justify\">Since Zi and jXjj are independent for any i 6= j, the desired independence follows. Now, being a function of jXij; i = 1; 2; ::; n, R+ is independent of Zi; i = 1; 2; ::; n. Thus Zi; i = 1; 2; ::; n and Di; i = 1; 2; ::; n are independently distributed.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Here D is a random permutation over P, the set of all n! permutations of f1; 2; ::; ng. Again Zi Bernoulli(12 ) for every i. Thus<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-145 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-47.png\" alt=\"\" width=\"422\" height=\"173\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-47.png 422w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-47-300x123.png 300w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-47-65x27.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-47-225x92.png 225w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-47-350x143.png 350w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/p>\n<p style=\"text-align: justify\">Thus ZDi ; i = 1; 2; ::; n are iid random variables with Bernoulli(12 ) distribution.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Hence T is the weighted sum of iid random variables ZDi ; i = 1; 2; ::n. Under the symmetry about origin, ZDi ; i = 1; 2; ::n are iid Bernoulli(12 ) variables. Thus under H0 : = 0, distribution of ZDi ; i = 1; 2; ::n and hence distribution of T is independent of any F. Thus T is exactly distribution free under the null hypothesis. Therefore tests based on T are exactly nonparametric.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>3 Exact distribution of T<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-146 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-48.png\" alt=\"\" width=\"675\" height=\"241\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-48.png 675w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-48-300x107.png 300w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-48-65x23.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-48-225x80.png 225w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-48-350x125.png 350w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-147 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-49.png\" alt=\"\" width=\"672\" height=\"535\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-49.png 672w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-49-300x239.png 300w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-49-65x52.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-49-225x179.png 225w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-49-350x279.png 350w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/p>\n<p style=\"text-align: justify\">Next assume n=3, then possible values of T are 0,1,2,..,6. Then b(0; 3) = 1 = b(1; 3) = 1. Now using the recursion relation and the values of b(:; 2), we get b(2; 3) = b(2; 2) +b( 1; 2) = 1 + 0 = 1, b(3; 3) = b(3; 2) + b(0; 2) = 1 + 1 = 2, b(4; 3) = b(4; 2) + b(1; 2) = 0 + b(1; 2) = 1, b(5; 3) = b(5; 2) + b(3; 2) = 0 + 1 and b(6; 3) = b(6; 2) + b(3; 2) = 0 + 1 = 1. Then we have the following distribution:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-148 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-50.png\" alt=\"\" width=\"278\" height=\"78\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-50.png 278w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-50-65x18.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-50-225x63.png 225w\" sizes=\"auto, (max-width: 278px) 100vw, 278px\" \/><\/p>\n<p><strong>3.1 Symmetry of the distribution of T<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">If we look at the distribution for n = 3, we can observe symmetry about n(n + 1)=4 = 3 De ne 0 = n(n + 1)=4, then<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-149 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-51.png\" alt=\"\" width=\"685\" height=\"525\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-51.png 685w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-51-300x230.png 300w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-51-65x50.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-51-225x172.png 225w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-51-350x268.png 350w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><\/p>\n<p><strong>4\u00a0 Dierent Tests<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">T has a discrete distribution and hence tests based on it will be randomized. We list below the tests for di erent alternatives. For the alternative Ha : &gt; 0, a size test can be\u00a0expressed as\u00a00 = I(T &gt; T ) + aI(T = T );<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-150 aligncenter\" src=\"http:\/\/statp05.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-52.png\" alt=\"\" width=\"649\" height=\"326\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-52.png 649w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-52-300x151.png 300w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-52-65x33.png 65w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-52-225x113.png 225w, https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-content\/uploads\/sites\/130\/2018\/12\/Untitled-52-350x176.png 350w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/p>\n<div>\n<p>&nbsp;<\/p>\n<p><strong>4.1 p values<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Suppose Tobs is the observed value of T . Then for the alternative Ha : &gt; 0, one can report the one sided p value is PH0 (T Tobs). We accept the null hypothesis if this p value exceeds .For the alternative Ha : &lt; 0, corresponding one sided p value is PH0 (T Tobs) and we accept the null hypothesis if this p value exceeds . But for the alternative Ha : 6= 0, the two sided p value is 2minfPH0 (T Tobs); PH0 (T Tobs)g. Thus we reject the null hypothesis if this p value does not exceed .<\/p>\n<p>&nbsp;<\/p>\n<p><strong>4.2 Presence of ties<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Presence of zero and tied observations undermine the validity of the test. Pratt(1959) rec-ommended a modi cation of T in such a situation. He suggested to use the zeros and average ranks for the tied observations for the modi cation of the usual statistic.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">To be speci c, suppose 0 &lt; u1 &lt; u2 &lt; ::: &lt; um be the distinct absolute magnitudes of the data X1; X2; ::; Xn. Suppose f0 is the frequency of zeroes in the data. fi+(fi ) is the frequency of positive(negative) ui and fi = fi+ + fi is the total frequency of fre-quency of ui in the data. Then Pratt suggested to use the statistic\u00a0 = Pm\u00a0 wifi+, there i=1\u00a0<span style=\"text-align: initial;font-size: 1em\">wj = f0 + f1 + :: + fj 1 + (fj + 1)=2. However, only large sample tests are suggested based on the asymptotic normality of the standardised statistic.<\/span><\/p>\n<\/div>\n<table>\n<tbody>\n<tr>\n<td><strong>you can view video on Wilcoxon Signed Rank Test I<\/strong><\/td>\n<td><a href=\"https:\/\/youtu.be\/dAuiCSTilgw\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"author":3,"menu_order":10,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["mr-taranga-mukherjee"],"pb_section_license":""},"chapter-type":[],"contributor":[59],"license":[],"class_list":["post-140","chapter","type-chapter","status-publish","hentry","contributor-mr-taranga-mukherjee"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/pressbooks\/v2\/chapters\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":9,"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/pressbooks\/v2\/chapters\/140\/revisions"}],"predecessor-version":[{"id":165,"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/pressbooks\/v2\/chapters\/140\/revisions\/165"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/pressbooks\/v2\/chapters\/140\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/wp\/v2\/media?parent=140"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/pressbooks\/v2\/chapter-type?post=140"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/wp\/v2\/contributor?post=140"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/statp05\/wp-json\/wp\/v2\/license?post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}