<?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 and tests of similar shapes of two dependent samples in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/774978#M37917</link>
    <description>&lt;P&gt;I want to determine that the shapes of the two distributions (A and B) are similar. Note I have two dependent samples here which I am pairing. What is the best test to do that. I want to say more than mean median mode comparisons. How about comparing quantiles?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I take the pairwise differences and check for normality that doesn't quite do it. What if incoming shapes are uniform? Checking for normality would not be correct then.&lt;/P&gt;
&lt;P&gt;An edf plot comparing differences to what ? Help! This is tricky.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Oct 2021 19:14:29 GMT</pubDate>
    <dc:creator>MaryA_Marion</dc:creator>
    <dc:date>2021-10-18T19:14:29Z</dc:date>
    <item>
      <title>wilcoxon signed rank test -concept of ties. No adjutment in tests for location documentation?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/774916#M37907</link>
      <description>&lt;P&gt;I am dong a wilcoxon signed rank test. I want to be sure I get the equations correct. Do ties have meaning here and can I list the number of them as can be done in proc npar1way?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data two;&lt;BR /&gt;input X  Y ;&lt;BR /&gt;D=X-Y;&lt;BR /&gt;cards;&lt;BR /&gt;1 4&lt;BR /&gt;3 7&lt;BR /&gt;2 6&lt;BR /&gt;3 8&lt;BR /&gt;5 6&lt;BR /&gt;;&lt;BR /&gt;title 'WILCOXON SIGNED RANK TEST' ;&lt;BR /&gt;PROC UNIVARIATE data=two;&lt;BR /&gt;VAR D;&lt;BR /&gt;RUN; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 15:40:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/774916#M37907</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2021-10-18T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: wilcoxon signed rank test -concept of ties. No adjutment in tests for location documentation?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/774923#M37908</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16492"&gt;@MaryA_Marion&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I am dong a wilcoxon signed rank test. I want to be sure I get the equations correct. Do ties have meaning here and can I list the number of them as can be done in proc npar1way?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data two;&lt;BR /&gt;input X  Y ;&lt;BR /&gt;D=X-Y;&lt;BR /&gt;cards;&lt;BR /&gt;1 4&lt;BR /&gt;3 7&lt;BR /&gt;2 6&lt;BR /&gt;3 8&lt;BR /&gt;5 6&lt;BR /&gt;;&lt;BR /&gt;title 'WILCOXON SIGNED RANK TEST' ;&lt;BR /&gt;PROC UNIVARIATE data=two;&lt;BR /&gt;VAR D;&lt;BR /&gt;RUN; &lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Are you attempting to code the whole test from scratch?&lt;/P&gt;
&lt;P&gt;First, not the difference but the absolute value of the difference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D= abs(x-y);&lt;/P&gt;
&lt;P&gt;Second, discard all differences of zero (is this your "tie" question?)&lt;/P&gt;
&lt;P&gt;Third, ties are assigned the average rank that the ties would have&amp;nbsp; (Proc Rank will do this for you)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 16:08:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/774923#M37908</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-18T16:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: wilcoxon signed rank test and tests of similar shapes of two dependent samples</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/774978#M37917</link>
      <description>&lt;P&gt;I want to determine that the shapes of the two distributions (A and B) are similar. Note I have two dependent samples here which I am pairing. What is the best test to do that. I want to say more than mean median mode comparisons. How about comparing quantiles?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I take the pairwise differences and check for normality that doesn't quite do it. What if incoming shapes are uniform? Checking for normality would not be correct then.&lt;/P&gt;
&lt;P&gt;An edf plot comparing differences to what ? Help! This is tricky.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 19:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/774978#M37917</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2021-10-18T19:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: wilcoxon signed rank test and tests of similar shapes of two dependent samples</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/775006#M37924</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16492"&gt;@MaryA_Marion&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I want to determine that the shapes of the two distributions (A and B) are similar. Note I have two dependent samples here which I am pairing. What is the best test to do that. I want to say more than mean median mode comparisons. How about comparing quantiles?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I take the pairwise differences and check for normality that doesn't quite do it. What if incoming shapes are uniform? Checking for normality would not be correct then.&lt;/P&gt;
&lt;P&gt;An edf plot comparing differences to what ? Help! This is tricky.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You haven't answered the question about are you trying to hand-code all this. If not, what is wrong with using Npar1way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first thing is to actually decide are you looking at distribution or some association between the two "dependent samples".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Distribution typically I would suggest starting with a graph of the two sets of values such as histograms.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the Pairs of x,y values which I have to guess mean they are different results from the exact same inputs such as two different models then perhaps start with a scatter plot of the pairs at look for any obvious patterns. Similar distribution of x,y pairs would tend to show some shape such as possibly a relatively tight ellipse around a line or or other curve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the number of records and range of values perhaps a Chi-square test as a test of similar distribution&lt;/P&gt;</description>
      <pubDate>Mon, 18 Oct 2021 22:05:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/775006#M37924</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-10-18T22:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: wilcoxon signed rank test and tests of similar shapes of two dependent samples</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/776035#M38005</link>
      <description>I would want any coding I do by hand to include computation of exact p-values. Npar1wy definitely looks easier from that viewpoint. &lt;BR /&gt;&lt;BR /&gt;As for Chi-square test my understanding is that it is for count data only.  I have seen the following definition online: The Chi-square test of independence is a statistical hypothesis test used to determine whether two categorical or nominal variables are likely to be related or not.&lt;BR /&gt;On thinking about it more, I like the idea of comparing percentiles using confidence intervals for the percentiles from both samples.</description>
      <pubDate>Sat, 23 Oct 2021 13:16:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/wilcoxon-signed-rank-test-concept-of-ties-No-adjutment-in-tests/m-p/776035#M38005</guid>
      <dc:creator>MaryA_Marion</dc:creator>
      <dc:date>2021-10-23T13:16:39Z</dc:date>
    </item>
  </channel>
</rss>

