<?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: Tukey-adjusted comparisons for one location in PROC GLIMMIX in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949952#M371530</link>
    <description>&lt;P&gt;Thanks for the suggestion, but I don't see any additional output when I add the statement.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2024 18:12:48 GMT</pubDate>
    <dc:creator>wateas</dc:creator>
    <dc:date>2024-11-05T18:12:48Z</dc:date>
    <item>
      <title>Tukey-adjusted comparisons for one location in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949886#M371521</link>
      <description>&lt;P&gt;I am analyzing data from a factorial experiment using PROC GLIMMIX in SAS.&amp;nbsp; In the model, "Trt_Amend_App" is a categorical variable that is one of the experimental treatments and "ID_S" is one of two locations. The model results indicate that there is a significant interaction between Trt_Amend_App and ID_S such that Trt_Amend_App is significant at one location, but not the other. I would like to conduct a post-hoc test to determine which levels of Trt_Amend_App are different from each other, corrected for multiple comparisons using the Tukey adjustment, but only for the significant location "Site 2". How might I code that? I've included the code for my model below.&amp;nbsp; The commented line under the first LSMEANS statement can be thought of a pseudocode indication of what I want to do (it doesn't work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc glimmix data=df_y3_t3 plots=studentpanel;
class ID_S Block Trt_Amend_App Trt_CC;
model Response_Var = Trt_Amend_App | Trt_CC | ID_S ID_S(Block);
lsmeans ID_S * Trt_Amend_App / slice=ID_S plot=meanplot(sliceby=Trt_Amend_App join);
/*lsmeans Trt_Amend_App / diff adjust=tukey where(ID_S='Site 2');*/
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I understand that the WHERE statement can be used to achieve the desired test in a separate procedure, but I'm hoping for a more streamlined solution.&amp;nbsp; Thanks for reading.&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 01:47:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949886#M371521</guid>
      <dc:creator>wateas</dc:creator>
      <dc:date>2024-11-05T01:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tukey-adjusted comparisons for one location in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949889#M371522</link>
      <description>You might could try SLICE statement:&lt;BR /&gt;  slice ID_S * Trt_Amend_App  / sliceby(ID_S='Site 2') diff;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/24/447.html" target="_blank"&gt;https://support.sas.com/kb/24/447.html&lt;/A&gt;</description>
      <pubDate>Tue, 05 Nov 2024 03:08:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949889#M371522</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-11-05T03:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tukey-adjusted comparisons for one location in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949952#M371530</link>
      <description>&lt;P&gt;Thanks for the suggestion, but I don't see any additional output when I add the statement.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 18:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949952#M371530</guid>
      <dc:creator>wateas</dc:creator>
      <dc:date>2024-11-05T18:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tukey-adjusted comparisons for one location in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949980#M371536</link>
      <description>Maybe I don't understand what you are looking for very well.&lt;BR /&gt;Post your question at Statistical Forum:&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;  might give you a hand.</description>
      <pubDate>Wed, 06 Nov 2024 00:26:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Tukey-adjusted-comparisons-for-one-location-in-PROC-GLIMMIX/m-p/949980#M371536</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-11-06T00:26:07Z</dc:date>
    </item>
  </channel>
</rss>

