<?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 Find the max slope in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561202#M77423</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a list of points forming a slanted line,&amp;nbsp;I am interested in knowing the maximum slope created by the curve.&lt;/P&gt;
&lt;P&gt;I have a lot of sets of points so I'm interested in knowing how to do it in a formula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the numbers 1,2,3,4 form a straight line with a fixed slope of 1 so the max is 1.&amp;nbsp;My numbers don't form a straight line so the equation is more complicated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attach a sample file.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 12:14:24 GMT</pubDate>
    <dc:creator>Erez</dc:creator>
    <dc:date>2023-06-11T12:14:24Z</dc:date>
    <item>
      <title>Find the max slope</title>
      <link>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561202#M77423</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello everyone,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a list of points forming a slanted line,&amp;nbsp;I am interested in knowing the maximum slope created by the curve.&lt;/P&gt;
&lt;P&gt;I have a lot of sets of points so I'm interested in knowing how to do it in a formula.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the numbers 1,2,3,4 form a straight line with a fixed slope of 1 so the max is 1.&amp;nbsp;My numbers don't form a straight line so the equation is more complicated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attach a sample file.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 12:14:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561202#M77423</guid>
      <dc:creator>Erez</dc:creator>
      <dc:date>2023-06-11T12:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Find the max slope</title>
      <link>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561235#M77424</link>
      <description>&lt;P&gt;If the slopes are within each row, maybe this&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="Capturing the maximum change between columns." style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/46632i9654E9A80FB8AF8A/image-size/large?v=v2&amp;amp;px=999" role="button" title="slopes.PNG" alt="Capturing the maximum change between columns." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Capturing the maximum change between columns.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might care about absolute value of the change. Abs(point3-point2) ...&lt;/P&gt;
&lt;P&gt;You might need a scalable design, handling 100s of columns. That's possible using an array.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 11:28:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561235#M77424</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2022-10-27T11:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Find the max slope</title>
      <link>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561239#M77425</link>
      <description>&lt;P&gt;Are you fitting a model and extracting the maximum first derivative, or are you just interested in the most significant difference between points?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 13:03:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561239#M77425</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-27T13:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Find the max slope</title>
      <link>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561241#M77427</link>
      <description>&lt;P&gt;I interested in the most significant difference between points.&lt;/P&gt;&lt;P&gt;That's why Craige_Hales' solution is good for me.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 13:13:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561241#M77427</guid>
      <dc:creator>Erez</dc:creator>
      <dc:date>2022-10-27T13:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Find the max slope</title>
      <link>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561242#M77428</link>
      <description>&lt;P&gt;Here is a modification to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;formula that removes the requirement to list each pair of columns&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
Max( Abs( dt[Row(), Index( 1, N Cols( dt ) - 2 )] - dt[Row(), Index( 2, N Cols( dt ) - 1 )] ) );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Oct 2022 13:39:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561242#M77428</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-10-27T13:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Find the max slope</title>
      <link>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561248#M77430</link>
      <description>&lt;P&gt;Here is a different approach using a script. It accommodates any number of data points (data columns) and observations. It assumes that the data table is open and that the last column is dedicated to storing the result.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 14:22:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Find-the-max-slope/m-p/561248#M77430</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-10-27T14:22:18Z</dc:date>
    </item>
  </channel>
</rss>

