<?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: interaction categorical with categorical glimmix estimate statement in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-categorical-with-categorical-glimmix-estimate/m-p/610874#M29587</link>
    <description>&lt;P&gt;Use the SLICE statement.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect063.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect063.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2019 00:06:22 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2019-12-11T00:06:22Z</dc:date>
    <item>
      <title>interaction categorical with categorical glimmix estimate statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-categorical-with-categorical-glimmix-estimate/m-p/610871#M29586</link>
      <description>&lt;P&gt;hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate the effect estimate of my 4-level categorical variable when my two-level categorical variable =1 and when the two-level categorical variable=2 in proc glimmix.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am not sure of my estimate statement, and I'd appreciate any input or help on how to write this interaction estimate statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is my current SAS code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=data method=quad(qpoints=50) inititer=5;

class id var1 var2 var3 ;
model outcome = var1 var2 var3 var1*var2 / link=log solution dist=nb offset=log_PY;
random int / subject=id;

estimate 'n vs h' var1 1 0 0 -1/exp cl;
estimate 'l vs h' var1 0 1 0 -1/exp cl;
estimate 'm vs h' var1 0 0 1 -1/exp cl;

estimate 'var1 when var2=1'&amp;nbsp;

var1 1 0 0 -1
var1*var2 1 -1 /exp cl;

estimate 'var1 when var2=2'&amp;nbsp;

var1 1 0 0 -1
var1*var2 -1 1 /exp cl;


run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 23:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interaction-categorical-with-categorical-glimmix-estimate/m-p/610871#M29586</guid>
      <dc:creator>jomag</dc:creator>
      <dc:date>2019-12-10T23:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: interaction categorical with categorical glimmix estimate statement</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/interaction-categorical-with-categorical-glimmix-estimate/m-p/610874#M29587</link>
      <description>&lt;P&gt;Use the SLICE statement.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect063.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introcom_sect063.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 00:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/interaction-categorical-with-categorical-glimmix-estimate/m-p/610874#M29587</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-12-11T00:06:22Z</dc:date>
    </item>
  </channel>
</rss>

