{"id":602,"date":"2015-07-20T09:20:20","date_gmt":"2015-07-20T13:20:20","guid":{"rendered":"http:\/\/sites.berry.edu\/vbissonnette\/?page_id=602"},"modified":"2016-06-24T07:52:15","modified_gmt":"2016-06-24T11:52:15","slug":"signed-ranks-test","status":"publish","type":"page","link":"https:\/\/sites.berry.edu\/vbissonnette\/index\/stats-homework\/documentation\/signed-ranks-test\/","title":{"rendered":"Signed-Ranks Test"},"content":{"rendered":"<h3>Example homework problem:<\/h3>\n<p>Twelve people completed a difficult hand-eye coordination task twice: once in a quiet room, and once in the same room while loud rock-and-roll music was being played. The order in which subjects experienced these conditions was counterbalanced: half performed in the quiet environment first, half performed in the loud environment first.<\/p>\n<p>The researcher measured the number of errors committed by the participant while performing. Thus, the lower the score, the better the performance. Here are the results:<\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"border-bottom: 1px solid black\">Participant:<\/td>\n<td style=\"border-bottom: 1px solid black\">1<\/td>\n<td style=\"border-bottom: 1px solid black\">2<\/td>\n<td style=\"border-bottom: 1px solid black\">3<\/td>\n<td style=\"border-bottom: 1px solid black\">4<\/td>\n<td style=\"border-bottom: 1px solid black\">5<\/td>\n<td style=\"border-bottom: 1px solid black\">6<\/td>\n<td style=\"border-bottom: 1px solid black\">7<\/td>\n<td style=\"border-bottom: 1px solid black\">8<\/td>\n<td style=\"border-bottom: 1px solid black\">9<\/td>\n<td style=\"border-bottom: 1px solid black\">10<\/td>\n<td style=\"border-bottom: 1px solid black\">11<\/td>\n<td style=\"border-bottom: 1px solid black\">12<\/td>\n<\/tr>\n<tr>\n<td class=\"lf\">Quiet Environment:<\/td>\n<td>14<\/td>\n<td>21<\/td>\n<td>24<\/td>\n<td>16<\/td>\n<td>18<\/td>\n<td>20<\/td>\n<td>15<\/td>\n<td>20<\/td>\n<td>17<\/td>\n<td>16<\/td>\n<td>19<\/td>\n<td>12<\/td>\n<\/tr>\n<tr>\n<td class=\"lf\">Loud Environment:<\/td>\n<td>21<\/td>\n<td>22<\/td>\n<td>21<\/td>\n<td>19<\/td>\n<td>18<\/td>\n<td>25<\/td>\n<td>17<\/td>\n<td>18<\/td>\n<td>21<\/td>\n<td>24<\/td>\n<td>21<\/td>\n<td>15<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Was there a significant difference in performance between the two treatment conditions (alpha = .05)?<\/p>\n<p>Note that these are the same data that we worked with when you were working with the <a href=\"http:\/\/sites.berry.edu\/vbissonnette\/index\/stats-homework\/documentation\/t-test-for-dependent-groups\/\">dependent <i>t<\/i> test procedure<\/a>. This will allow you to compare and contrast the results of the two procedures.<\/p>\n<hr \/>\n<p>Enter these data into the first two columns of <i>Stats Homework&#8217;s\u00a0<\/i>data manager and rename the variables. Your screen should look like this:<\/p>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/dttest3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-762\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/dttest3.png\" alt=\"dttest3\" width=\"612\" height=\"463\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/dttest3.png 612w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/dttest3-300x227.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/dttest3-260x197.png 260w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p>Make sure to double-check and save your data. To conduct your analysis,\u00a0 pull down the <b>Analyze<\/b> menu, choose <b>Non-Parametric Tests<\/b>,\u00a0and then choose <b>Wilcoxon Signed Ranks Test<\/b>.<\/p>\n<p>Before we look at the output produced by this procedure, let&#8217;s take a look at the variables that have been created by it and written back into your data:<\/p>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1034\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank3.png\" alt=\"srank3\" width=\"612\" height=\"463\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank3.png 612w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank3-300x227.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank3-260x197.png 260w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/a><\/p>\n<p>Note that <i>Stats Homework<\/i> has computed the difference between each pair of scores (Diff Score). It then ranked each of the non-zero differences from 1 to 11. Finally, it assigned a positive sign to the ranks of positive differences and a negative sign to the ranks of negative differences (S_Rank). These scores then are the <u>signed ranks<\/u> that are used in this test. Here is the output from the analysis:<\/p>\n<p><a href=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1033\" src=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank2.png\" alt=\"srank2\" width=\"529\" height=\"319\" srcset=\"https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank2.png 529w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank2-300x181.png 300w, https:\/\/sites.berry.edu\/vbissonnette\/wp-content\/uploads\/sites\/21\/2016\/06\/srank2-260x157.png 260w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/a><\/p>\n<p>The first table presents the sums of the signed ranks: the sum of the positively-signed ranks and the sum of the negatively-signed ranks.<\/p>\n<p><b>Exact Test<\/b>. This table includes the test statistic and an exact test of their significance level.<\/p>\n<ul>\n<li>Wilcoxon T (9.00): Compare the sums of the signed ranks. The Wilcoxon T statistic is equal to the smaller of the two sums.<\/li>\n<li>n (11): This is the number of signed ranks that were used in this analysis.<\/li>\n<li>exact p (2-tail) (.032): This is the exact significance level of <i>T<\/i> if you are conducting a two-tailed \/ non-directional test.<\/li>\n<li>exact p (1-tail) (.016): This is the exact significance level of <i>T<\/i> if you are conducting a one-tailed \/ directional test.<\/li>\n<\/ul>\n<p><b>Z Approximation<\/b>. This table presents the normal-approximation approach to estimating the significance level of the signed-ranks test.<\/p>\n<ul>\n<li>Expected Value (33): If you are computing the Z approximation, this is the expected value of the signed ranks under your null hypothesis.<\/li>\n<li>Std. Error (11.25): This is the standard error of the Z statistic.Z (2.13): This is the value of the Z score for your test.<\/li>\n<li>p (Z) (2-tail) (.033): This is the significance level of the Z approximation if you are conducing a two-tailed \/ non-directional test.<\/li>\n<li>p (Z) (1-tail) (.016): This is the significance level of the Z approximation if you are conducing a one-tailed \/ directional test.<\/li>\n<\/ul>\n<hr \/>\n<p><a href=\"http:\/\/sites.berry.edu\/vbissonnette\/index\/stats-homework\/documentation\/\">\u00a0Return to Table of Contents<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Example homework problem: Twelve people completed a difficult hand-eye coordination task twice: once in a quiet room, and once in the same room while loud rock-and-roll music was being played. [&hellip;]<\/p>\n","protected":false},"author":34,"featured_media":0,"parent":282,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"class_list":["post-602","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/comments?post=602"}],"version-history":[{"count":6,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/602\/revisions"}],"predecessor-version":[{"id":1036,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/602\/revisions\/1036"}],"up":[{"embeddable":true,"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/pages\/282"}],"wp:attachment":[{"href":"https:\/\/sites.berry.edu\/vbissonnette\/wp-json\/wp\/v2\/media?parent=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}