<?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 Error: QUANEW needs more than 200 iterations in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Error-QUANEW-needs-more-than-200-iterations/m-p/450480#M23569</link>
    <description>&lt;P&gt;I am using NLMIXED for Negative Binomial modeling with user defined functions. One of the models worked, but when I replaced a function from :&lt;/P&gt;&lt;P&gt;&amp;nbsp;mu= 5*365*((MINAADT)**beta_1)* ((MAXAADT)**beta_2)*(EXP(beta_0))&lt;/P&gt;&lt;P&gt;with&amp;nbsp; this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;5*365*(beta_0 + beta_1/((1+beta_2 *(MINAADT)**beta_3)*(1+beta_4*(MAXAADT)**beta_5)));&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Following error is shown in the Log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;ERROR: QUANEW Optimization cannot be completed.&lt;BR /&gt;NOTE: QUANEW needs more than 200 iterations or 2000 function calls.&lt;BR /&gt;NOTE: PROCEDURE NLMIXED used (Total process time):&lt;BR /&gt;real time 0.19 seconds&lt;BR /&gt;cpu time 0.12 seconds&lt;/P&gt;</description>
    <pubDate>Mon, 02 Apr 2018 22:22:37 GMT</pubDate>
    <dc:creator>Unay13</dc:creator>
    <dc:date>2018-04-02T22:22:37Z</dc:date>
    <item>
      <title>Error: QUANEW needs more than 200 iterations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-QUANEW-needs-more-than-200-iterations/m-p/450480#M23569</link>
      <description>&lt;P&gt;I am using NLMIXED for Negative Binomial modeling with user defined functions. One of the models worked, but when I replaced a function from :&lt;/P&gt;&lt;P&gt;&amp;nbsp;mu= 5*365*((MINAADT)**beta_1)* ((MAXAADT)**beta_2)*(EXP(beta_0))&lt;/P&gt;&lt;P&gt;with&amp;nbsp; this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;5*365*(beta_0 + beta_1/((1+beta_2 *(MINAADT)**beta_3)*(1+beta_4*(MAXAADT)**beta_5)));&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Following error is shown in the Log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;ERROR: QUANEW Optimization cannot be completed.&lt;BR /&gt;NOTE: QUANEW needs more than 200 iterations or 2000 function calls.&lt;BR /&gt;NOTE: PROCEDURE NLMIXED used (Total process time):&lt;BR /&gt;real time 0.19 seconds&lt;BR /&gt;cpu time 0.12 seconds&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 22:22:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-QUANEW-needs-more-than-200-iterations/m-p/450480#M23569</guid>
      <dc:creator>Unay13</dc:creator>
      <dc:date>2018-04-02T22:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error: QUANEW needs more than 200 iterations</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-QUANEW-needs-more-than-200-iterations/m-p/450872#M23571</link>
      <description>&lt;P&gt;You didn't ask a question, but&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. If you are asking why the model didn't converge, the most likely reason is that the model does not fit the data and/or you did not provide a good initial guess for the parameters.&lt;/P&gt;
&lt;P&gt;2. If you are asking what to do about it, then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;2a. Make a better initial guess for parameters&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;2b. Change to a different optimize, such as&amp;nbsp; TECH=NMSIMP or TECH=NRRIDG&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;2c.If you believe the model is almost converging,&amp;nbsp;you can increase the number of iterations and the number of function evaluations that are permitted: MAXITER=500 MAXFUNC3000.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 20:23:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-QUANEW-needs-more-than-200-iterations/m-p/450872#M23571</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2018-04-03T20:23:10Z</dc:date>
    </item>
  </channel>
</rss>

