<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Wilcoxon Signed-Rank Test in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1835#M1835</link>
    <description>If the JMP table is arranged so that you have two columns corresponding to the two treatments, each row being a matched pair, then you can also use the Matched Pairs platform to directly get the Wilcoxon Signed Rank test (from the red triangle pull down menu) without calculating the differences. It agrees with the results based on the differences in Distribution.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
    <pubDate>Wed, 26 May 2010 17:47:42 GMT</pubDate>
    <dc:creator>mpb</dc:creator>
    <dc:date>2010-05-26T17:47:42Z</dc:date>
    <item>
      <title>Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1828#M1828</link>
      <description>When I run the Wilcoxon Signed-Rank option in JMP I am getting very different answers from what I am getting in SAS. Is there a way to get the code that is used in each option (SAS and JMP) or the formulas used to figure out why the results are different? &lt;BR /&gt;&lt;BR /&gt;Thanks for the help in advance.</description>
      <pubDate>Thu, 20 May 2010 21:47:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1828#M1828</guid>
      <dc:creator />
      <dc:date>2010-05-20T21:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1829#M1829</link>
      <description>It's highly likely that one of them has simply been set up incorrectly, so the best thing to do first would be to get hold of a textbook example and run that data through both your SAS and JMP analyses to find out which one isn't producing the results you'd expect.  My personal favourite in terms of easy-to-follow examples is "Nonparametric Statistics for the Behavioural Sciences" by Sidney Siegel, but there are plenty of others.&lt;BR /&gt;&lt;BR /&gt;My second thought would be that maybe either the SAS or the JMP test you're performing isn't actually the signed-rank test for &lt;I&gt;paired&lt;/I&gt; samples but the rank sum test for &lt;I&gt;independent&lt;/I&gt; samples (sometimes known as the Mann-Whitney U test).  The two tests are nonparametric analogues of the paired and unpaired t-tests respectively, and Wilcoxon's name is associated with both of them: details of both can be found in Wikipedia, together with worked examples, at the following links:&lt;BR /&gt;&lt;BR /&gt;http://en.wikipedia.org/wiki/Wilcoxon_signed-rank_test&lt;BR /&gt;http://en.wikipedia.org/wiki/Mann-Whitney-Wilcoxon_test</description>
      <pubDate>Fri, 21 May 2010 07:05:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1829#M1829</guid>
      <dc:creator />
      <dc:date>2010-05-21T07:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1830#M1830</link>
      <description>Here is an example with sample data from UCLA Stat Academic Tech Services that agrees:&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 May 2010 14:41:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1830#M1830</guid>
      <dc:creator>mattf</dc:creator>
      <dc:date>2010-05-21T14:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1831#M1831</link>
      <description>Thank you both for the feedback. &lt;BR /&gt;&lt;BR /&gt;David Q/R I was using a book example which is why I was so surprised to get different answers. &lt;BR /&gt;&lt;BR /&gt;Is there any way to get the source code to work through the problem by hand and see at which step the code may do differently?&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Mon, 24 May 2010 15:06:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1831#M1831</guid>
      <dc:creator />
      <dc:date>2010-05-24T15:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1832#M1832</link>
      <description>If there's a way to get at the actual source code I've no idea what it might be, I'm afraid - but I've just taken a quick look at the Wilcoxon Test referred to in MattF's post above in both SAS and JMP, and &lt;I&gt;both&lt;/I&gt; of them look as if they're running a Mann-Whitney-Wilcoxon test on the difference between data pairs, indicating that you've effectively got to calculate the difference between the pairs yourself before running a one-way comparison on that set of differences.  Are you actually doing that?&lt;BR /&gt;&lt;BR /&gt;Below is another reference showing how to perform a Wilcoxon Matched-Pairs Signed-Ranks test in SAS, suggesting that the basic test is not actually one of those supplied as a simple procedure (or why go to the trouble of doing it in this slightly roundabout way?):&lt;BR /&gt;&lt;BR /&gt;http://udel.edu/~mcdonald/statsignedrank.html&lt;BR /&gt;&lt;BR /&gt;If you'd like to post a copy of the code you're running I'll be happy to check to see if I'm right about this.</description>
      <pubDate>Mon, 24 May 2010 16:47:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1832#M1832</guid>
      <dc:creator />
      <dc:date>2010-05-24T16:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1833#M1833</link>
      <description>Thanks so much David. It does look like it will be tricky for me to nail down how SAS actually does their calculating (especially in the JMP world). Below is the code I have used for SAS. I did the calculation two ways, once using proc univariate and once using npar1way. &lt;BR /&gt;&lt;BR /&gt;data fertilizer;&lt;BR /&gt;input typea typeb;&lt;BR /&gt;diff= typea-typeb;&lt;BR /&gt;cards;&lt;BR /&gt;211.40000000000001000	186.30000000000001000&lt;BR /&gt;204.40000000000001000	205.69999999999999000&lt;BR /&gt;202.00000000000000000	184.40000000000001000&lt;BR /&gt;201.90000000000001000	203.59999999999999000&lt;BR /&gt;202.40000000000001000	180.40000000000001000&lt;BR /&gt;202.00000000000000000	202.00000000000000000&lt;BR /&gt;202.40000000000001000	181.50000000000000000&lt;BR /&gt;207.09999999999999000	186.69999999999999000&lt;BR /&gt;203.59999999999999000	205.69999999999999000&lt;BR /&gt;216.00000000000000000	189.09999999999999000&lt;BR /&gt;208.90000000000001000	183.59999999999999000&lt;BR /&gt;208.69999999999999000	188.69999999999999000&lt;BR /&gt;213.80000000000001000	188.59999999999999000&lt;BR /&gt;201.59999999999999000	204.19999999999999000&lt;BR /&gt;201.80000000000001000	181.59999999999999000&lt;BR /&gt;200.30000000000001000	208.69999999999999000&lt;BR /&gt;201.80000000000001000	181.50000000000000000&lt;BR /&gt;201.50000000000000000	208.69999999999999000&lt;BR /&gt;212.09999999999999000	186.80000000000001000&lt;BR /&gt;203.40000000000001000	182.90000000000001000&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;proc univariate;&lt;BR /&gt;var diff;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;data fertilizer;&lt;BR /&gt;input type $ fert;&lt;BR /&gt;cards;&lt;BR /&gt;a 211.40000000000001000	&lt;BR /&gt;b 186.30000000000001000&lt;BR /&gt;a 204.40000000000001000	&lt;BR /&gt;b 205.69999999999999000&lt;BR /&gt;a 202.00000000000000000	&lt;BR /&gt;b 184.40000000000001000&lt;BR /&gt;a 201.90000000000001000	&lt;BR /&gt;b 203.59999999999999000&lt;BR /&gt;a 202.40000000000001000&lt;BR /&gt;b 180.40000000000001000&lt;BR /&gt;a 202.00000000000000000	&lt;BR /&gt;b 202.00000000000000000&lt;BR /&gt;a 202.40000000000001000	&lt;BR /&gt;b 181.50000000000000000&lt;BR /&gt;a 207.09999999999999000	&lt;BR /&gt;b 186.69999999999999000&lt;BR /&gt;a 203.59999999999999000	&lt;BR /&gt;b 205.69999999999999000&lt;BR /&gt;a 216.00000000000000000	&lt;BR /&gt;b 189.09999999999999000&lt;BR /&gt;a 208.90000000000001000	&lt;BR /&gt;b 183.59999999999999000&lt;BR /&gt;a 208.69999999999999000	&lt;BR /&gt;b 188.69999999999999000&lt;BR /&gt;a 213.80000000000001000	&lt;BR /&gt;b 188.59999999999999000&lt;BR /&gt;a 201.59999999999999000	&lt;BR /&gt;b 204.19999999999999000&lt;BR /&gt;a 201.80000000000001000	&lt;BR /&gt;b 181.59999999999999000&lt;BR /&gt;a 200.30000000000001000	&lt;BR /&gt;b 208.69999999999999000&lt;BR /&gt;a 201.80000000000001000	&lt;BR /&gt;b 181.50000000000000000&lt;BR /&gt;a 201.50000000000000000	&lt;BR /&gt;b 208.69999999999999000&lt;BR /&gt;a 212.09999999999999000	&lt;BR /&gt;b 186.80000000000001000&lt;BR /&gt;a 203.40000000000001000	&lt;BR /&gt;b 182.90000000000001000&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;proc npar1way wilcoxon;&lt;BR /&gt;class type;&lt;BR /&gt;var fert;&lt;BR /&gt;run;</description>
      <pubDate>Tue, 25 May 2010 19:43:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1833#M1833</guid>
      <dc:creator />
      <dc:date>2010-05-25T19:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1834#M1834</link>
      <description>Hello again - I've set up below some SAS code to do the analysis as per the description in the earlier references, and then run the same analysis through JMP...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To do the same thing in JMP, download the following note by James Abbey at www.personal.psu.edu/jda188/JMP/Signedrank.doc and follow the instructions there on the DIFF column of your data set.&lt;BR /&gt;&lt;BR /&gt;That is, import either FERTILIZER1.SAS7BDAT or FERTILIZER3.SAS7BDAT from your WILC library into JMP, and analyze the DIFF column using Analyze | Distribution.  Copy the DIFF column into the "Y, Columns" placeholder and click OK.  Next, click on the second red triangle and select "Test Mean".  Put 0 into "Specify Hypothesized Mean", and check the "Wilcoxon Signed Rank" box, then click OK.  In the "Test Mean=value" section of the output you should find the test statistic = 74, and the P value of 0.0017 - which is the same answer as the one that SAS produces.&lt;BR /&gt;&lt;BR /&gt;Is that okay?</description>
      <pubDate>Wed, 26 May 2010 09:21:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1834#M1834</guid>
      <dc:creator />
      <dc:date>2010-05-26T09:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1835#M1835</link>
      <description>If the JMP table is arranged so that you have two columns corresponding to the two treatments, each row being a matched pair, then you can also use the Matched Pairs platform to directly get the Wilcoxon Signed Rank test (from the red triangle pull down menu) without calculating the differences. It agrees with the results based on the differences in Distribution.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 26 May 2010 17:47:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1835#M1835</guid>
      <dc:creator>mpb</dc:creator>
      <dc:date>2010-05-26T17:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1836#M1836</link>
      <description>Thank you all again for your help. I have been able to get the solutions to match.</description>
      <pubDate>Wed, 23 Jun 2010 17:37:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/1836#M1836</guid>
      <dc:creator />
      <dc:date>2010-06-23T17:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Wilcoxon Signed-Rank Test</title>
      <link>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/47485#M27077</link>
      <description>&lt;P&gt;As stated above,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello again - I've set up below some SAS code to do the analysis as per the description in the earlier references, and then run the same analysis through JMP...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To do the same thing in JMP, download the following note by James Abbey at &lt;A href="http://www.personal.psu.edu/jda188/JMP/Signedrank.doc" target="_blank"&gt;www.personal.psu.edu/jda188/JMP/Signedrank.doc&lt;/A&gt; and follow the instructions there on the DIFF column of your data set.&lt;BR /&gt;&lt;BR /&gt;That is, import either FERTILIZER1.SAS7BDAT or FERTILIZER3.SAS7BDAT from your WILC library into JMP, and analyze the DIFF column using Analyze | Distribution. Copy the DIFF column into the "Y, Columns" placeholder and click OK. Next, click on the second red triangle and select "Test Mean". Put 0 into "Specify Hypothesized Mean", and check the "Wilcoxon Signed Rank" box, then click OK. In the "Test Mean=value" section of the output you should find the test statistic = 74, and the P value of 0.0017 - which is the same answer as the one that SAS produces.&lt;BR /&gt;&lt;BR /&gt;Is that okay?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 17:53:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Wilcoxon-Signed-Rank-Test/m-p/47485#M27077</guid>
      <dc:creator>Duane_Hayes</dc:creator>
      <dc:date>2017-11-21T17:53:35Z</dc:date>
    </item>
  </channel>
</rss>

