<?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: PROC NLIN failed to converge in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882833#M348823</link>
    <description>&lt;P&gt;in the estimates variables. it is still generating results in the estimate when the model didn't converge.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 18:19:25 GMT</pubDate>
    <dc:creator>LOLO12</dc:creator>
    <dc:date>2023-06-28T18:19:25Z</dc:date>
    <item>
      <title>PROC NLIN failed to converge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882825#M348819</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC NLIN failed to converge, I'm fitting around 500 model and this is expected. I want to have&amp;nbsp; missing values where it fil to converge or just don't get this warning at all.&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, 28 Jun 2023 17:52:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882825#M348819</guid>
      <dc:creator>LOLO12</dc:creator>
      <dc:date>2023-06-28T17:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLIN failed to converge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882829#M348822</link>
      <description>&lt;P&gt;To help us help you it is generally a good idea to at least include the code you are currently running. Better would be to include a LOG entry including the code an all of the messages from the log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where do you want to have "missing values"? This is not an obvious, at least to me, requirement.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 18:06:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882829#M348822</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-06-28T18:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLIN failed to converge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882833#M348823</link>
      <description>&lt;P&gt;in the estimates variables. it is still generating results in the estimate when the model didn't converge.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 18:19:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882833#M348823</guid>
      <dc:creator>LOLO12</dc:creator>
      <dc:date>2023-06-28T18:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLIN failed to converge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882836#M348825</link>
      <description>&lt;P&gt;Please have the log attachment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the SAS code&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;PROC NLIN DATA=slope1 ;&lt;/DIV&gt;&lt;DIV&gt;PARAMETERS L=1 to 3 U=3 to 16 R=.5;&lt;/DIV&gt;&lt;DIV&gt;Zl=(parcat3n &amp;lt; R)*(R - parcat3n);&lt;/DIV&gt;&lt;DIV&gt;MODEL aval=L + U*(Zl);&lt;/DIV&gt;&lt;DIV&gt;BY USUBJID TRTA PARAMN AVISION;&lt;/DIV&gt;&lt;DIV&gt;Output out=result parms=L parms=U parms=R&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; predicted=predicted&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; residual=residual&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; sse=sumofsq_err&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; stdr = standarderr;&lt;/DIV&gt;&lt;DIV&gt;run;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Jun 2023 18:31:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882836#M348825</guid>
      <dc:creator>LOLO12</dc:creator>
      <dc:date>2023-06-28T18:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLIN failed to converge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882838#M348826</link>
      <description>&lt;P&gt;The variable _STATUS_ in the OUTEST= dataset tells you which estimates are final (properly converged) or not.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 18:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882838#M348826</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2023-06-28T18:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLIN failed to converge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882950#M348874</link>
      <description>&lt;P&gt;Take a look at the article, &lt;A href="https://blogs.sas.com/content/iml/2015/08/26/convergence-sim.html" target="_self"&gt;"Monitor convergence during simulation studies in SAS."&lt;/A&gt;&amp;nbsp;It explains how to monitor convergence. You can use post-processing to set the predicted value to missing for models that did not converge.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you cannot suppress WARNINGS, but you can use OPTIONS NONOTES to suppress the NOTEs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It also might be worth investigating WHY these models are not converging. For example, some&amp;nbsp; BY groups might have an insufficient number of valid observations (eg, only 2 data points). You can pre-process the data to exclude those situations.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 15:05:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882950#M348874</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2023-06-29T15:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: PROC NLIN failed to converge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882956#M348879</link>
      <description>&lt;P&gt;I know why it is not converging for some of the data because some of formula that I'm using doesn't fit all observation. I want to know which&amp;nbsp; data is not coversiong so I can use the right algorithm.&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>Thu, 29 Jun 2023 15:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-NLIN-failed-to-converge/m-p/882956#M348879</guid>
      <dc:creator>LOLO12</dc:creator>
      <dc:date>2023-06-29T15:17:44Z</dc:date>
    </item>
  </channel>
</rss>

