<?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: X and Y error bars in X-Y Plot in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36149#M21250</link>
    <description>&lt;P&gt;With some effort it can be done with&amp;nbsp;Graph Builder in JMP 13 by plotting Y positioned at&amp;nbsp;mean_X and X positioned at mean_Y on top of eachother but with different response axis settings. In the example below locally tranformed columns are used within Graph Builder (i.e. no need to change the&amp;nbsp;data table).&amp;nbsp;&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="X-Y.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5286i61307A475AAAD547/image-size/medium?v=v2&amp;amp;px=400" role="button" title="X-Y.png" alt="X-Y.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the script to reproduce it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
    Variables(
        X(:Property1),
        X(Transform Column("mean_Prop1", Formula(Col Mean(:Property1, :concentration))), Position(1)),
        Y(:Property2),
        Y(Transform Column("mean_Prop2", Formula(Col Mean(:Property2, :concentration))), Position(1)),
        Overlay(:concentration)
    ),
    Elements(
        Points(X(1), Y(2), Response Axis("X"), Summary Statistic("Mean"), Error Bars("Confidence Interval")),
        Points(X(2), Y(1), Response Axis("Y"), Summary Statistic("Mean"), Error Bars("Confidence Interval"))
    )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 00:36:54 GMT</pubDate>
    <dc:creator>ms</dc:creator>
    <dc:date>2017-02-21T00:36:54Z</dc:date>
    <item>
      <title>X and Y error bars in X-Y Plot</title>
      <link>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36135#M21248</link>
      <description>&lt;P&gt;For physical property correlation tests, we often measure two properties on a series of samples differentiated by a varying concentration of an additive. These two property measurements are repeated 5 times for each sample (at a set concentration).&amp;nbsp;What I would like to do, is plot the two properties on a scatter plot and show the error bars for both properties by concentration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Excel, I would calculate mean, std.dev and the confidence interval. The confidence interval can then be used to set the size of the error bars in the X and Y direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JMP is bound to have a much better and more statistically sound mechanism for this, I hope? I've added some example files, to illustrate my intention. These are randomly generated data.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 22:04:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36135#M21248</guid>
      <dc:creator>robhanssen</dc:creator>
      <dc:date>2017-02-20T22:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: X and Y error bars in X-Y Plot</title>
      <link>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36147#M21249</link>
      <description>&lt;P&gt;How about a bivariate density elipse for each concentration?&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="JMPScreenSnapz074.png" style="width: 412px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5282iAD3D8C9134BA4BE4/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPScreenSnapz074.png" alt="JMPScreenSnapz074.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can get this using Fit Y by X with your two measurements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then choose Group By... from the red triangle hotspot and choose Concentration as your grouping column.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMPScreenSnapz072.png" style="width: 195px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5284i9C2233216C5CF9AF/image-size/large?v=v2&amp;amp;px=999" role="button" title="JMPScreenSnapz072.png" alt="JMPScreenSnapz072.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then add a density elipse.&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="JMPScreenSnapz073.png" style="width: 279px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5283i6CA3EDB6285A1DB4/image-dimensions/279x355?v=v2" width="279" height="355" role="button" title="JMPScreenSnapz073.png" alt="JMPScreenSnapz073.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 22:47:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36147#M21249</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2017-02-20T22:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: X and Y error bars in X-Y Plot</title>
      <link>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36149#M21250</link>
      <description>&lt;P&gt;With some effort it can be done with&amp;nbsp;Graph Builder in JMP 13 by plotting Y positioned at&amp;nbsp;mean_X and X positioned at mean_Y on top of eachother but with different response axis settings. In the example below locally tranformed columns are used within Graph Builder (i.e. no need to change the&amp;nbsp;data table).&amp;nbsp;&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="X-Y.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/5286i61307A475AAAD547/image-size/medium?v=v2&amp;amp;px=400" role="button" title="X-Y.png" alt="X-Y.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here the script to reproduce it:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Graph Builder(
    Variables(
        X(:Property1),
        X(Transform Column("mean_Prop1", Formula(Col Mean(:Property1, :concentration))), Position(1)),
        Y(:Property2),
        Y(Transform Column("mean_Prop2", Formula(Col Mean(:Property2, :concentration))), Position(1)),
        Overlay(:concentration)
    ),
    Elements(
        Points(X(1), Y(2), Response Axis("X"), Summary Statistic("Mean"), Error Bars("Confidence Interval")),
        Points(X(2), Y(1), Response Axis("Y"), Summary Statistic("Mean"), Error Bars("Confidence Interval"))
    )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 00:36:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36149#M21250</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2017-02-21T00:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: X and Y error bars in X-Y Plot</title>
      <link>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36197#M21272</link>
      <description>&lt;P&gt;Thanks for taking the time to help me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there an obvious way to generate this script through the Graph Builder application? I might invest time to generate scripts this way, but I'd like to convey this to my co-workers as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 19:47:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/X-and-Y-error-bars-in-X-Y-Plot/m-p/36197#M21272</guid>
      <dc:creator>robhanssen</dc:creator>
      <dc:date>2017-02-21T19:47:24Z</dc:date>
    </item>
  </channel>
</rss>

