<?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: How do i add error bars in chart builder using a var as the error term in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/713206#M89659</link>
    <description>&lt;P&gt;While Graph Builder allows multiple variables in the Y role, they all share the same Interval variable. Here's what I was able to get in JMP after stacking the variables into two columns, one for data and one for SD, and then using the SD column in the Interval role. I used the Local Data Filter to only show the three measures on interest and used a duplicated/split axis instead of your left/right axes.&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="XanGregg_0-1704224346943.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60148iFD64717566E123CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanGregg_0-1704224346943.png" alt="XanGregg_0-1704224346943.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 19:46:32 GMT</pubDate>
    <dc:creator>XanGregg</dc:creator>
    <dc:date>2024-01-02T19:46:32Z</dc:date>
    <item>
      <title>How do i add error bars in chart builder using a var as the error term</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712374#M89569</link>
      <description>&lt;P&gt;I have a dataset with the mean and SD as columns of data and i want to make a simple line graph with error +/- SD.&amp;nbsp; &amp;nbsp;This seem extraordinarily difficult if not impossible to do in JMP ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;of couse it is not that simple .. i have several groups of Y +/- SD&amp;nbsp; using the same X ... but i would be happy to just get one simple set ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;appreciate any help ...&amp;nbsp; &amp;nbsp;with all JMP can do this should be easy.&amp;nbsp; &amp;nbsp;ie not require coding ..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 08:41:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712374#M89569</guid>
      <dc:creator>tcoates</dc:creator>
      <dc:date>2023-12-24T08:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add error bars in chart builder using a var as the error term</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712379#M89570</link>
      <description>&lt;P&gt;Could you provide example data and some sort example graph of what you want to do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit:&lt;/P&gt;
&lt;P&gt;This might give some ideas &lt;LI-MESSAGE title="How to create custom error bars in Graph Builder" uid="35611" url="https://community.jmp.com/t5/JMPer-Cable/How-to-create-custom-error-bars-in-Graph-Builder/m-p/35611#U35611" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 24 Dec 2023 09:10:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712379#M89570</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-12-24T09:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add error bars in chart builder using a var as the error term</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712803#M89612</link>
      <description>&lt;P&gt;Thanks ... the instructions in the article seem to do what i want, but it sure is complicated. (create a line fraph with error bars).&amp;nbsp; &amp;nbsp;I will give it a try one problem is my X axis is numeric.&amp;nbsp; &amp;nbsp;This the article in the link you provided was from 2017.&amp;nbsp; Seems since then JMP would have added an error-bar option.&amp;nbsp; &amp;nbsp;I finally make the graph in Excel, which it not my favorite graphing program.&amp;nbsp; &amp;nbsp; In excel, it took me a while to figure how to jitter the data so the error bars would not overlap.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the graph i made in Excel.&amp;nbsp; You can see the jittered error bars at 0, 3 ..&amp;nbsp; in data set there was in the. form.&amp;nbsp; X Y1 SDY1 Y2 SDY2 Y3 SD Y3.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I plotted in Excel by making 3 copies of the X axis ...&amp;nbsp; and then manually editing the corresponding X value to achieve the Jitter at 0, 3.&amp;nbsp; &amp;nbsp; &amp;nbsp; This is clearly brute-force ... but worked&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached the Excel sheet as well, if you want to play.&amp;nbsp; &amp;nbsp;I would really like to be able to create a column in JMP&amp;nbsp; and tell JMP that COL2 is the Error for COL1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response ......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 20:58:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712803#M89612</guid>
      <dc:creator>tcoates</dc:creator>
      <dc:date>2023-12-28T20:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add error bars in chart builder using a var as the error term</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712846#M89619</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have you tried to assign your error column to the Interval variable in the Graph Builder window?&amp;nbsp;&lt;/P&gt;
&lt;DIV id="tinyMceEditor_472dde11a20254Thierry_S_2" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Thierry_S_3-1703827023588.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60120iF0A71791DDB6D0A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Thierry_S_3-1703827023588.png" alt="Thierry_S_3-1703827023588.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if you have asymmetrical errors, you can assign two columns to the Interval variable to define the upper and lower boundaries of the error range.&lt;/P&gt;
&lt;DIV id="tinyMceEditor_472dde11a20254Thierry_S_0" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;Sorry if this is too simplistic for your case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;
&lt;DIV id="tinyMceEditor_472dde11a20254Thierry_S_1" class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 05:18:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712846#M89619</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2023-12-29T05:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add error bars in chart builder using a var as the error term</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712847#M89620</link>
      <description>&lt;P&gt;One more note:&lt;/P&gt;
&lt;P&gt;Your Xs, Ys, and SDs need to be stacked (i.e., one column for each X, Y, and SD)&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 05:21:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712847#M89620</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2023-12-29T05:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add error bars in chart builder using a var as the error term</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712892#M89629</link>
      <description>&lt;P&gt;As noted previously in the link from Xan, when you have more than one overlay variable the "jitter" is too large.&amp;nbsp; As Thierry mentioned you need to stack your data.&amp;nbsp; Here's an example with two Y variables. Done in JMP 18 Early Adopter, but will work in versions 14, 15 and 16 as well.&lt;/P&gt;
&lt;P&gt;Here's the graph.&amp;nbsp; Note the too-large jitter.&amp;nbsp; &lt;STRONG&gt;If someone knows how to remove the jitter please let us know!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pmroz_0-1703871103866.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60124i3C27F22127B67EB6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pmroz_0-1703871103866.png" alt="pmroz_0-1703871103866.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = New Table( "Error Bar Demo", Add Rows( 12 ),
	New Column( "Interval", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values( [1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6] )),
	New Column( "Y", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values(
			[12.437490886321333, 37.199168332879417, 37.156578932774323,
			35.050996731864814, 30.322353371355184, 8.0614203454894433,
			3.859910964720414, 12.621146398655515, 17.191849953970209,
			10.367196216467057, 12.039757956273382, 3.45489443378119] )),
	New Column( "LCL", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values(
			[7.2927397683889579, 25.642305959980376, 26.50551265292761,
			25.263402819677477, 21.688274852565598, 4.2492252022016492,
			1.3434215718643505, 6.4065309646179331, 10.278623145692858,
			5.4646141190032171, 6.907533049594635, 1.2024577129570946] )),
	New Column( "UCL", Numeric, "Continuous", Format( "Best", 12 ),
		Set Values(
			[19.718075997278717, 52.024792167595514, 50.529174751416292,
			47.259229019802909, 41.144254937530874, 13.798954022840528,
			8.5769036465305053, 22.175341545759608, 26.863128886056295,
			17.745813740731023, 19.39599547859639, 7.6769378719651895] )),
	New Column( "Label", Character, "Nominal",
		Set Values( {"BTD", "BTD", "BTD", "BTD", "BTD", "BTD",
					 "DI", "DI", "DI", "DI", "DI", "DI"} )
	)
);

dt &amp;lt;&amp;lt; Graph Builder(
	Show Control Panel( 0 ),
	Variables(
		X( :Interval ),
		Y( :Y ),
		Y( :LCL, Position( 1 ) ),
		Y( :UCL, Position( 1 ) ),
		Overlay( :Label )
	),
	Elements(
		Points( X, Y( 1 ), Legend( 15 ), Jitter( "None" ) ),
		Line( X, Y( 1 ), Legend( 17 ) ),
		Bar( X, Y( 2 ), Y( 3 ), Legend( 18 ), Bar Style( "Interval" ))
	),
	SendToReport(
		Dispatch( {}, "Interval", ScaleBox, {Label Row( Show Major Grid( 1 ) )} ),
		Dispatch( {}, "Y", ScaleBox, {Label Row( Show Major Grid( 1 ) )} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you stack your data and follow Xan's directions you'll be able to do this without writing JSL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 17:34:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/712892#M89629</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2023-12-29T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add error bars in chart builder using a var as the error term</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/713206#M89659</link>
      <description>&lt;P&gt;While Graph Builder allows multiple variables in the Y role, they all share the same Interval variable. Here's what I was able to get in JMP after stacking the variables into two columns, one for data and one for SD, and then using the SD column in the Interval role. I used the Local Data Filter to only show the three measures on interest and used a duplicated/split axis instead of your left/right axes.&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="XanGregg_0-1704224346943.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/60148iFD64717566E123CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XanGregg_0-1704224346943.png" alt="XanGregg_0-1704224346943.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 19:46:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-i-add-error-bars-in-chart-builder-using-a-var-as-the/m-p/713206#M89659</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2024-01-02T19:46:32Z</dc:date>
    </item>
  </channel>
</rss>

