<?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 Stopped because of infinite likelihood - Not due to duplicate records in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Stopped-because-of-infinite-likelihood-Not-due-to-duplicate/m-p/302199#M16070</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am receiving the "stopped because of infinite likelihood" error message and could use your&amp;nbsp;help resolving this issue. I have read other posts on this board and one common suggestion is to check that there are no duplicate entries for a subject. I have ensured that each subject has only one value per time point. I am hoping you all might be able to help me figure out what else could be causing this error. Below is an explanation of my design and some samples of my data and code. Anyone advice you could give would be greatly appreciated. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To give you some more background on my design and code:&lt;/P&gt;&lt;P&gt;I am running a 3-way ANOVA (Age | Diet | Time) with repeated measures on Time using Proc Mixed. Each subject, is assigned to one age (2 levels) and one diet (2 levels) and have one value per time point (223 sampling times for each subject). Therefore, there are 223 values per subject and a total of 33 subjects (=7392 total lines of data).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sampling of&amp;nbsp;how my data is entered:&lt;/P&gt;&lt;P&gt;input slice$ age$ diet$ time slope;&lt;/P&gt;&lt;P&gt;cards;&lt;BR /&gt;1a Young Control 0.0 106.1145644&lt;BR /&gt;1a Young Control 0.3 95.66878936&lt;BR /&gt;1a Young Control 0.7 96.04325189&lt;BR /&gt;1a Young Control 1.0 95.74211497&lt;BR /&gt;1a Young Control 1.3 95.23252855&lt;BR /&gt;1a Young Control 1.7 89.55785791&lt;BR /&gt;1a Young Control 2.0 98.95222987&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the code for my model:&lt;/P&gt;&lt;P&gt;proc mixed data= AgedRepopLTP;&lt;BR /&gt;class slice age diet time;&lt;BR /&gt;model slope = age|diet|time / residual;&lt;BR /&gt;repeated time / subject=slice type=ar(1);&lt;BR /&gt;random slice;&lt;BR /&gt;run;&lt;BR /&gt;run;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Oct 2016 23:57:38 GMT</pubDate>
    <dc:creator>elmorem</dc:creator>
    <dc:date>2016-10-03T23:57:38Z</dc:date>
    <item>
      <title>Stopped because of infinite likelihood - Not due to duplicate records</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stopped-because-of-infinite-likelihood-Not-due-to-duplicate/m-p/302199#M16070</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am receiving the "stopped because of infinite likelihood" error message and could use your&amp;nbsp;help resolving this issue. I have read other posts on this board and one common suggestion is to check that there are no duplicate entries for a subject. I have ensured that each subject has only one value per time point. I am hoping you all might be able to help me figure out what else could be causing this error. Below is an explanation of my design and some samples of my data and code. Anyone advice you could give would be greatly appreciated. Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To give you some more background on my design and code:&lt;/P&gt;&lt;P&gt;I am running a 3-way ANOVA (Age | Diet | Time) with repeated measures on Time using Proc Mixed. Each subject, is assigned to one age (2 levels) and one diet (2 levels) and have one value per time point (223 sampling times for each subject). Therefore, there are 223 values per subject and a total of 33 subjects (=7392 total lines of data).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a sampling of&amp;nbsp;how my data is entered:&lt;/P&gt;&lt;P&gt;input slice$ age$ diet$ time slope;&lt;/P&gt;&lt;P&gt;cards;&lt;BR /&gt;1a Young Control 0.0 106.1145644&lt;BR /&gt;1a Young Control 0.3 95.66878936&lt;BR /&gt;1a Young Control 0.7 96.04325189&lt;BR /&gt;1a Young Control 1.0 95.74211497&lt;BR /&gt;1a Young Control 1.3 95.23252855&lt;BR /&gt;1a Young Control 1.7 89.55785791&lt;BR /&gt;1a Young Control 2.0 98.95222987&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the code for my model:&lt;/P&gt;&lt;P&gt;proc mixed data= AgedRepopLTP;&lt;BR /&gt;class slice age diet time;&lt;BR /&gt;model slope = age|diet|time / residual;&lt;BR /&gt;repeated time / subject=slice type=ar(1);&lt;BR /&gt;random slice;&lt;BR /&gt;run;&lt;BR /&gt;run;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 23:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stopped-because-of-infinite-likelihood-Not-due-to-duplicate/m-p/302199#M16070</guid>
      <dc:creator>elmorem</dc:creator>
      <dc:date>2016-10-03T23:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stopped because of infinite likelihood - Not due to duplicate records</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Stopped-because-of-infinite-likelihood-Not-due-to-duplicate/m-p/308508#M16327</link>
      <description>&lt;P&gt;While I am a big fan of the AR+RE method proposed by Littell, and have recommended it a lot, I suspect that is what is causing your problem. &amp;nbsp;The first thing to try is to remove slice as a random effect. &amp;nbsp;This is the equivalent of assuming that all subjects have a common intercept in the mixed model equations, which does not seem unreasonable from the smattering of data provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that doesn't solve things, you may need to look at more flexible covariance structures than AR(1)--you may have data&amp;nbsp;that makes that assumption about the errors run into difficulties. &amp;nbsp;With that many time points, a spline structure may be able to give you what you need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 14:20:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Stopped-because-of-infinite-likelihood-Not-due-to-duplicate/m-p/308508#M16327</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-11-01T14:20:45Z</dc:date>
    </item>
  </channel>
</rss>

