<?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: PROC GLIMMIX, lsmeans odds ratios at a level of a binary covariate in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-lsmeans-odds-ratios-at-a-level-of-a-binary/m-p/630767#M30243</link>
    <description>&lt;P&gt;I’m not 100% sure, but you might be able to change the combination of ref= statements in the class statement.&lt;BR /&gt;&lt;BR /&gt;Class iv1(ref=‘0’) iv2(ref=‘1’);&lt;BR /&gt;&lt;BR /&gt;I would assume the two reference categories would end up as the reference combination for the interaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A similar option might be to actually create your interaction variable and define the reference group.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Mar 2020 22:14:54 GMT</pubDate>
    <dc:creator>tellmeaboutityo</dc:creator>
    <dc:date>2020-03-09T22:14:54Z</dc:date>
    <item>
      <title>PROC GLIMMIX, lsmeans odds ratios at a level of a binary covariate</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-lsmeans-odds-ratios-at-a-level-of-a-binary/m-p/626586#M30133</link>
      <description>&lt;P&gt;I am using the LSMEANS statement to request specific odds ratios in PROC GLIMMIX.&amp;nbsp; I have an interaction term (binary by binary interaction) that I am requesting odds ratios for but would like to see the odds ratios at each level of another binary covariate.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a; binary 0,1&lt;/P&gt;&lt;P&gt;b; binary 0,1&lt;/P&gt;&lt;P&gt;c; binary 0,1&lt;/P&gt;&lt;P&gt;a*b interaction between a and b&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lsmeans a*b / ilink oddsratio cl diff;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;gives me beautiful output but once I try using the 'at' option to specify the value of another covariate SAS gives me a warning:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;lsmeans a*b / at c =1 ilink oddsratio cl diff;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;WARNING: Incorrect AT specification in LSMEANS statement. c is not a covariate in the model. The statement is&lt;BR /&gt;ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already know that this is because variable c is in the class statement and only continuous variables can be used in the 'at' option.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to create odds ratios for an interaction at a certain level of a binary variable?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 00:26:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-lsmeans-odds-ratios-at-a-level-of-a-binary/m-p/626586#M30133</guid>
      <dc:creator>maggieKlein</dc:creator>
      <dc:date>2020-02-22T00:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLIMMIX, lsmeans odds ratios at a level of a binary covariate</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-lsmeans-odds-ratios-at-a-level-of-a-binary/m-p/630767#M30243</link>
      <description>&lt;P&gt;I’m not 100% sure, but you might be able to change the combination of ref= statements in the class statement.&lt;BR /&gt;&lt;BR /&gt;Class iv1(ref=‘0’) iv2(ref=‘1’);&lt;BR /&gt;&lt;BR /&gt;I would assume the two reference categories would end up as the reference combination for the interaction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A similar option might be to actually create your interaction variable and define the reference group.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 22:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLIMMIX-lsmeans-odds-ratios-at-a-level-of-a-binary/m-p/630767#M30243</guid>
      <dc:creator>tellmeaboutityo</dc:creator>
      <dc:date>2020-03-09T22:14:54Z</dc:date>
    </item>
  </channel>
</rss>

