<?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 How to get nonlinear fit parameters back to data table in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442224#M69049</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have used the nonlinear platform interactively to fit and estimate the parameters Max and k in a formula column as below. I would like to get the estimates back to the data table to use in other formula columns. I have searched, but not been able to figure out how to access them outside the column where the formula resides. I tried Save estimates to table, which gets them into a new separate table. Using jmp 16.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nonlinear.PNG" style="width: 271px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38134iC12C75E7C7E5CC4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nonlinear.PNG" alt="Nonlinear.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 00:42:45 GMT</pubDate>
    <dc:creator>Ake</dc:creator>
    <dc:date>2023-06-09T00:42:45Z</dc:date>
    <item>
      <title>How to get nonlinear fit parameters back to data table</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442224#M69049</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have used the nonlinear platform interactively to fit and estimate the parameters Max and k in a formula column as below. I would like to get the estimates back to the data table to use in other formula columns. I have searched, but not been able to figure out how to access them outside the column where the formula resides. I tried Save estimates to table, which gets them into a new separate table. Using jmp 16.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nonlinear.PNG" style="width: 271px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/38134iC12C75E7C7E5CC4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Nonlinear.PNG" alt="Nonlinear.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:42:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442224#M69049</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2023-06-09T00:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get nonlinear fit parameters back to data table</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442244#M69051</link>
      <description>&lt;P&gt;Here is an example to add them as table variables.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//add steps here to get Nonlinear Estimates table from Nonlinear platform.
name =  data table("nonlinear estimates"):parameter &amp;lt;&amp;lt; get values;
value = data table("nonlinear estimates"):estimate &amp;lt;&amp;lt; get values;
for (i=1,i&amp;lt;=length(name),i++,
	data table("original table") &amp;lt;&amp;lt; New Table Variable( name[i], value[i] )
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Dec 2021 14:00:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442244#M69051</guid>
      <dc:creator>peng_liu</dc:creator>
      <dc:date>2021-12-03T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get nonlinear fit parameters back to data table</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442267#M69053</link>
      <description>&lt;P&gt;Thank you so much for the super fast response! This works! Could you also suggest how to load the parameter values into already existing table variables (Max and k in this case), so I don't get new ones every time?&lt;/P&gt;&lt;P&gt;Best, Åke&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 14:36:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442267#M69053</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2021-12-03T14:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get nonlinear fit parameters back to data table</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442277#M69056</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//add steps here to get Nonlinear Estimates table from Nonlinear platform.
name =  data table("nonlinear estimates"):parameter &amp;lt;&amp;lt; get values;
value = data table("nonlinear estimates"):estimate &amp;lt;&amp;lt; get values;
for (i=1,i&amp;lt;=length(name),i++,
	data table("original table") &amp;lt;&amp;lt; Set Table Variable( name[i], value[i] )
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Maybe try "Set Table Variable". Seems it is the same as "add" if the variable does not exist. I was thinking of "delete" before "add", but that may break dependencies if you build other things that depend on the variables.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 15:37:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442277#M69056</guid>
      <dc:creator>peng_liu</dc:creator>
      <dc:date>2021-12-03T15:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get nonlinear fit parameters back to data table</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442301#M69060</link>
      <description>&lt;P&gt;This also worked perfectly! I might come back to expand the script to do the parts I did manually! :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 17:42:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-nonlinear-fit-parameters-back-to-data-table/m-p/442301#M69060</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2021-12-03T17:42:13Z</dc:date>
    </item>
  </channel>
</rss>

