<?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: how to get the slope/intercept values of orthogonal regression from a Bivariate Fit Chart in JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-to-get-the-slope-intercept-values-of-orthogonal-regression/m-p/718566#M90163</link>
    <description>&lt;P&gt;This should work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt = current data table();
biv = dt &amp;lt;&amp;lt; Bivariate( Y( :New ), X( :Ref ), Fit Orthogonal( 1 ) );

rbiv = biv &amp;lt;&amp;lt; Report;

slopebox = rbiv["Orthogonal Fit Ratio=1.000",NumberColBox( "Slope" )];

slope = (slopebox &amp;lt;&amp;lt; get)[1];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;P.S.&amp;nbsp; In the future, when you enter JSL into a Discussion item, please use the JSL icon at the top of the entry window.&amp;nbsp; It makes for a far more readable entry.&lt;/P&gt;</description>
    <pubDate>Sun, 28 Jan 2024 03:54:06 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-01-28T03:54:06Z</dc:date>
    <item>
      <title>how to get the slope/intercept values of orthogonal regression from a Bivariate Fit Chart in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-the-slope-intercept-values-of-orthogonal-regression/m-p/718561#M90159</link>
      <description>&lt;P&gt;In the following JSL script, I tried to get the values of slope and intercept of the orthogonal regression directly from the Bivariate Fit chart, but it always gives me error :-(... Any hint here?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;biv = dt &amp;lt;&amp;lt; Bivariate( Y( :New ), X( :Ref ), Fit Orthogonal( 1 ) );

rbiv = biv &amp;lt;&amp;lt; Report;

slopebox = rbiv[Outline Box( 1 ),If Box(3), Outline Box(3),Table Box( 4 ), Number Col Box( 12 )];

slope = slopebox&amp;lt;&amp;lt; get(1);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Jan 2024 03:56:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-the-slope-intercept-values-of-orthogonal-regression/m-p/718561#M90159</guid>
      <dc:creator>zxu11</dc:creator>
      <dc:date>2024-01-28T03:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the slope/intercept values of orthogonal regression from a Bivariate Fit Chart in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-the-slope-intercept-values-of-orthogonal-regression/m-p/718566#M90163</link>
      <description>&lt;P&gt;This should work&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt = current data table();
biv = dt &amp;lt;&amp;lt; Bivariate( Y( :New ), X( :Ref ), Fit Orthogonal( 1 ) );

rbiv = biv &amp;lt;&amp;lt; Report;

slopebox = rbiv["Orthogonal Fit Ratio=1.000",NumberColBox( "Slope" )];

slope = (slopebox &amp;lt;&amp;lt; get)[1];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;P.S.&amp;nbsp; In the future, when you enter JSL into a Discussion item, please use the JSL icon at the top of the entry window.&amp;nbsp; It makes for a far more readable entry.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2024 03:54:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-the-slope-intercept-values-of-orthogonal-regression/m-p/718566#M90163</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-01-28T03:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to get the slope/intercept values of orthogonal regression from a Bivariate Fit Chart in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/how-to-get-the-slope-intercept-values-of-orthogonal-regression/m-p/720879#M90300</link>
      <description>&lt;P&gt;YES! It works perfect! Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2024 16:17:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-to-get-the-slope-intercept-values-of-orthogonal-regression/m-p/720879#M90300</guid>
      <dc:creator>zxu11</dc:creator>
      <dc:date>2024-01-31T16:17:35Z</dc:date>
    </item>
  </channel>
</rss>

