<?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: Repeated Measures  Mixed Model &amp;quot;&amp;quot;Error: Stopped because of infinite likelihood&amp;quot;&amp;amp;a in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385875#M20093</link>
    <description>&lt;P&gt;Here is the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Class levels for patid are not printed because of excessive size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: 20364 observations are not included because of missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: ODS graphics with more than 5000 points have been suppressed. Use the PLOTS(MAXPOINTS= )&lt;BR /&gt; option in the PROC MIXED statement to change or override the cutoff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;WARNING: Stopped because of infinite likelihood.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Aug 2017 22:00:43 GMT</pubDate>
    <dc:creator>sanketshah07</dc:creator>
    <dc:date>2017-08-05T22:00:43Z</dc:date>
    <item>
      <title>Repeated Measures  Mixed Model ""Error: Stopped because of infinite likelihood""</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385781#M20091</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to measure the difference in change of eGFR (postindex_egfr) between treated (cohort_num=1) and untreated (cohort_num=0) groups. I am using a repeated measures mixed model to study this association and eGFR values have been divided by quarter (over 5 years). A lot of quarters will have missing eGFR values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are no duplicate values by quarter for any given patient. The code is written below and I'm getting an infinite likelihood error. Advice would be appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;proc&lt;/FONT&gt; mixed data=hcvrenal.analysis_set_3 &lt;FONT color="#0000FF"&gt;method&lt;/FONT&gt;=reml &lt;FONT color="#0000FF"&gt;covtest&lt;/FONT&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;class&lt;/FONT&gt; patid cohort_num (ref='0') gender bus_num dm(ref='0') htn(ref='0') ccf(ref='0') mi(ref='0') pvd(ref='0') cva(ref='0') can(ref='0') abuse(ref='0') &lt;BR /&gt; hiv hbv ftg(ref='0') ckd_stage(ref='1') quarter (ref='1');&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; &lt;FONT color="#0000FF"&gt;model&lt;/FONT&gt; postindex_egfr = cohort_num ageatindex gender bus_num&lt;BR /&gt; dm htn ccf mi pvd cva can abuse hiv hbv ftg &lt;BR /&gt; fib4 ckd_stage &lt;BR /&gt; QUARTER indexdate &amp;nbsp;/&lt;FONT color="#0000FF"&gt;s ddfm&lt;/FONT&gt;=satterth &lt;FONT color="#0000FF"&gt;COVB&lt;/FONT&gt; ;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;WHERE&lt;/FONT&gt; QUARTER IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;RANDOM&lt;/FONT&gt; patid/cl;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;repeated&lt;/FONT&gt; quarter/type=ar(1) subject=patid*cohort_num ;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;lsmeans&lt;/FONT&gt; cohort_num/cl;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;estimate&lt;/FONT&gt; 'Change from baseline to quarter 4' quarter &lt;BR /&gt;-1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0/e cl;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;estimate&lt;/FONT&gt; 'Change from baseline to final eGFR' quarter&lt;BR /&gt;-1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1/e cl;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;run;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 21:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385781#M20091</guid>
      <dc:creator>sanketshah07</dc:creator>
      <dc:date>2017-08-04T21:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated Measures  Mixed Model ""Error: Stopped because of infinite likelihood"&amp;q</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385867#M20092</link>
      <description>&lt;P&gt;I'm not familiar with this procedure but you missed posting the ERROR you got.&lt;/P&gt;
&lt;P&gt;Please post, too, the log and any results you got, marking the errors.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 19:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385867#M20092</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-05T19:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated Measures  Mixed Model ""Error: Stopped because of infinite likelihood"&amp;a</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385875#M20093</link>
      <description>&lt;P&gt;Here is the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: Class levels for patid are not printed because of excessive size.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: 20364 observations are not included because of missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;WARNING: ODS graphics with more than 5000 points have been suppressed. Use the PLOTS(MAXPOINTS= )&lt;BR /&gt; option in the PROC MIXED statement to change or override the cutoff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;WARNING: Stopped because of infinite likelihood.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 22:00:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385875#M20093</guid>
      <dc:creator>sanketshah07</dc:creator>
      <dc:date>2017-08-05T22:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated Measures  Mixed Model ""Error: Stopped because of infinite likelihood"&amp;a</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385876#M20094</link>
      <description>&lt;P&gt;I have googled for: &amp;nbsp;&lt;STRONG&gt;sas proc mixed infinite likelihood&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it seems to me that next link may help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_mixed_sect031.htm" target="_self"&gt;https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_mixed_sect031.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Next lines were copied from that link page:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;An infinite likelihood during the iteration process means&amp;nbsp;&lt;/SPAN&gt;&lt;A id="statug.mixed.a0000000975" class="subjectindex" target="_blank"&gt;&lt;/A&gt;&lt;SPAN&gt;that the Newton-Raphson algorithm has stepped into a region where either the&amp;nbsp;&lt;/SPAN&gt;&lt;IMG class="math gen" src="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/images/statug_mixed0013.png" border="0" alt="" /&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;IMG class="math gen" src="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/images/statug_mixed0120.png" border="0" alt="" /&gt;&lt;SPAN&gt;&amp;nbsp;matrix is nonpositive definite. This is usually no cause for concern as long as iterations continue. If PROC MIXED stops because of an infinite likelihood, recheck your model to make sure that no observations from the same subject are producing identical rows in&amp;nbsp;&lt;/SPAN&gt;&lt;IMG class="math gen" src="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/images/statug_mixed0013.png" border="0" alt="" /&gt;&lt;SPAN&gt;&amp;nbsp;or&amp;nbsp;&lt;/SPAN&gt;&lt;IMG class="math gen" src="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/images/statug_mixed0120.png" border="0" alt="" /&gt;&lt;SPAN&gt;&amp;nbsp;and that you have enough data to estimate the particular covariance structure you have selected. Any time that the final estimated likelihood is infinite, subsequent results should be interpreted with caution.&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;You may understand it better than me.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 23:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/385876#M20094</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-05T23:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Repeated Measures  Mixed Model ""Error: Stopped because of infinite likelihood"&amp;q</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/386395#M20102</link>
      <description>&lt;P&gt;There could be some helpful tips here&lt;/P&gt;
&lt;P&gt;&lt;A title="Tips and Strategies for Mixed Modeling with SAS/STAT® Procedures" href="http://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings12/332-2012.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;&lt;A title="Advanced Techniques for Fitting Mixed Models Using SAS/STAT® Software" href="http://support.sas.com/resources/papers/proceedings15/SAS1919-2015.pdf" target="_self"&gt;http://support.sas.com/resources/papers/proceedings15/SAS1919-2015.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have found that rescaling the response can be miraculous (sometimes anyway).&lt;/P&gt;
&lt;P&gt;You may have collinearity problems with the predictor variables (both continuous and categorical).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could start with a basic model that includes only a minimal number of predictors (i.e., cohort_num and quarter). If that converges, then you have something to work with. If it doesn't then that may point you towards a potential problem with patid.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 19:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Repeated-Measures-Mixed-Model-quot-quot-Error-Stopped-because-of/m-p/386395#M20102</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-08-08T19:56:48Z</dc:date>
    </item>
  </channel>
</rss>

