<?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: Contrast statement in GLIMMIX in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Contrast-statement-in-GLIMMIX/m-p/122595#M6425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Treating attitude1 and attitude2 as continuous variables may be a bit odd; the contrast is essentially whether the value at attitude1=1, attitude2=1 and gender, age, race and income are at their mean values.&amp;nbsp; I have to ask: what is the mean value of gender or race?&amp;nbsp; I would reformulate your code as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=[dataset] method=quad noclprint oddsratio ic=pq;&lt;/P&gt;&lt;P&gt;class subject gender race attribute1 attribute2;&lt;/P&gt;&lt;P&gt;mdoel vaccination(event='1') = gender age race income attitude1 attitude2 / dist=bin solution cl ddfm=none;&lt;/P&gt;&lt;P&gt;random int/subject=subject;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see where ego enters the model, and this treats all factors except age as nominal.&amp;nbsp; I also changed the method to adaptive quadrature, so that the analysis is based on quasi-likelihood rather than pseudo-likelihood, thus making the information criteria applicable.&amp;nbsp; You can now fit a reduced model to check AIC or AICc to see whether the deleted variables contribute to the information density.&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>Thu, 29 Aug 2013 14:17:43 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-08-29T14:17:43Z</dc:date>
    <item>
      <title>Contrast statement in GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Contrast-statement-in-GLIMMIX/m-p/122594#M6424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;I am using GLIMMIX to estimate a mixed model (with random effect for subject) for a binary outcome. My question concerns interpretation of results from a test conducted using the CONTRAST statement (using multiple variables in the contrast statement). I am trying to explain, in simple terms, how this test assesses changes in the predictive ability of the model. I know that in regular logistic models, it essentially assesses the change in the log likelihood estimate of the overall model with vs. without the parameters; however, in GLIMMIX, from what I understand, the log likelihood comparison is not valid (given that they are really only pseudo log likelihoods). A SAS resource (see&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_glimmix_a0000001477.htm" target="_blank"&gt;&lt;SPAN style="color: blue;"&gt; here&lt;/SPAN&gt;&lt;/A&gt;) cautions against comparing log likelihood estimates. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;The GLIMMIX output for the contrast statement provides a F statistic and p-value. What exactly is being compared across the nested models? In my output, the F-statistic equals the difference in the pseudo log likelihoods, but I thought this was an invalid comparison?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Also, how do I determine the overall statistical significance of the GLIMMIX model? My output gives me the residual log likelihood and the generalized chi-square, but no p-value. Are no significance values given in GLIMMIX models?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Below is an example of the code I am running:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;Proc&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt; &lt;STRONG style="color: navy;"&gt;glimmix&lt;/STRONG&gt; &lt;SPAN style="color: blue;"&gt;data&lt;/SPAN&gt;=[dataset] &lt;SPAN style="color: blue;"&gt;method&lt;/SPAN&gt;=rspl &lt;SPAN style="color: blue;"&gt;noclprint&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;oddsratio&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt; subject;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt; vaccination(event=&lt;SPAN style="color: purple;"&gt;'1'&lt;/SPAN&gt;) = gender age race income attitude1 attitude2 /&lt;SPAN style="color: blue;"&gt;dist&lt;/SPAN&gt;=bin &lt;SPAN style="color: blue;"&gt;link&lt;/SPAN&gt;=logit &lt;SPAN style="color: blue;"&gt;solution&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;cl&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;ddfm&lt;/SPAN&gt;=none;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;contrast&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt; &lt;SPAN style="color: purple;"&gt;'F test of attitudes'&lt;/SPAN&gt; attitude1 &lt;STRONG style="color: teal;"&gt;1&lt;/STRONG&gt; attitude2 &lt;STRONG style="color: teal;"&gt;1&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;Random&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt; int/&lt;SPAN style="color: blue;"&gt;subject&lt;/SPAN&gt;=ego;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue; background: white;"&gt;ESTIMATE&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt; &lt;SPAN style="color: purple;"&gt;'male vs female'&lt;/SPAN&gt; gender &lt;STRONG style="color: teal;"&gt;1&lt;/STRONG&gt; / &lt;SPAN style="color: blue;"&gt;EXP adjust&lt;/SPAN&gt;=sidak;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;STRONG style="color: navy; background: white; font-size: 10.0pt; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 13:41:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Contrast-statement-in-GLIMMIX/m-p/122594#M6424</guid>
      <dc:creator>YoungA</dc:creator>
      <dc:date>2013-08-27T13:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Contrast statement in GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Contrast-statement-in-GLIMMIX/m-p/122595#M6425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Treating attitude1 and attitude2 as continuous variables may be a bit odd; the contrast is essentially whether the value at attitude1=1, attitude2=1 and gender, age, race and income are at their mean values.&amp;nbsp; I have to ask: what is the mean value of gender or race?&amp;nbsp; I would reformulate your code as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc glimmix data=[dataset] method=quad noclprint oddsratio ic=pq;&lt;/P&gt;&lt;P&gt;class subject gender race attribute1 attribute2;&lt;/P&gt;&lt;P&gt;mdoel vaccination(event='1') = gender age race income attitude1 attitude2 / dist=bin solution cl ddfm=none;&lt;/P&gt;&lt;P&gt;random int/subject=subject;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see where ego enters the model, and this treats all factors except age as nominal.&amp;nbsp; I also changed the method to adaptive quadrature, so that the analysis is based on quasi-likelihood rather than pseudo-likelihood, thus making the information criteria applicable.&amp;nbsp; You can now fit a reduced model to check AIC or AICc to see whether the deleted variables contribute to the information density.&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>Thu, 29 Aug 2013 14:17:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Contrast-statement-in-GLIMMIX/m-p/122595#M6425</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-08-29T14:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Contrast statement in GLIMMIX</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Contrast-statement-in-GLIMMIX/m-p/122596#M6426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help! This helps tremendously.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 18:57:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Contrast-statement-in-GLIMMIX/m-p/122596#M6426</guid>
      <dc:creator>YoungA</dc:creator>
      <dc:date>2013-09-19T18:57:27Z</dc:date>
    </item>
  </channel>
</rss>

