<?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 Can you have unequal sample sizes for wilcoxon signed rank test? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795273#M39018</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am analyzing pre and post surveys, the survey responses are continuous (1 - 5). I want to know if there is a difference in the average from pre and post results. The sample size is small so I need a non-parametric test for dependent samples. I want to use wilcoxon signed rank but there are unequal sample sizes,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;there are 12 pre tests and 10 post tests and every example I have seen for the wilcoxon signed rank has equal sample sizes. Is this possible to do?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2022 18:30:28 GMT</pubDate>
    <dc:creator>ayosas</dc:creator>
    <dc:date>2022-02-09T18:30:28Z</dc:date>
    <item>
      <title>Can you have unequal sample sizes for wilcoxon signed rank test?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795273#M39018</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am analyzing pre and post surveys, the survey responses are continuous (1 - 5). I want to know if there is a difference in the average from pre and post results. The sample size is small so I need a non-parametric test for dependent samples. I want to use wilcoxon signed rank but there are unequal sample sizes,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;there are 12 pre tests and 10 post tests and every example I have seen for the wilcoxon signed rank has equal sample sizes. Is this possible to do?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 18:30:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795273#M39018</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2022-02-09T18:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have unequal sample sizes for wilcoxon signed rank test?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795296#M39023</link>
      <description>&lt;P&gt;Well, the results will only use the complete cases, so two participants will have data dropped from the analysis. So if you run the analysis, you will need to report that a certain number of participants were dropped and whether that has serious implications for the findings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/142/npar1way.pdf" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/stat/142/npar1way.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 19:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795296#M39023</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2022-02-09T19:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have unequal sample sizes for wilcoxon signed rank test?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795304#M39024</link>
      <description>&lt;P&gt;Please explain how you have unequal sample size for the pre-&amp;nbsp; and post- tests.&amp;nbsp; Did two students not take the post tests? If so, then you have only 10 observations, not 12. Can you explain what happened to the missing two tests?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 19:40:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795304#M39024</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-02-09T19:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have unequal sample sizes for wilcoxon signed rank test?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795328#M39025</link>
      <description>&lt;P&gt;Thanks for your response! Yes, 2 students did not take the post test. However, because they are anon I do not know who did not take the post test so I don't know how to decide which osbervations to drop.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 20:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795328#M39025</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2022-02-09T20:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have unequal sample sizes for wilcoxon signed rank test?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795369#M39026</link>
      <description>&lt;P&gt;So does this mean you do not have matched data? If you cannot match a subject's first data point to their second, then a paired test is not possible.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 22:19:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795369#M39026</guid>
      <dc:creator>svh</dc:creator>
      <dc:date>2022-02-09T22:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have unequal sample sizes for wilcoxon signed rank test?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795383#M39027</link>
      <description>&lt;P&gt;Thanks for responding!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wouldn't call it paired but can the samples be considered independent when they're related? In that case, does wilcoxon rank allow for independent sample of different size?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 23:04:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795383#M39027</guid>
      <dc:creator>ayosas</dc:creator>
      <dc:date>2022-02-09T23:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can you have unequal sample sizes for wilcoxon signed rank test?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795460#M39030</link>
      <description>&lt;P&gt;Since the responses are anonymous, you have to treat this as unmatched data. I suggest you do the following:&lt;/P&gt;
&lt;P&gt;1. Structure your data in long form so that you have a grouping variable (values "Pre" or "Post").&lt;/P&gt;
&lt;P&gt;2. Use PROC NPAR1WAY with the WILCOXON option to perform the test that compares the locations for the two sets of scores.&amp;nbsp; (You can also use the ANOVA option, for comparison. You'll probably get a similar conclusion.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example so that you can see the structure of the data and the PROC NPAR1WAY statements:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* simulate data. N_Pre=12 and N_Post=10.
data PrePost;
call streaminit(123);
Group = "Pre ";
do i = 1 to 12;
   Score = rand("Table", 0.2, 0.4, 0.3, 0.1);
   output;
end;
Group = "Post";
do i = 1 to 10;
   Score = rand("Table", 0.1, 0.3, 0.3, 0.2, 0.1);
   output;
end;
run;

proc print; run;

proc npar1way data=PrePost WILCOXON ANOVA;
class Group;  /* levels are "Pre" and "post" */
var Score;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Feb 2022 11:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Can-you-have-unequal-sample-sizes-for-wilcoxon-signed-rank-test/m-p/795460#M39030</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-02-10T11:05:33Z</dc:date>
    </item>
  </channel>
</rss>

