<?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: Script for saving inverse prediction from fit curve into data table column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Script-for-saving-inverse-prediction-from-fit-curve-into-data/m-p/724813#M90814</link>
    <description>&lt;P&gt;Thanks! Both of those worked!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 18:05:14 GMT</pubDate>
    <dc:creator>Mcc99</dc:creator>
    <dc:date>2024-02-20T18:05:14Z</dc:date>
    <item>
      <title>Script for saving inverse prediction from fit curve into data table column</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-inverse-prediction-from-fit-curve-into-data/m-p/724802#M90810</link>
      <description>&lt;P&gt;I am trying to write a script that does the same thing as fit curve&amp;gt;save formula&amp;gt;save inverse prediction formula; where the predicted values are automatically calculated and placed in a new column. I've tried a few different scripts I've seen suggested under other users questions but they haven't worked for me. The fit curve runs fine, but the values aren't input into a column.&lt;/P&gt;&lt;P&gt;Am I missing a line to put the inverse prediction formula into a new column? Or do I need a different script altogether?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using JMP Pro 16 on Windows. Thanks!&lt;/P&gt;&lt;P&gt;I've tried the following:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fc=Data Table( "IgG Plate A Stacked" ) &amp;lt;&amp;lt; Fit Curve(
	Y( :Norm Abs ),
	X( :STD curve ),
	Fit Logistic 4P
);
fc &amp;lt;&amp;lt;Save inverse prediction Formula;  &lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;fc=Data Table( "IgG Plate A Stacked" ) &amp;lt;&amp;lt; Fit Curve(
	Y( :Norm Abs ),
	X( :STD curve ),
	Fit Logistic 4P
);
fc &amp;lt;&amp;lt; Fit Logistic 4P(Save inverse prediction Formula);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 15:00:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-inverse-prediction-from-fit-curve-into-data/m-p/724802#M90810</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-02-20T15:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving inverse prediction from fit curve into data table column</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-inverse-prediction-from-fit-curve-into-data/m-p/724810#M90812</link>
      <description>&lt;P&gt;You might have to drop Fit Logistic 4P from your Fit Curve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is example from Scripting Index and it has Save Inverse Prediction Formula inside Fit Logistic 4P message&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Nonlinear Examples/Bioassay.jmp");
obj = dt &amp;lt;&amp;lt; Fit Curve(Y(:Toxicity), X(:log Conc), Group(:formulation));
obj &amp;lt;&amp;lt; Fit Logistic 4P(Save Inverse Prediction Formula);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1708447464498.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61280i196BDB22B6103C35/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1708447464498.png" alt="jthi_0-1708447464498.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but usually you can move those messages inside the platform launch message like this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Nonlinear Examples/Bioassay.jmp");
obj = dt &amp;lt;&amp;lt; Fit Curve(
	Y(:Toxicity), 
	X(:log Conc), 
	Group(:formulation),
	Fit Logistic 4P(Save Inverse Prediction Formula)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Feb 2024 16:46:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-inverse-prediction-from-fit-curve-into-data/m-p/724810#M90812</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-02-20T16:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script for saving inverse prediction from fit curve into data table column</title>
      <link>https://community.jmp.com/t5/Discussions/Script-for-saving-inverse-prediction-from-fit-curve-into-data/m-p/724813#M90814</link>
      <description>&lt;P&gt;Thanks! Both of those worked!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 18:05:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Script-for-saving-inverse-prediction-from-fit-curve-into-data/m-p/724813#M90814</guid>
      <dc:creator>Mcc99</dc:creator>
      <dc:date>2024-02-20T18:05:14Z</dc:date>
    </item>
  </channel>
</rss>

