<?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: adjusting for selected multiple comparisons in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136312#M36775</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this error message and the output was the same as without the "pdiff=control('9')".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Tukey's adjustment only applies to all pairwise differences, so these are taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do I need to rearrange my data differently?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2014 18:18:24 GMT</pubDate>
    <dc:creator>Ming</dc:creator>
    <dc:date>2014-03-07T18:18:24Z</dc:date>
    <item>
      <title>adjusting for selected multiple comparisons</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136310#M36773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to compare value from different time points to one specific time point for each individual.&amp;nbsp; For example, for each individual, measurements were made every 15s starting from 30s to 3min (i.e. 11 measurements).&amp;nbsp; I have 50 subjects in total.&amp;nbsp; I want to compare all the different time measurements to the measurement at time 2:30 (ie. the 9th time point).&amp;nbsp; If I perform a regular ANOVA with repeated measures with Tukey post-hoc, it will make adjustments for 55 comparisons (11x10/2) so everything will come out non-significant.&amp;nbsp; Below is the code that I used...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;data long;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp; input id sex$ @@;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do timept = 1 to 13;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; input measurement @@; &lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;output;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt; end;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;proc mixed data=long;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&amp;nbsp; class timept;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&amp;nbsp; model measurement = timept;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&amp;nbsp; repeated timept / subject=id;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&amp;nbsp; lsmeans timept / adjust=tukey pdiff;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;run;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;However, what I wanted to compare are point 1 to 9, 2 to 9 3 to 9, .... 10 to 9, 11 to 9.&amp;nbsp; So that's a total of 10 comparisons, not 55 comparisons (for complete comparisons).&amp;nbsp; Is there a way to adjust for just 10 comparisons?&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;thanks for your help!&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 22:59:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136310#M36773</guid>
      <dc:creator>Ming</dc:creator>
      <dc:date>2014-03-06T22:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting for selected multiple comparisons</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136311#M36774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;lsmeans timept / adjust=Tukey pdiff=control('9');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 01:37:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136311#M36774</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-03-07T01:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting for selected multiple comparisons</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136312#M36775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this error message and the output was the same as without the "pdiff=control('9')".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Tukey's adjustment only applies to all pairwise differences, so these are taken.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do I need to rearrange my data differently?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 18:18:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136312#M36775</guid>
      <dc:creator>Ming</dc:creator>
      <dc:date>2014-03-07T18:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting for selected multiple comparisons</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136313#M36776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I take out the option adjust=tukey so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lsmeans timept / diff=control('9');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I get an output that's what I want.&amp;nbsp; However, I don't think this corrects for multiple comparison?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 18:35:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136313#M36776</guid>
      <dc:creator>Ming</dc:creator>
      <dc:date>2014-03-07T18:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting for selected multiple comparisons</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136314#M36777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't use proc mixed but if you want to completely ignore the other time frames exclude them from the analysis dataset for the procedure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc mixed data=long (where= (timept &amp;lt;= 9))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;might do what you're looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2014 18:53:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136314#M36777</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-03-07T18:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting for selected multiple comparisons</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136315#M36778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADJUST=DUNNETT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see section &lt;STRONG&gt;Comparing All Treatments to a Control&lt;/STRONG&gt; in &lt;A href="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_glm_a0000000867.htm" title="http://support.sas.com/documentation/cdl/en/statug/63962/HTML/default/viewer.htm#statug_glm_a0000000867.htm"&gt;SAS/STAT(R) 9.3 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Mar 2014 03:18:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136315#M36778</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-03-08T03:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: adjusting for selected multiple comparisons</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136316#M36779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the best option for comparison to a single group.&amp;nbsp; However, if someone wants to adjust for a limited number of comparisons (rather than all pairwise) and the comparisons are not all to a single group mean, the LSMESTIMATE statement in PROC GLIMMIX and PROC PLM (after using the STORE command in MIXED) is ideal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:58:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/adjusting-for-selected-multiple-comparisons/m-p/136316#M36779</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2014-03-10T18:58:55Z</dc:date>
    </item>
  </channel>
</rss>

