<?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 Fit independent lines to two sections of data in the same plot in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Fit-independent-lines-to-two-sections-of-data-in-the-same-plot/m-p/430272#M67997</link>
    <description>&lt;P&gt;I am coming from my earlier question on linear fit solved&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Fit-straight-lines-to-multiple-plotted-charts-and-display/m-p/430153/highlight/true#M67984" target="_self"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In my actual case all the data points do not strictly fall in straight line (which is expected from theory). Please see attached where the smoothing blue line is a guide to the eye.&lt;/P&gt;&lt;P&gt;I would like to fit a straight line to the upper 4 (or 5) points and separately a straight-line to the 3 (or 2) points and get the equation (or slope) for each. How to best implement this (perhaps with both lines visible)?&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="Linearfit2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36998i38E9F1C8A5FD37BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Linearfit2.PNG" alt="Linearfit2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Jun 2023 11:18:43 GMT</pubDate>
    <dc:creator>Neo</dc:creator>
    <dc:date>2023-06-11T11:18:43Z</dc:date>
    <item>
      <title>Fit independent lines to two sections of data in the same plot</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-independent-lines-to-two-sections-of-data-in-the-same-plot/m-p/430272#M67997</link>
      <description>&lt;P&gt;I am coming from my earlier question on linear fit solved&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discussions/Fit-straight-lines-to-multiple-plotted-charts-and-display/m-p/430153/highlight/true#M67984" target="_self"&gt;here.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In my actual case all the data points do not strictly fall in straight line (which is expected from theory). Please see attached where the smoothing blue line is a guide to the eye.&lt;/P&gt;&lt;P&gt;I would like to fit a straight line to the upper 4 (or 5) points and separately a straight-line to the 3 (or 2) points and get the equation (or slope) for each. How to best implement this (perhaps with both lines visible)?&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="Linearfit2.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/36998i38E9F1C8A5FD37BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Linearfit2.PNG" alt="Linearfit2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:18:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-independent-lines-to-two-sections-of-data-in-the-same-plot/m-p/430272#M67997</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-06-11T11:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Fit independent lines to two sections of data in the same plot</title>
      <link>https://community.jmp.com/t5/Discussions/Fit-independent-lines-to-two-sections-of-data-in-the-same-plot/m-p/430275#M67998</link>
      <description>You could create a new column (e.g. "Group"), with different designations (e.g. "A" for the first 3 points and "B" for the rest). Then put Group into the Overlay role, and when you add the fit line it will report equations for both fit lines.</description>
      <pubDate>Mon, 25 Oct 2021 22:42:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Fit-independent-lines-to-two-sections-of-data-in-the-same-plot/m-p/430275#M67998</guid>
      <dc:creator>markschwab</dc:creator>
      <dc:date>2021-10-25T22:42:10Z</dc:date>
    </item>
  </channel>
</rss>

