<?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: Nonlinear fitting nonoptimal solution in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Nonlinear-fitting-nonoptimal-solution/m-p/803550#M98050</link>
    <description>&lt;P&gt;Are you trying to solve this equation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_0-1728009387585.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68817i2A39525FA1C4DDA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peng_liu_0-1728009387585.png" alt="peng_liu_0-1728009387585.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Maybe, your starting values (35, 0.25) for Ea and A are too far from the optimal.&lt;/P&gt;
&lt;P&gt;Look at the equation, after algebraic manipulation, it is equivalent to this:&lt;/P&gt;
&lt;P&gt;Log(Y^2 / Time) = A - 1000/(R*Temp) * Ea.&lt;/P&gt;
&lt;P&gt;That is a simple linear relationship. And you may run a regression to get an estimate about A (intercept) and Ea (slope). Then put the estimate back to solve your nonlinear regression. Maybe this can help, but no guarantee. Still depend on your data.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 02:40:02 GMT</pubDate>
    <dc:creator>peng_liu</dc:creator>
    <dc:date>2024-10-04T02:40:02Z</dc:date>
    <item>
      <title>Nonlinear fitting nonoptimal solution</title>
      <link>https://community.jmp.com/t5/Discussions/Nonlinear-fitting-nonoptimal-solution/m-p/780589#M97908</link>
      <description>&lt;P&gt;I'm trying to use the nonlinear modeling tool to solve the following equation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter(&lt;BR /&gt;{Ea = 35, A = 0.25},&lt;BR /&gt;Root(&lt;BR /&gt;Exp( -(1000 * Ea) / (:R * :"Test Temperture (K)"n) + A ) *&lt;BR /&gt;:"Test Time (hrs)"n&lt;BR /&gt;)&lt;BR /&gt;);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ea and A are parameters&lt;/P&gt;&lt;P&gt;R is a constant&lt;/P&gt;&lt;P&gt;Time and Temperature are two columns in my table and&amp;nbsp;I have a column that I set as y, that I'm trying to solve for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a solution for Ea and A but when I plot the predicted vs. the experimental, I don't get a great 1:1 fit (i.e. slope of ~1.5). I have found better solutions to this problem using two separate linearization methods to solve for Ea and A but I would like to run it this way to be able to get the upper and lower bounds for the estimate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like the software is getting stuck at some local minima vs. driving to an optimal solution. Is there anything I can do to improve upon this method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JMP version 16.0.0&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 13:40:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nonlinear-fitting-nonoptimal-solution/m-p/780589#M97908</guid>
      <dc:creator>Rutuger85</dc:creator>
      <dc:date>2024-08-09T13:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear fitting nonoptimal solution</title>
      <link>https://community.jmp.com/t5/Discussions/Nonlinear-fitting-nonoptimal-solution/m-p/803550#M98050</link>
      <description>&lt;P&gt;Are you trying to solve this equation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="peng_liu_0-1728009387585.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/68817i2A39525FA1C4DDA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="peng_liu_0-1728009387585.png" alt="peng_liu_0-1728009387585.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Maybe, your starting values (35, 0.25) for Ea and A are too far from the optimal.&lt;/P&gt;
&lt;P&gt;Look at the equation, after algebraic manipulation, it is equivalent to this:&lt;/P&gt;
&lt;P&gt;Log(Y^2 / Time) = A - 1000/(R*Temp) * Ea.&lt;/P&gt;
&lt;P&gt;That is a simple linear relationship. And you may run a regression to get an estimate about A (intercept) and Ea (slope). Then put the estimate back to solve your nonlinear regression. Maybe this can help, but no guarantee. Still depend on your data.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 02:40:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nonlinear-fitting-nonoptimal-solution/m-p/803550#M98050</guid>
      <dc:creator>peng_liu</dc:creator>
      <dc:date>2024-10-04T02:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nonlinear fitting nonoptimal solution</title>
      <link>https://community.jmp.com/t5/Discussions/Nonlinear-fitting-nonoptimal-solution/m-p/803573#M98052</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/59159"&gt;@Rutuger85&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome in the Community !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It may be hard to help you without a sample data set to test. Could you share an anonymized one ?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2781"&gt;@peng_liu&lt;/a&gt;&amp;nbsp;already gave you a good starting point with the possible transformation of your equation and the different starting points for your parameters values Ea and A.&lt;/P&gt;
&lt;P&gt;If you read the documentation&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.0/#page/jmp/statistical-details-on-effective-nonlinear-modeling.shtml#" target="_blank" rel="noopener"&gt;Statistical Details on Effective Nonlinear Modeling&lt;/A&gt;, there might be other options as well to try :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify paramater bounds (red triangle from Nonlinear Fit, "Parameter Bounds"&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.0/#page/jmp/nonlinear-platform-options.shtml#" target="_blank" rel="noopener"&gt;Nonlinear Platform Options&lt;/A&gt;) to reduce the search space,&lt;/LI&gt;
&lt;LI&gt;Change optimization method (red triangle from Nonlinear Fit, "Iteration options", and try to use&amp;nbsp;&lt;SPAN&gt;Newton,&amp;nbsp;QuasiNewton SR1,&amp;nbsp;QuasiNewton BFGS, ...),&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Change stop conditions : number of iterations (you can increase it to improve the chance of finding an optimum), Obj change, ...&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;You can also at the end use the sliders linked to the parameters to try improving the fit manually and/or find more acceptable starting values for the solver chosen.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Another option could be to try using the "Fit Curve" platform and try finding an appropriate model&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.0/#page/jmp/statistical-details-for-fit-curve-models.shtml#" target="_blank"&gt;Statistical Details for Fit Curve Models&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope these few additional suggestions will help you,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 07:57:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nonlinear-fitting-nonoptimal-solution/m-p/803573#M98052</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2024-10-04T07:57:11Z</dc:date>
    </item>
  </channel>
</rss>

