<?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: Common reference category for interaction in PROC GLIMMIX in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/698275#M213531</link>
    <description>&lt;P&gt;Thanks Reeza. I have attached an image of part of the Differences of intervention*area LSM output adjusted for multiple comparisons below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="njgrubic_0-1605146506836.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51583i761D24332E6CFDE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="njgrubic_0-1605146506836.png" alt="njgrubic_0-1605146506836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do the 'pre-underscored' variables (i.e. _intervention, _area) indicate the reference category that is being used to calculate the OR? In this case, would I be able to obtain these comparisons by locating the appropriate comparisons in this table, as opposed to creating a new variable?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 02:03:53 GMT</pubDate>
    <dc:creator>njgrubic</dc:creator>
    <dc:date>2020-11-12T02:03:53Z</dc:date>
    <item>
      <title>Common reference category for interaction in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/697901#M213381</link>
      <description>&lt;P&gt;I am conducting an interaction analysis in PROC GLIMMIX and would like to present my interaction analysis with a single reference category. The interaction is between two categorical variables (2-level and 5-level variable). I have only been able to build obtain an output displaying ORs with separate reference groups. See tables below - I am attempting to display results similar to Table 6 with a single reference group.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=cares2 method=quad;
class group outcome (ref="No") intervention(ref="No") area(ref="small") gender(ref="Female") /;
model outcome = intervention area gender age intervention*area / dist=binary link=logit ddfm=bw solution oddsratio;
random intercept / subject=group;
lsmeans intervention*area / slicediff=area adjust=bon oddsratio cl ilink;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="njgrubic_0-1605019116548.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51549i38A26A5B52821A2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="njgrubic_0-1605019116548.png" alt="njgrubic_0-1605019116548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="njgrubic_1-1605019131838.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51550iEC5D28051722E75D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="njgrubic_1-1605019131838.png" alt="njgrubic_1-1605019131838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 14:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/697901#M213381</guid>
      <dc:creator>njgrubic</dc:creator>
      <dc:date>2020-11-10T14:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Common reference category for interaction in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/697913#M213383</link>
      <description>You'll need to manually double code that and you can get an OR table that compares the different levels.&lt;BR /&gt;&lt;BR /&gt;One quick way:&lt;BR /&gt;&lt;BR /&gt;Asbestos_Smoker = catx(" - ", var1, var2);&lt;BR /&gt;&lt;BR /&gt;Then use the asbestos_smoker variable in your model instead of the interaction term and specify your combined reference level as desired.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Nov 2020 15:58:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/697913#M213383</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-10T15:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Common reference category for interaction in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/698275#M213531</link>
      <description>&lt;P&gt;Thanks Reeza. I have attached an image of part of the Differences of intervention*area LSM output adjusted for multiple comparisons below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="njgrubic_0-1605146506836.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/51583i761D24332E6CFDE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="njgrubic_0-1605146506836.png" alt="njgrubic_0-1605146506836.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do the 'pre-underscored' variables (i.e. _intervention, _area) indicate the reference category that is being used to calculate the OR? In this case, would I be able to obtain these comparisons by locating the appropriate comparisons in this table, as opposed to creating a new variable?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 02:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/698275#M213531</guid>
      <dc:creator>njgrubic</dc:creator>
      <dc:date>2020-11-12T02:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Common reference category for interaction in PROC GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/698803#M213737</link>
      <description>No, but I do think you could if you used a custom ODDS ratio statement but you'll have to manually specify it. Recoding the variable is the simplest option as the output won't be ambiguous in any manner.</description>
      <pubDate>Fri, 13 Nov 2020 20:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Common-reference-category-for-interaction-in-PROC-GLIMMIX/m-p/698803#M213737</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-13T20:26:50Z</dc:date>
    </item>
  </channel>
</rss>

