<?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: Mixed effect logistic regression model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603952#M29349</link>
    <description>&lt;P&gt;Of those three procedures, the only one that can fit a model involving random effects is PROC GLIMMIX. If you are not getting the results you expect, show the results you did get, any messages appearing after GLIMMIX in the SAS Log, and state what specifically you are looking for.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2019 19:51:31 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2019-11-13T19:51:31Z</dc:date>
    <item>
      <title>Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603862#M29339</link>
      <description>&lt;P&gt;&amp;nbsp;HI all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to build a mixed-effects logistic regression model by using one variable as a random effect&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did proc logistic regression but can not take the random effect variable!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you think the best Prc to use in this situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are&amp;nbsp; the&amp;nbsp; codes that I tried&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the third one takes a random effect variable but I did get any results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So guys any suggestion to solve this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc logistic data = have;
class year month;
model mpd = year month;
run; quit;
*//////////////////////;

proc GENMOD data = have;
class year month ;
model mpd = year month;
run; quit;
 */////////////////////;

proc GLIMMIX data = have;
class year month;
model MPD = YEAR month;
RANDOM HERD; 
RUN; QUIT; 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603862#M29339</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-13T14:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603865#M29340</link>
      <description>&lt;P&gt;&amp;gt; &lt;SPAN&gt;the third one takes a random effect variable but I did [not] get any results.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1. What happened? Error? The proc never finished?&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;How many distinct levels of the HERD variable do you have?&lt;/P&gt;
&lt;P&gt;3. Is the response variable binary? If so, you need to use DIST=BINARY on the MODEL statement for PROC GENMOD and GLIMMIX&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the response variable is not binary, you might want to read the 2009 paper &lt;A href="https://support.sas.com/resources/papers/proceedings09/256-2009.pdf" target="_self"&gt;"All the Cows in Canada: Massive Mixed Modeling with the HPMIXED Procedure",&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;which discusses efficiency issues in large linear mixed models.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:05:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603865#M29340</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-13T14:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603867#M29341</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks million for your response&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- this is the log message&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE GLIMMIX used (Total process time):&lt;BR /&gt;real time 0.63 seconds&lt;BR /&gt;cpu time 0.53 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2- I have a large number of herds, more than 8000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3=&amp;nbsp;&lt;SPAN&gt;Is the response variable binary?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;yes, which is like 0 or 1.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in this case how my code should look like?&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;&lt;P&gt;best regards&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603867#M29341</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-13T14:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603869#M29342</link>
      <description>&lt;P&gt;The NOTE says there are errors, so please check the log for ERROR and WARNING messages. Please post the complete portion of the code from the last PROC GLIMMIX statement until the end of the log.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603869#M29342</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-13T14:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603871#M29343</link>
      <description>&lt;P&gt;this is the all message in log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;156 proc GLIMMIX data = herd;&lt;BR /&gt;157 class testyear TIME;&lt;BR /&gt;158 model MPD = TESTYEAR TIME;&lt;BR /&gt;159 RANDOM HERD;&lt;BR /&gt;160 RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;160! QUIT;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE GLIMMIX used (Total process time):&lt;BR /&gt;real time 0.64 seconds&lt;BR /&gt;cpu time 0.54 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603871#M29343</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-13T14:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603875#M29344</link>
      <description>&lt;P&gt;Without error messages, I cannot determine what might be going wrong.&amp;nbsp; Can you run the following small example? Do you get results and a clean error-free log?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data herd;
call streaminit(1);
do herd = 1 to 10;
   do testyear = 2005, 2015;
      do Time = 1 to 6;
         eta = -1 + 0.1*herd + 0.5*Time - 2*(testyear=2015);
         mu = logistic(eta);
         mpd = rand("Bernoulli", mu);
         output;
      end;
   end;
end;

proc GLIMMIX data = herd;
   class testyear TIME;
   model MPD = TESTYEAR TIME / s dist=binary;
   RANDOM HERD;
RUN;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Nov 2019 14:52:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603875#M29344</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-13T14:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603877#M29345</link>
      <description>&lt;P&gt;not yet&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;49 data herd;&lt;BR /&gt;50 call streaminit(1);&lt;BR /&gt;51 do herd = 1 to 10;&lt;BR /&gt;52 do testyear = 2005, 2015;&lt;BR /&gt;53 do Time = 1 to 6;&lt;BR /&gt;54 eta = -1 + 0.1*herd + 0.5*Time - 2*(testyear=2015);&lt;BR /&gt;55 mu = logistic(eta);&lt;BR /&gt;56 mpd = rand("Bernoulli", mu);&lt;BR /&gt;57 output;&lt;BR /&gt;58 end;&lt;BR /&gt;59 end;&lt;BR /&gt;60 end;&lt;BR /&gt;61&lt;/P&gt;&lt;P&gt;NOTE: The data set WORK.HERD has 120 observations and 6 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;NOTE: Writing HTML Body file: sashtml.htm&lt;BR /&gt;62 proc GLIMMIX data = herd;&lt;BR /&gt;63 class testyear TIME;&lt;BR /&gt;64 model MPD = TESTYEAR TIME / s dist=binary;&lt;BR /&gt;65 RANDOM HERD;&lt;BR /&gt;66 RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Permanent copy of file WORK.UTDATA.UTILITY was deleted.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE GLIMMIX used (Total process time):&lt;BR /&gt;real time 0.79 seconds&lt;BR /&gt;cpu time 0.28 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 15:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603877#M29345</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-13T15:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603884#M29346</link>
      <description>&lt;P&gt;There is something wrong with your version of SAS (or GLIMMIX). That program should run correctly in a fraction of a second.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first thing you should do is exit SAS (and probably reboot, too). Maybe SAS was corrupted by a previous submission, such as your big GLMMIX job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you log back in and start SAS, run the simple program again. If it still fails,&amp;nbsp;contact SAS technical support and provide them with details about your OS, SAS installation, etc. Also, send them the code you just submitted and the &lt;STRONG&gt;complete&lt;/STRONG&gt; SAS log.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 15:21:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603884#M29346</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-13T15:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603952#M29349</link>
      <description>&lt;P&gt;Of those three procedures, the only one that can fit a model involving random effects is PROC GLIMMIX. If you are not getting the results you expect, show the results you did get, any messages appearing after GLIMMIX in the SAS Log, and state what specifically you are looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 19:51:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/603952#M29349</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2019-11-13T19:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604055#M29351</link>
      <description>&lt;P&gt;Firstly I'm so sorry about the late response, it was late night here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;show the results you did get,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this is What I got.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="branch"&gt;&lt;DIV class="c proctitle"&gt;The GLIMMIX Procedure&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Model InformationData SetResponse VariableResponse DistributionLink FunctionVariance FunctionVariance MatrixEstimation TechniqueDegrees of Freedom Method &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;WORK.HERD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;mpd&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Binary&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Logit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Default&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Not blocked&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Residual PL&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Containment&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV align="center"&gt;Class Level InformationClass Levels ValuesTESTYEARTIME &lt;TABLE cellspacing="0" cellpadding="5"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;TD&gt;2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;TD&gt;1 2 3 4 5 6 7 8 9 10 11 12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the log message&lt;/P&gt;&lt;P&gt;558&lt;BR /&gt;559 proc GLIMMIX data = herd;&lt;BR /&gt;560 class testyear TIME;&lt;BR /&gt;561 model MPD = TESTYEAR TIME / s dist=binary;&lt;BR /&gt;562 RANDOM HERD;&lt;BR /&gt;563 RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE GLIMMIX used (Total process time):&lt;BR /&gt;real time 1.00 seconds&lt;BR /&gt;cpu time 0.82 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to have a multivariable logistic regression estimation of odd ratios of different months that having mpd including herd as a random effect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got my results when I used Logistic Proc, but the problem is I can't include Herd as a RANDOM EFFECT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this information will help to figure this out&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards to all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Nov 2019 11:43:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604055#M29351</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-14T11:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604103#M29352</link>
      <description>I assume you quit SAS and rebooted, as I suggested? &lt;BR /&gt;&lt;BR /&gt;My first suggestion is to make sure the program can run on smaller data. Use a WHERE clause to restrict the number of herds to 10 and rerun the program to make sure it runs correctly.&lt;BR /&gt;&lt;BR /&gt;IF the program runs correctly on smaller data, then my guess is that this problem has too many levels of the HERD variable and might be running out of memory. I suggest you read the paper by Kiernan, Tao, and Gibbs (2012)&lt;BR /&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings12/332-2012.pdf&lt;/A&gt;&lt;BR /&gt; and experiment to see if any of their suggestions make a difference in solving your problem.</description>
      <pubDate>Thu, 14 Nov 2019 14:04:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604103#M29352</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-14T14:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604139#M29353</link>
      <description>&lt;P&gt;633&lt;BR /&gt;634 proc GLIMMIX data = few;&lt;BR /&gt;635 class testyear TIME;&lt;BR /&gt;636 model MPD = TESTYEAR TIME / s dist=binary;&lt;BR /&gt;637 RANDOM HERD;&lt;BR /&gt;638 RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Permanent copy of file WORK.UTDATA.UTILITY was deleted.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE GLIMMIX used (Total process time):&lt;BR /&gt;real time 0.36 seconds&lt;BR /&gt;cpu time 0.06 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this error from small data that has 3 herds with 100 90 Obs.&lt;/P&gt;&lt;P&gt;anyway, thanks millions for every single letter you had written to this conversation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try to work and read more to find out more about this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best wishes to all&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:41:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604139#M29353</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-14T15:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604145#M29354</link>
      <description>&lt;P&gt;&lt;SPAN&gt;You quit SAS and rebooted, as I suggested?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 15:50:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604145#M29354</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-14T15:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604156#M29355</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:14:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604156#M29355</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-14T16:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604170#M29356</link>
      <description>&lt;P&gt;I don't think there is anything else we can do on this forum. If you cannot run GLIMMIX on the simulated 'herd' data set that I wrote, then there is something wrong with your SAS installation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please contact SAS Technical Support and provide them information about your operating system, version of SAS/STAT, and how you are submitting the program (SAS Studio, Enterprise Guide, SAS UE, etc). Send them the following code and the complete SAS log that results when you run it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data herd;
call streaminit(1);
do herd = 1 to 10;
   do testyear = 2005, 2015;
      do Time = 1 to 6;
         eta = -1 + 0.1*herd + 0.5*Time - 2*(testyear=2015);
         mu = logistic(eta);
         mpd = rand("Bernoulli", mu);
         output;
      end;
   end;
end;

proc GLIMMIX data = herd;
   class testyear TIME;
   model MPD = TESTYEAR TIME / s dist=binary;
   RANDOM HERD;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Nov 2019 16:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604170#M29356</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2019-11-14T16:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604205#M29357</link>
      <description>&lt;P&gt;&amp;nbsp;thanks a lot man, I appreciate your help, support and recommendations.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will let you know about whatever I might get about this issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes to all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim Barkamih&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 17:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/604205#M29357</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-14T17:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Mixed effect logistic regression model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/605425#M29407</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	
proc GLIMMIX data=herd;
class testyear (ref='2004') time (ref='11');
model mpd = testyear time /dist=binary link=logit oddsratio solution;
random herd;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I got my needs which is the code I posted in this reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I would love to thank everyone who helped me to find a solution to this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684" target="_self"&gt;Rick_SAS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;your codes also now working perfectly after some changes on my machine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks million man, I appreciate your time and all the suggestions to me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Wishes to all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ibrahim Barkamih&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2019 15:44:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Mixed-effect-logistic-regression-model/m-p/605425#M29407</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-11-19T15:44:58Z</dc:date>
    </item>
  </channel>
</rss>

