<?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: How to specify event of outcome variable in Proc GLIMMIX in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828321#M327198</link>
    <description>&lt;P&gt;Can you please show the log from each run?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does your variable&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;hospital_adherence&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;have a format attached to it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 16:39:34 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-08-11T16:39:34Z</dc:date>
    <item>
      <title>How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828313#M327193</link>
      <description>&lt;P&gt;Please, I need help specifying the direction of the event in proc GLIMMIX for a longitudinal study. I used the (event='1') statement but when I flipped it the results were the same. It appears that the 'event' statement does not work. The outcome is binomial.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following is my SAS code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GLIMMIX DATA=COVERED.Demographics method=laplace;

CLASS  record_id wkly_contact_simsx(ref='0');

MODEL hospital_adherence(event='1') =  wkly_contact_simsx
/SOLUTION DIST=bin LINK=Logit ;

random int / subject=record_id;

lsmeans  wkly_contact_simsx/  diff e cl oddsratio ;
  run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thank you so much for your assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 16:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828313#M327193</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-08-11T16:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828321#M327198</link>
      <description>&lt;P&gt;Can you please show the log from each run?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does your variable&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;hospital_adherence&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;have a format attached to it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 16:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828321#M327198</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-11T16:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828325#M327199</link>
      <description>&lt;P&gt;Thank you for your prompt response the&amp;nbsp; following are the log and results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_0-1660236338563.png" style="width: 887px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74365i57B63D4205219DA5/image-dimensions/887x727?v=v2" width="887" height="727" role="button" title="UcheOkoro_0-1660236338563.png" alt="UcheOkoro_0-1660236338563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_1-1660236373297.png" style="width: 984px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74366i8EB9F900576FB830/image-dimensions/984x123?v=v2" width="984" height="123" role="button" title="UcheOkoro_1-1660236373297.png" alt="UcheOkoro_1-1660236373297.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_2-1660236400563.png" style="width: 949px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74367iFBA0A02904D1B11B/image-dimensions/949x121?v=v2" width="949" height="121" role="button" title="UcheOkoro_2-1660236400563.png" alt="UcheOkoro_2-1660236400563.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>Thu, 11 Aug 2022 16:47:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828325#M327199</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-08-11T16:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828326#M327200</link>
      <description>&lt;P&gt;Well, the warning does say it's ignoring the EVENT statement because the outcome isn't binary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you show an proc freq of the hospital_adherence variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=covered.demographics;
table hospital_adherence*wkly_gathering / missing;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/319831"&gt;@UcheOkoro&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your prompt response the&amp;nbsp; following are the log and results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you again&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_0-1660236338563.png" style="width: 887px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74365i57B63D4205219DA5/image-dimensions/887x727?v=v2" width="887" height="727" role="button" title="UcheOkoro_0-1660236338563.png" alt="UcheOkoro_0-1660236338563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_1-1660236373297.png" style="width: 984px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74366i8EB9F900576FB830/image-dimensions/984x123?v=v2" width="984" height="123" role="button" title="UcheOkoro_1-1660236373297.png" alt="UcheOkoro_1-1660236373297.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_2-1660236400563.png" style="width: 949px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74367iFBA0A02904D1B11B/image-dimensions/949x121?v=v2" width="949" height="121" role="button" title="UcheOkoro_2-1660236400563.png" alt="UcheOkoro_2-1660236400563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:02:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828326#M327200</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-11T17:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828328#M327201</link>
      <description>&lt;P&gt;Here it is . Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_0-1660237636807.png" style="width: 538px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74368i8DE6179CD89037A8/image-dimensions/538x490?v=v2" width="538" height="490" role="button" title="UcheOkoro_0-1660237636807.png" alt="UcheOkoro_0-1660237636807.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:07:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828328#M327201</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-08-11T17:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828331#M327204</link>
      <description>&lt;P&gt;Ok, it looks you have some missing values across your outcome and fixed effect. Try removing those and re-running your proc to see what happens.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would expect the warning to disappear and if not that's part of the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828331#M327204</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-11T17:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828332#M327205</link>
      <description>&lt;P&gt;Thank you for your response. I deleted the missing observations but the results still remained the same&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:28:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828332#M327205</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-08-11T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828334#M327206</link>
      <description>&lt;P&gt;GLIMMIX produces output of Class Level Information and Number of Observations like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PaigeMiller_0-1660239297366.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74369iE0D2D2736AB04A7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PaigeMiller_0-1660239297366.png" alt="PaigeMiller_0-1660239297366.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please show this to us from running PROC GLIMMIX using your data set.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828334#M327206</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-08-11T17:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828335#M327207</link>
      <description>&lt;P&gt;Is there a warning in the log still?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 17:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828335#M327207</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-11T17:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828345#M327212</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_1-1660241794764.png" style="width: 829px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74371i15BF16A375898741/image-dimensions/829x630?v=v2" width="829" height="630" role="button" title="UcheOkoro_1-1660241794764.png" alt="UcheOkoro_1-1660241794764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UcheOkoro_2-1660241953341.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74372iD4622072675A7D5A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="UcheOkoro_2-1660241953341.png" alt="UcheOkoro_2-1660241953341.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="UcheOkoro_3-1660241967800.png" style="width: 769px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74373i5F913CBEA7002A9F/image-dimensions/769x91?v=v2" width="769" height="91" role="button" title="UcheOkoro_3-1660241967800.png" alt="UcheOkoro_3-1660241967800.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="UcheOkoro_4-1660241988091.png" style="width: 778px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/74374i45430F17CDEDB05A/image-dimensions/778x98?v=v2" width="778" height="98" role="button" title="UcheOkoro_4-1660241988091.png" alt="UcheOkoro_4-1660241988091.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 18:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828345#M327212</guid>
      <dc:creator>UcheOkoro</dc:creator>
      <dc:date>2022-08-11T18:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828353#M327217</link>
      <description>&lt;P&gt;I don't know enough about proc glimmix to be 100% certain but I'm guess it has to do with the subject being each record id.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is each record unique with a single value of adherence?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 19:21:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828353#M327217</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-08-11T19:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify event of outcome variable in Proc GLIMMIX</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828437#M327253</link>
      <description>It should be "dist=binary "  ,not "dist=bin " .  "dist=bin" would make sas take it as "dist=binomial"</description>
      <pubDate>Fri, 12 Aug 2022 11:47:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-specify-event-of-outcome-variable-in-Proc-GLIMMIX/m-p/828437#M327253</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-08-12T11:47:54Z</dc:date>
    </item>
  </channel>
</rss>

