<?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: Graph line of fit for all values and ellipse by group in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Graph-line-of-fit-for-all-values-and-ellipse-by-group/m-p/216034#M43144</link>
    <description>&lt;P&gt;Maybe try this without Graph Builder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use Fit Y by X. Put your X and Y values in the proper roles.&lt;/P&gt;
&lt;P&gt;In the resulting graph, click the red triangle and choose Fit Line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now go back to the red popup and choose Group By... and specify your Group column.&lt;/P&gt;
&lt;P&gt;One more trip to the red popup and choose Density Ellipse &amp;gt; 0.95.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To make things prettier you will likely want to right-click the graph and add a Row Legend with the Group column to establish the marker colors.&lt;/P&gt;
&lt;P&gt;You will also want to click red popups associated with each density ellipse to shade them, if you like the shading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've included my result for your sample data.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fit Y by X.png" style="width: 463px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18158iD51C79E60FF2C942/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fit Y by X.png" alt="Fit Y by X.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 19:11:47 GMT</pubDate>
    <dc:creator>Dan_Obermiller</dc:creator>
    <dc:date>2019-07-02T19:11:47Z</dc:date>
    <item>
      <title>Graph line of fit for all values and ellipse by group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-line-of-fit-for-all-values-and-ellipse-by-group/m-p/216011#M43142</link>
      <description>&lt;P&gt;I'm trying to figure out if it's possible to create a graph in JMP which draws a Line of Fit relative to all points in the graph along with 95% ellipse curves over individual groups.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example if this is my data:&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;X Value&lt;/TD&gt;&lt;TD&gt;Y Value&lt;/TD&gt;&lt;TD&gt;Group&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I do Graph Builder - X Value to X - Y Value to Y - Group to Color - Click Line of Fit.&amp;nbsp; I want to keep the color for each group and the regression line fit based on points from both groups.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then if I do this in another Graph Builder - X Value to X - Y Value to Y - Group to Overlay - Click Ellipse.&amp;nbsp; I want to keep the separate ellipses over each group without removing the regression line or color from above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried various methods (copying Frame Contents, scripts, etc) for accomplishing this without any luck.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 18:51:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-line-of-fit-for-all-values-and-ellipse-by-group/m-p/216011#M43142</guid>
      <dc:creator>Aphex</dc:creator>
      <dc:date>2019-07-02T18:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Graph line of fit for all values and ellipse by group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-line-of-fit-for-all-values-and-ellipse-by-group/m-p/216034#M43144</link>
      <description>&lt;P&gt;Maybe try this without Graph Builder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use Fit Y by X. Put your X and Y values in the proper roles.&lt;/P&gt;
&lt;P&gt;In the resulting graph, click the red triangle and choose Fit Line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now go back to the red popup and choose Group By... and specify your Group column.&lt;/P&gt;
&lt;P&gt;One more trip to the red popup and choose Density Ellipse &amp;gt; 0.95.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To make things prettier you will likely want to right-click the graph and add a Row Legend with the Group column to establish the marker colors.&lt;/P&gt;
&lt;P&gt;You will also want to click red popups associated with each density ellipse to shade them, if you like the shading.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've included my result for your sample data.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fit Y by X.png" style="width: 463px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18158iD51C79E60FF2C942/image-size/large?v=v2&amp;amp;px=999" role="button" title="Fit Y by X.png" alt="Fit Y by X.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:11:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-line-of-fit-for-all-values-and-ellipse-by-group/m-p/216034#M43144</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2019-07-02T19:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Graph line of fit for all values and ellipse by group</title>
      <link>https://community.jmp.com/t5/Discussions/Graph-line-of-fit-for-all-values-and-ellipse-by-group/m-p/216036#M43145</link>
      <description>&lt;P&gt;Is this what you want......overall line, but separate ellipses?&amp;nbsp; If so, just specify under the variables for Line, to not Overlay&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="overlay.PNG" style="width: 948px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/18159iDE1B70F756DF6B7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="overlay.PNG" alt="overlay.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 19:14:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Graph-line-of-fit-for-all-values-and-ellipse-by-group/m-p/216036#M43145</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-07-02T19:14:51Z</dc:date>
    </item>
  </channel>
</rss>

