<?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: Line fit in graph builder in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Line-fit-in-graph-builder/m-p/7012#M7006</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Three possibilities come to mind for the main part (lacking the line equation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Add a weighting column to your data table, set to 1 in the middle area and 0 elsewhere. Then use GB and assign the new variable to the Freq role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Split your Y column into two columns, Y1 and Y2, with Y1 missing in the middle area and Y2 missing elsewhere. Now put both Y1 and Y2 into the Y role in GB. Add a Line of Fit, Right-click in graph &amp;gt; Line Of Fit &amp;gt; Y &amp;gt; Y1 to turn off Y1 for the Line of Fit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Mark the rows for the outer points as excluded (but not hidden) and use Fit Y by X. Use Group By to get the overlay effect there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the third option readily gives you an equation for the fit, though Graph Builder will show it in the graph for JMP 11 due out in September.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2013 17:36:18 GMT</pubDate>
    <dc:creator>XanGregg</dc:creator>
    <dc:date>2013-06-28T17:36:18Z</dc:date>
    <item>
      <title>Line fit in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Line-fit-in-graph-builder/m-p/7011#M7005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am wanting to fit a straight line in graph builder, but only for a specified range of data.&amp;nbsp; I want my chart to show the whole spectrum of data and the smoother line (as shown below), but also a fit line only using the range of the data between the black lines.&amp;nbsp; I would also like to get the equation of the line and show it on the graph if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3810_Graph Builder.gif" style="width: 1363px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/177iB11487E7E392BB49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3810_Graph Builder.gif" alt="3810_Graph Builder.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:15:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-fit-in-graph-builder/m-p/7011#M7005</guid>
      <dc:creator>jake</dc:creator>
      <dc:date>2016-10-18T20:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Line fit in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Line-fit-in-graph-builder/m-p/7012#M7006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Three possibilities come to mind for the main part (lacking the line equation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Add a weighting column to your data table, set to 1 in the middle area and 0 elsewhere. Then use GB and assign the new variable to the Freq role.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Split your Y column into two columns, Y1 and Y2, with Y1 missing in the middle area and Y2 missing elsewhere. Now put both Y1 and Y2 into the Y role in GB. Add a Line of Fit, Right-click in graph &amp;gt; Line Of Fit &amp;gt; Y &amp;gt; Y1 to turn off Y1 for the Line of Fit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Mark the rows for the outer points as excluded (but not hidden) and use Fit Y by X. Use Group By to get the overlay effect there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the third option readily gives you an equation for the fit, though Graph Builder will show it in the graph for JMP 11 due out in September.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 17:36:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-fit-in-graph-builder/m-p/7012#M7006</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2013-06-28T17:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Line fit in graph builder</title>
      <link>https://community.jmp.com/t5/Discussions/Line-fit-in-graph-builder/m-p/7013#M7007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great.&amp;nbsp; Thank you very much.&amp;nbsp; I think I am going with option 2 with a slight modification.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I couldn't get option 1 to show both sets of data on the same Y axis at the same time in GB.&amp;nbsp; With option 3, I couldn't find a way to get a smoother line in the Fit Y by X (and if I could it didn't seem like it would include the excluded data, which I wanted for the smoother line).&amp;nbsp; I ended up going with option 2, except instead of adding 2 additional columns I only added 1 that only had the data I wanted to fit the line to.&amp;nbsp; Then I put my original Y and my new Y into GB and fit a line only to the new Y as you described.&amp;nbsp; If I did 2 new columns the smoother line was not correct for the middle section.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I look forward to JMP 11 when I can get my equation on the graph.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3812_Graph Builder.jpg" style="width: 1431px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/178iB297085D2F80EAC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3812_Graph Builder.jpg" alt="3812_Graph Builder.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 20:15:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Line-fit-in-graph-builder/m-p/7013#M7007</guid>
      <dc:creator>jake</dc:creator>
      <dc:date>2016-10-18T20:15:25Z</dc:date>
    </item>
  </channel>
</rss>

