<?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 Warning: &amp;quot;Did not converge&amp;quot; in Proc mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-quot-Did-not-converge-quot-in-Proc-mixed/m-p/523295#M26535</link>
    <description>&lt;P&gt;I am trying to analyze a blood serum in a 6x6 latin square design and 7 different time points. I am missing 5 data points, however I had this syntax work for 4 out of 6 minerals (Everything but Mn and Co) set up the same with the same data points missing.&amp;nbsp; This is the syntax I have been using, which worked for 4 other minerals set out in the same manner. I am unfamiliar with SAS and have been trying to troubleshoot on my own and it has been difficult. I have also used type= un@ar (1) with some luck on the others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title1 'Serum TM Data'; 
proc mixed data=one covtest cl ; 
class Period Cow Time Trt; 
model Mn = Period Time Trt Time*Trt/ddfm=kenwardroger; 
repeated Period Time /subject=cow type=un@cs r rcorr; 
lsmeans Period Time Trt Time*Trt /adjust=tukey; 
ods output diffs=ppp lsmeans=mmm; 
ods listing exclude diffs lsmeans; 
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyone who can advise what I could change?&lt;/P&gt;&lt;P&gt;File is attached.&lt;/P&gt;</description>
    <pubDate>Sat, 22 Dec 2018 19:40:56 GMT</pubDate>
    <dc:creator>NBriggs</dc:creator>
    <dc:date>2018-12-22T19:40:56Z</dc:date>
    <item>
      <title>Warning: "Did not converge" in Proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-quot-Did-not-converge-quot-in-Proc-mixed/m-p/523295#M26535</link>
      <description>&lt;P&gt;I am trying to analyze a blood serum in a 6x6 latin square design and 7 different time points. I am missing 5 data points, however I had this syntax work for 4 out of 6 minerals (Everything but Mn and Co) set up the same with the same data points missing.&amp;nbsp; This is the syntax I have been using, which worked for 4 other minerals set out in the same manner. I am unfamiliar with SAS and have been trying to troubleshoot on my own and it has been difficult. I have also used type= un@ar (1) with some luck on the others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title1 'Serum TM Data'; 
proc mixed data=one covtest cl ; 
class Period Cow Time Trt; 
model Mn = Period Time Trt Time*Trt/ddfm=kenwardroger; 
repeated Period Time /subject=cow type=un@cs r rcorr; 
lsmeans Period Time Trt Time*Trt /adjust=tukey; 
ods output diffs=ppp lsmeans=mmm; 
ods listing exclude diffs lsmeans; 
run; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyone who can advise what I could change?&lt;/P&gt;&lt;P&gt;File is attached.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2018 19:40:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-quot-Did-not-converge-quot-in-Proc-mixed/m-p/523295#M26535</guid>
      <dc:creator>NBriggs</dc:creator>
      <dc:date>2018-12-22T19:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Warning: "Did not converge" in Proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-quot-Did-not-converge-quot-in-Proc-mixed/m-p/523395#M26543</link>
      <description>&lt;P&gt;Check the iteration history.&amp;nbsp; Is the model marching towards convergence?&amp;nbsp; If so, then you may need to increase the number of iterations to allow MIXED to reach convergence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the convergence criteria is bouncing around, then the model just may be too complicated for this response.&amp;nbsp; Try simplifying the mean structure of the model and see if that helps.&amp;nbsp; You may also need to simplify the covariance structure, although I understand the structure you are using makes sense for the design.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2018 13:30:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-quot-Did-not-converge-quot-in-Proc-mixed/m-p/523395#M26543</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2018-12-24T13:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Warning: "Did not converge" in Proc mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Warning-quot-Did-not-converge-quot-in-Proc-mixed/m-p/523739#M26551</link>
      <description>&lt;P&gt;The model converges if the response variable is log(Mn).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I will take&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/92458"&gt;@StatsMan&lt;/a&gt;'s&amp;nbsp;comment a bit further and suggest that your design (only six subjects for a six-period, six-treatment&amp;nbsp;Latin square&amp;nbsp;design)&amp;nbsp;may be&amp;nbsp;(and probably is) much too small to be useful or reliable. I would be concerned about balance and carryover, especially because of a period effect (Mn decreases over periods). A model that converges is necessary but may not be sufficient. It is convenient but treacherous to underestimate the complexity and needs of Latin square/crossover designs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Dec 2018 03:31:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Warning-quot-Did-not-converge-quot-in-Proc-mixed/m-p/523739#M26551</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-12-28T03:31:11Z</dc:date>
    </item>
  </channel>
</rss>

