<?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: Non parametric ANOVA and Dunnet adjust in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904341#M44858</link>
    <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I tried and if I am not mistaken it seems that 'stderr' is not recognize&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASAlice_0-1700741465073.png" style="width: 738px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90124i2AE039C31425A01C/image-dimensions/738x107?v=v2" width="738" height="107" role="button" title="SASAlice_0-1700741465073.png" alt="SASAlice_0-1700741465073.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would you have another suggestion?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 12:14:30 GMT</pubDate>
    <dc:creator>SASAlice</dc:creator>
    <dc:date>2023-11-23T12:14:30Z</dc:date>
    <item>
      <title>Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904299#M44856</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;Hi all, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;I am currently analyzing a study where participants answered a questionnaire about how they perceived/graded two different stimuli (CS+ and CS-) after receiving either medication A, medication B or Placebo. I succeed to perform the non parametric anova using turkey adjust : &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;/* Ranks on Fear */&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;%macro rank_Fear(dataset);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;proc rank data=&amp;amp;dataset out=&amp;amp;dataset;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;var Fear;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ranks r_el_Fear;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;/* Non-parametric ANOVA on Fear ranks */&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;PROC MIXED DATA=&amp;amp;dataset METHOD=MIVQUE0 ANOVAF;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;CLASS Subject CS Grp;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;MODEL r_el_Fear=CS|Grp;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;REPEATED/SUBJECT=Subject Group=Grp TYPE=UN;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;lsmeans CS Grp CS*Grp/ adjust=tukey;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;ods select ModelInfo Tests3 diffs lsmeans;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;run;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;&lt;EM&gt;%mend;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;However since it is a medication study with a placebo I am thinking that it could make sense to use dunnett adj instead&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;PROC MIXED DATA=&amp;amp;dataset METHOD=MIVQUE0 ANOVAF;&lt;BR /&gt;CLASS Subject CS Grp_cat;&lt;BR /&gt;MODEL r_el_Fear=CS|Grp_cat;&lt;BR /&gt;REPEATED/SUBJECT=Subject Group=Grp_cat TYPE=UN;&lt;BR /&gt;lsmeans Grp_cat /PDIFF=CONTROL('Group 3'') adjust=dunnett;&lt;BR /&gt;ods select ModelInfo Tests3 diffs lsmeans;&lt;BR /&gt;run;&lt;BR /&gt;%mend;&lt;BR /&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Now I am a bit confused as I can't find a way to look at &lt;STRONG&gt;CS*Grp_cat interaction&lt;/STRONG&gt; with dunnett adj, which would be really valuable for me. Is there a way to look at interaction using Dunnett in SAS?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Thank you for your time!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 23:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904299#M44856</guid>
      <dc:creator>SASAlice</dc:creator>
      <dc:date>2023-11-22T23:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904337#M44857</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/460226"&gt;@SASAlice&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&lt;FONT size="3"&gt;Now I am a bit confused as I can't find a way to look at &lt;STRONG&gt;CS*Grp_cat interaction&lt;/STRONG&gt; with dunnett adj, which would be really valuable for me. Is there a way to look at interaction using Dunnett in SAS?&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why can't you do something like?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lsmeans CS * Gtp_cat / stderr pdiff cl cov adjust=dunnett DIFF=CONTROL('abcxyz' 'Group 3');&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What happens then?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 12:05:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904337#M44857</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-11-23T12:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904341#M44858</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;I tried and if I am not mistaken it seems that 'stderr' is not recognize&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SASAlice_0-1700741465073.png" style="width: 738px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90124i2AE039C31425A01C/image-dimensions/738x107?v=v2" width="738" height="107" role="button" title="SASAlice_0-1700741465073.png" alt="SASAlice_0-1700741465073.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Would you have another suggestion?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 12:14:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904341#M44858</guid>
      <dc:creator>SASAlice</dc:creator>
      <dc:date>2023-11-23T12:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904347#M44860</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems 'stderr' is indeed a key-word that you cannot use as an option (after the forward slash) on the LSMEANS statement.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;SAS/STAT 15.3 User's Guide&lt;BR /&gt;Shared Concepts and Topics&lt;BR /&gt;Syntax: LSMEANS Statement&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_introcom_sect041.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_introcom_sect041.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just get rid of 'stderr' and submit again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 13:18:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/904347#M44860</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-11-23T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905158#M44921</link>
      <description>&lt;P&gt;Beware using Dunnett's adjustment on rank based means. Dunnett's adjustment is fairly robust, but one thing that can really mess with it is a lot of ties. If your data is not heavily tied (less than 10% ties), you should be OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905158#M44921</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-11-29T13:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905320#M44926</link>
      <description>Hi SteveDeham,&lt;BR /&gt;Thank you for the caution bout using Dunnett's adjustment on rank-based means, especially regarding the impact of ties. How would you consider making multiple group comparaison to a controle group then if more then 10% ties?&lt;BR /&gt;Alice</description>
      <pubDate>Thu, 30 Nov 2023 08:42:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905320#M44926</guid>
      <dc:creator>SASAlice</dc:creator>
      <dc:date>2023-11-30T08:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905322#M44927</link>
      <description>&lt;P&gt;Hi Koen,&lt;/P&gt;&lt;P&gt;I also tried that before but I was having an error message, however with your suggestion I tried again few ways and it seems that the main structure of the code works but the order of the variables need to be carefully chosen like following:&lt;BR /&gt;lsmeans &lt;FONT color="#00FF00"&gt;Grp_cat&lt;/FONT&gt;*&lt;FONT color="#FF6600"&gt;CS&lt;/FONT&gt; / adjust=dunnett diff=control('&lt;FONT color="#FF6600"&gt;CSMinus&lt;/FONT&gt;' '&lt;FONT color="#00FF00"&gt;Group 3&lt;/FONT&gt;') cl ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This didn't work (which may be why it took some time to figure out how to do):&lt;/P&gt;&lt;P&gt;lsmeans &lt;FONT color="#FF6600"&gt;CS&lt;FONT color="#000000"&gt;*&lt;/FONT&gt;&lt;FONT color="#00FF00"&gt;Grp_cat&lt;/FONT&gt;&lt;/FONT&gt; / adjust=dunnett diff=control('&lt;FONT color="#FF6600"&gt;CSMinus&lt;/FONT&gt;' '&lt;FONT color="#00FF00"&gt;Group 3&lt;/FONT&gt;') cl ;&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 08:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905322#M44927</guid>
      <dc:creator>SASAlice</dc:creator>
      <dc:date>2023-11-30T08:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Non parametric ANOVA and Dunnet adjust</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905352#M44929</link>
      <description>&lt;P&gt;For comparison of multiple groups to a single control for a nonparametric analysis (Kruskal-Wallis), Dunn's test is often recommended. While also influenced by ties (as is any rank based analysis), it is not as affected as Dunnett's test. SAS does not currently offer Dunn's as a multiplicity adjustment, so you would probably have to search for it on the internet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, SAS does offer the method of Edwards and Berry (ADJUST=SIMULATE), which is truly distribution-free, and provides superior family-wise error control to any of the other methods available for the LSMEANS or LSMESTIMATE statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 14:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Non-parametric-ANOVA-and-Dunnet-adjust/m-p/905352#M44929</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2023-11-30T14:19:09Z</dc:date>
    </item>
  </channel>
</rss>

