<?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: What should I do if after I run the nonlinear regression and the following message appears on the control panel:  &amp;quot;Consider looser convergence criteria or selec &amp;quot;accept current estimates&amp;quot; under &amp;quot;iteration options&amp;quot;. Failed: Cannot decrease objective function in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/712921#M89636</link>
    <description>&lt;P&gt;Thank you for providing the example. It is beneficial when diagnosing the problem.&lt;/P&gt;
&lt;P&gt;I interactively launched Nonlinear and fit the model for each sample. I see the same notice. It is based on the criteria you used to determine convergence. None of the criteria were satisfied. On the other hand, you have a good fit! The SSE is relatively small.&lt;/P&gt;
&lt;P&gt;I do not think it is a data problem or an inappropriate model. In fact, I clicked Reset and then Go. It converged by the Gradient criterion the second time for every sample.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Dec 2023 17:07:41 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2023-12-30T17:07:41Z</dc:date>
    <item>
      <title>What should I do if after I run the nonlinear regression and the following message appears on the control panel:  "Consider looser convergence criteria or selec "accept current estimates" under "iteration options". Failed: Cannot decrease objective function</title>
      <link>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/712840#M89618</link>
      <description>&lt;P&gt;The code is working good for other samples, but for few samples it is showing that the graph is not convergent.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"Consider looser convergence criteria or select "accept current estimates" under "iteration options". Failed: Cannot decrease objective function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is as below and I am attaching the samples for which it is not working well.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt= currentdatatable();
New Column( "Model",
	Numeric,
	"Continuous",
	Format( "Best", 12 ),
	Formula(
		Parameter(
			{p = 0.29, x0 = 15, m0 = 1.2, x1 = 30, m1 = 5},
			p * (1 - Exp( -(X_mm / x0) ^ m0 )) + (1 - p) * (1
			-Exp( -(X_mm / x1) ^ m1 ))
		)	
	),

);


nlin = dt &amp;lt;&amp;lt; Nonlinear(
SendToByGroup( Bygroup Default ),
Y( Ln_C ),
X( :Model ),
Iteration Limit( 1000 ),
Unthreaded( 1 ),
QuasiNewton BFGS,
//Newton,
Finish,
By( Sample_ID ),

);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 04:10:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/712840#M89618</guid>
      <dc:creator>Vinusha</dc:creator>
      <dc:date>2023-12-29T04:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: What should I do if after I run the nonlinear regression and the following message appears on the control panel:  "Consider looser convergence criteria or selec "accept current estimates" under "iteration options". Failed: Cannot decrease objective function</title>
      <link>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/712921#M89636</link>
      <description>&lt;P&gt;Thank you for providing the example. It is beneficial when diagnosing the problem.&lt;/P&gt;
&lt;P&gt;I interactively launched Nonlinear and fit the model for each sample. I see the same notice. It is based on the criteria you used to determine convergence. None of the criteria were satisfied. On the other hand, you have a good fit! The SSE is relatively small.&lt;/P&gt;
&lt;P&gt;I do not think it is a data problem or an inappropriate model. In fact, I clicked Reset and then Go. It converged by the Gradient criterion the second time for every sample.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Dec 2023 17:07:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/712921#M89636</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2023-12-30T17:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: What should I do if after I run the nonlinear regression and the following message appears on the control panel:  "Consider looser convergence criteria or selec "accept current estimates" under "iteration options". Failed: Cannot decrease objective function</title>
      <link>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/712995#M89641</link>
      <description>&lt;P&gt;Thank you sir, by clicking on Reset and Go, the data is being converged by Gradient criterion. But, what if I wanted to automize it in the script instead of resetting the graph because I wanted to use this output for further analysis. And only these samples are not being converged in the first attempt, so how to automize this using the script.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2024 09:22:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/712995#M89641</guid>
      <dc:creator>Vinusha</dc:creator>
      <dc:date>2024-01-01T09:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: What should I do if after I run the nonlinear regression and the following message appears on the control panel:  "Consider looser convergence criteria or selec "accept current estimates" under "iteration options". Failed: Cannot decrease objective function</title>
      <link>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/713203#M89658</link>
      <description>&lt;P&gt;if it seems that a failure to converge requires a single Reset and Go, then your script could send the messages in succession to each sample. See the Scripting Index for Reset and Go messages.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="reset.JPG" style="width: 958px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60146iD75D92F10592B832/image-size/large?v=v2&amp;amp;px=999" role="button" title="reset.JPG" alt="reset.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 19:13:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/What-should-I-do-if-after-I-run-the-nonlinear-regression-and-the/m-p/713203#M89658</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-01-02T19:13:06Z</dc:date>
    </item>
  </channel>
</rss>

