<?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 Nonparametric matched pairs test with random effects in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17664#M496</link>
    <description>Hi folks,&lt;BR /&gt;
&lt;BR /&gt;
I'm really hoping someone can help me with this one, because I've been wracking my brain for about 3 days now.  I'm trying to compare two variables (Tx1, Tx2; continuous data) within trials to see if they are different.  There are two other variables that play into each trial, Subject and Donor.  The Subject and Donor were not randomly chosen, and as such, I need to correct for that because it violates the assumption of nonindependence.  At first I thought I should use SAS MIXED procedure with two random effects (subject and donor).  Not only am I not sure that I'm setting up the data and model correctly for that type of analysis, but I'm also worried because the residuals are not normally distributed (which is a requirement of the model.)  I also gave SAS GLIMMIX procedure a try, but I didn't have any success there. The problem with this data is that it doesn't fit any distribution.  I've tried transforming it to no avail.  It is very skewed.  &lt;BR /&gt;
&lt;BR /&gt;
In short, when I do a nonparametric matched pairs test (Wilcoxon rank-sum test), I get significant results.  That's great, except that I'm worried about going forward with those results without correcting for the violations of independence.  So, does anyone know how I can do a nonparametric matched pairs test comparing Tx1 to Tx2 while taking into account the nonindependence of the subject and donor?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for any suggestions, and here is a little visualization of the layout I have the data in...&lt;BR /&gt;
&lt;BR /&gt;
Trial   Subject    Donor     Tx1      Tx2&lt;BR /&gt;
1       Sub1        Don1       #         #&lt;BR /&gt;
2       Sub1        Don2       #         #&lt;BR /&gt;
3       Sub2        Don1       #         #&lt;BR /&gt;
4       Sub3        Don2       #         #&lt;BR /&gt;
5       Sub3        Don3       #         #&lt;BR /&gt;
6       Sub3        Don4       #         #&lt;BR /&gt;
etc...</description>
    <pubDate>Fri, 10 Apr 2009 22:11:47 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-04-10T22:11:47Z</dc:date>
    <item>
      <title>Nonparametric matched pairs test with random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17664#M496</link>
      <description>Hi folks,&lt;BR /&gt;
&lt;BR /&gt;
I'm really hoping someone can help me with this one, because I've been wracking my brain for about 3 days now.  I'm trying to compare two variables (Tx1, Tx2; continuous data) within trials to see if they are different.  There are two other variables that play into each trial, Subject and Donor.  The Subject and Donor were not randomly chosen, and as such, I need to correct for that because it violates the assumption of nonindependence.  At first I thought I should use SAS MIXED procedure with two random effects (subject and donor).  Not only am I not sure that I'm setting up the data and model correctly for that type of analysis, but I'm also worried because the residuals are not normally distributed (which is a requirement of the model.)  I also gave SAS GLIMMIX procedure a try, but I didn't have any success there. The problem with this data is that it doesn't fit any distribution.  I've tried transforming it to no avail.  It is very skewed.  &lt;BR /&gt;
&lt;BR /&gt;
In short, when I do a nonparametric matched pairs test (Wilcoxon rank-sum test), I get significant results.  That's great, except that I'm worried about going forward with those results without correcting for the violations of independence.  So, does anyone know how I can do a nonparametric matched pairs test comparing Tx1 to Tx2 while taking into account the nonindependence of the subject and donor?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for any suggestions, and here is a little visualization of the layout I have the data in...&lt;BR /&gt;
&lt;BR /&gt;
Trial   Subject    Donor     Tx1      Tx2&lt;BR /&gt;
1       Sub1        Don1       #         #&lt;BR /&gt;
2       Sub1        Don2       #         #&lt;BR /&gt;
3       Sub2        Don1       #         #&lt;BR /&gt;
4       Sub3        Don2       #         #&lt;BR /&gt;
5       Sub3        Don3       #         #&lt;BR /&gt;
6       Sub3        Don4       #         #&lt;BR /&gt;
etc...</description>
      <pubDate>Fri, 10 Apr 2009 22:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17664#M496</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-10T22:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric matched pairs test with random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17665#M497</link>
      <description>I think the non-parametric &lt;B&gt;Wilcoxon rank sum test&lt;/B&gt; is equivalent to the two-sample t-test that requires observations from independent samples whereas the &lt;B&gt;Wilcoxon signed rank test&lt;/B&gt; (matched pairs) is equivalent to paired t-test where the observations are related.  In your case, since the observations are somehow related or are non-independent and data are not normally distributed, a Wilcoxon signed rank test that is based on differences of observations seems appropriate.</description>
      <pubDate>Sat, 11 Apr 2009 14:58:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17665#M497</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-11T14:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric matched pairs test with random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17666#M498</link>
      <description>Thanks for the response, sas_grad.  I do not think that the Wilcoxon signed rank test will work, however.  That test comes with two assumptions.  One of them is that the paired differences are independent, and in my case they are not.  Perhaps I didn't explain this well enough in my first post... Yes, the samples are related, and in that way, this test seems to fit.  However, I need a way to correct for the fact that I violate the assumption of independence.  So, either another test altogether, or some correction factor to use after using a Wilcoxon.  Basically, I need to do a SAS MIXED model with two random effects, except I can't because my residuals are not normally distributed.</description>
      <pubDate>Sat, 11 Apr 2009 15:15:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17666#M498</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-11T15:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric matched pairs test with random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17667#M499</link>
      <description>You could always go back to the principles applied by Wilcoxon in the 1940's and rank your data and then rely on the Central Limit Theorem for the normality of the means of the ranks and then use MIXED.  The point estimates won't make any sense, but the tests will be valid if yo have a large enough sample size.</description>
      <pubDate>Mon, 13 Apr 2009 16:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17667#M499</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-04-13T16:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric matched pairs test with random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17668#M500</link>
      <description>Hi Doc@Duke.  Thanks for that idea... I'm not sure I completely follow (I'm in many ways a statistical novice), but hopefully I can figure it out.  I have a sample size of 34.  Not sure if that'll be enough. Anyway, I happen to be at Duke.  If you'd be willing to meet with me to discuss this, I'll buy you lunch or something.  Just shoot me an e-mail.&lt;BR /&gt;
&lt;BR /&gt;
Cheers!

Message was edited by: JeremyCFD</description>
      <pubDate>Mon, 13 Apr 2009 17:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17668#M500</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-13T17:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Nonparametric matched pairs test with random effects</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17669#M501</link>
      <description>N=34 is a bit small, but you could bootstrap your analysis to get handle on the stability of the test.&lt;BR /&gt;
&lt;BR /&gt;
Small world.  I'll contact you offline about the nuts and bolts of doing this.&lt;BR /&gt;
&lt;BR /&gt;
Doc</description>
      <pubDate>Mon, 13 Apr 2009 21:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Nonparametric-matched-pairs-test-with-random-effects/m-p/17669#M501</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-04-13T21:10:46Z</dc:date>
    </item>
  </channel>
</rss>

