<?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: trying to use JSL to save prediction results to a new column based on a model fit in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/trying-to-use-JSL-to-save-prediction-results-to-a-new-column/m-p/424072#M67328</link>
    <description>&lt;P&gt;I'm just beginning to learn JSL.&amp;nbsp; I needed to add text (Obj =)&lt;/img&gt; in front of Fit Model for it to recognize the model and results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So...I'm all set.&amp;nbsp; &amp;nbsp;Thanks all.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Oct 2021 19:54:09 GMT</pubDate>
    <dc:creator>learning_JSL</dc:creator>
    <dc:date>2021-10-06T19:54:09Z</dc:date>
    <item>
      <title>trying to use JSL to save prediction results to a new column based on a model fit</title>
      <link>https://community.jmp.com/t5/Discussions/trying-to-use-JSL-to-save-prediction-results-to-a-new-column/m-p/424034#M67325</link>
      <description>&lt;P&gt;Hi all - I am&amp;nbsp;trying to save prediction results to a new column in my data table based on a model regression fit.&amp;nbsp; I have tried numerous configurations and the JSL debugger but the results do not end up in the newly created column.&amp;nbsp; &amp;nbsp;I think I am missing something simple.&amp;nbsp; Thanks in advance for any assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is my script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "C:\ fit model100621.jmp" );
New Column( "New Predicted", Numeric, "Continuous", Format( "Best", 12 ) );
Fit Model(
    Y( :BACT ),
    Effects( :VAR1, VAR2, :VAR3 ),
    Personality( "Standard Least Squares" ),
    Emphasis( "Effect Leverage" ),
    Run
);
obj &amp;lt;&amp;lt; Prediction Results;

Close( dt, save( "C:\ RESULTS of fit model100321.jmp" ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:58:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/trying-to-use-JSL-to-save-prediction-results-to-a-new-column/m-p/424034#M67325</guid>
      <dc:creator>learning_JSL</dc:creator>
      <dc:date>2023-06-09T19:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: trying to use JSL to save prediction results to a new column based on a model fit</title>
      <link>https://community.jmp.com/t5/Discussions/trying-to-use-JSL-to-save-prediction-results-to-a-new-column/m-p/424072#M67328</link>
      <description>&lt;P&gt;I'm just beginning to learn JSL.&amp;nbsp; I needed to add text (Obj =)&lt;/img&gt; in front of Fit Model for it to recognize the model and results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So...I'm all set.&amp;nbsp; &amp;nbsp;Thanks all.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 19:54:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/trying-to-use-JSL-to-save-prediction-results-to-a-new-column/m-p/424072#M67328</guid>
      <dc:creator>learning_JSL</dc:creator>
      <dc:date>2021-10-06T19:54:09Z</dc:date>
    </item>
  </channel>
</rss>

