<?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: Save residual by using jmp script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Save-residual-by-using-jmp-script/m-p/251172#M49312</link>
    <description>thanks ...</description>
    <pubDate>Sat, 07 Mar 2020 21:30:17 GMT</pubDate>
    <dc:creator>yanee</dc:creator>
    <dc:date>2020-03-07T21:30:17Z</dc:date>
    <item>
      <title>Save residual by using jmp script</title>
      <link>https://community.jmp.com/t5/Discussions/Save-residual-by-using-jmp-script/m-p/251102#M49304</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created a script to run a correlation.&amp;nbsp; there are 2 fit line : a) linear correlation fit , b) 1:1 fit.&lt;/P&gt;
&lt;P&gt;I need to save the residual from the 1:1 fit (fit special). how do I do that with the JMP script ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;plot = data table("Correlation_Raw")&amp;lt;&amp;lt; Bivariate(
Y( :NewTester ),
X( :RefTester ),
Fit Line( {Confid Curves Fit( 1 ), Line Color( {212, 73, 88} )} ),
Fit Special( Intercept( 0 ), Slope( 1 ), {Line Color( {61, 174, 70} )}),
By( :Label )
);
bivRep = plot &amp;lt;&amp;lt; Report;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Yanee&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 17:01:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-residual-by-using-jmp-script/m-p/251102#M49304</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2020-03-07T17:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Save residual by using jmp script</title>
      <link>https://community.jmp.com/t5/Discussions/Save-residual-by-using-jmp-script/m-p/251110#M49306</link>
      <description>&lt;P&gt;Here is a simple modification of your script that will save residuals for both of your fits.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;plot = data table("Correlation_Raw")&amp;lt;&amp;lt; Bivariate(
Y( :NewTester ),
X( :RefTester ),
Fit Line( {Confid Curves Fit( 1 ), Line Color( {212, 73, 88} )} ),
Fit Special( Intercept( 0 ), Slope( 1 ), {Line Color( {61, 174, 70} )}),
By( :Label )
);
bivRep = plot &amp;lt;&amp;lt; Report;
plot &amp;lt;&amp;lt; (Curve[1] &amp;lt;&amp;lt; Save Residuals);
plot &amp;lt;&amp;lt; (Curve[2] &amp;lt;&amp;lt; Save Residuals);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;See the Scripting Index for other examples&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index==&amp;gt;Bivariate==&amp;gt;Save Residuals&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 01:34:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-residual-by-using-jmp-script/m-p/251110#M49306</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-03-07T01:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Save residual by using jmp script</title>
      <link>https://community.jmp.com/t5/Discussions/Save-residual-by-using-jmp-script/m-p/251172#M49312</link>
      <description>thanks ...</description>
      <pubDate>Sat, 07 Mar 2020 21:30:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-residual-by-using-jmp-script/m-p/251172#M49312</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2020-03-07T21:30:17Z</dc:date>
    </item>
  </channel>
</rss>

