<?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: Standard deviation Bars in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54636#M30876</link>
    <description>&lt;P&gt;Kindly see bellow is my spreadsheet and the graph builder which failed to show the "Standard deviation Bars". I am not sure what I am doing wrong?!&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="www.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10267i019FBC3DFD46ABF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="www.png" alt="www.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Apr 2018 22:25:13 GMT</pubDate>
    <dc:creator>Johnanderson</dc:creator>
    <dc:date>2018-04-07T22:25:13Z</dc:date>
    <item>
      <title>Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54627#M30870</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to plot Y by X continous variables. X represent unit time., and Y is mean signal&amp;nbsp;at each time point in X (please see below). I would like to&amp;nbsp;add standard deviation bars to each point. How can I do it in JMP pro 14?&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="Fit Y by X.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10265i0C78F5D426D06E9F/image-size/medium?v=v2&amp;amp;px=400" 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;Your help and advices are highly appreciated!&lt;/P&gt;&lt;P&gt;john&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 20:44:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54627#M30870</guid>
      <dc:creator>Johnanderson</dc:creator>
      <dc:date>2018-04-07T20:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54630#M30871</link>
      <description>&lt;P&gt;You can easily handle this using Graph Builder&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error bars.PNG" style="width: 955px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10266i3E082A56B57083F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="error bars.PNG" alt="error bars.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 21:03:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54630#M30871</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-04-07T21:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54631#M30872</link>
      <description>&lt;P&gt;Dear&amp;nbsp;txnelson – thank you so much for the response! I think you were able to show the standard deviation bars because&amp;nbsp;the modeling type for X (i.e. age) is ordinal not continous. Correct? Is there any differnce?&lt;/P&gt;&lt;P&gt;Kindly, how happened that you have multiple heights for each age group. I expect that your spreadsheet&amp;nbsp;has&amp;nbsp;three columns one for age, the other one for height, and the third one for weight?&lt;/P&gt;&lt;P&gt;Also the title of your figure was "mean (height) &amp;amp; height vs age". That means you ploted two Y variables against one X variable (i.e. age). Correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I coud not do it! In my spreadsheet I have only two columns one for X and the other one for Y. both are continous variables. I highly appreciate any guidance. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:09:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54631#M30872</guid>
      <dc:creator>Johnanderson</dc:creator>
      <dc:date>2018-04-07T22:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54632#M30873</link>
      <description>&lt;P&gt;Where are you expecting that you are going to get your standard deviation?&amp;nbsp; If you X variable is continuious.....each individual point will be considered independently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can easily change the Modeling Type from Continuous to Ordinal, if you have multiple values at the differenx X's&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:12:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54632#M30873</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-04-07T22:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54633#M30874</link>
      <description>&lt;P&gt;Dear&amp;nbsp;txnelson – I tried to change X to ordinal. When ploting X vs Y this will output one point in X&amp;nbsp;for each&amp;nbsp;point in Y. In the figure you provided there are multiple points in Y for each X. Kindly, why?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:16:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54633#M30874</guid>
      <dc:creator>Johnanderson</dc:creator>
      <dc:date>2018-04-07T22:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54634#M30875</link>
      <description>&lt;P&gt;Just add a new Points entry for the chart.&lt;/P&gt;
&lt;P&gt;Right click on the chart, and select "Add" and then select "Points"&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:18:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54634#M30875</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-04-07T22:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54636#M30876</link>
      <description>&lt;P&gt;Kindly see bellow is my spreadsheet and the graph builder which failed to show the "Standard deviation Bars". I am not sure what I am doing wrong?!&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="www.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10267i019FBC3DFD46ABF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="www.png" alt="www.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:25:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54636#M30876</guid>
      <dc:creator>Johnanderson</dc:creator>
      <dc:date>2018-04-07T22:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54637#M30877</link>
      <description>&lt;P&gt;You have separated your y column into 3 separate columns, which will not allow Graph Builder to group them for the calculation of the standard deviation.&lt;/P&gt;
&lt;P&gt;If you Stack the 3 Signal columns, keeping the Time column too, then you can drag the stacked column to Y and Time to X, Color by the Label column from the Stack output, and then ask for the Error Bars, and add the new Points.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this is too confusing, attach your data table, an I will take a go at it&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:33:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54637#M30877</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-04-07T22:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54638#M30878</link>
      <description>&lt;P&gt;Dear&amp;nbsp;txnelson please see attached is the spreadsheet. Thank you so much for the help!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:43:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54638#M30878</guid>
      <dc:creator>Johnanderson</dc:creator>
      <dc:date>2018-04-07T22:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54640#M30879</link>
      <description>&lt;P&gt;Here is the graph&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error bars2.PNG" style="width: 955px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10268i649895A0C5C4A63E/image-size/large?v=v2&amp;amp;px=999" role="button" title="error bars2.PNG" alt="error bars2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I Stacked the columns&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tables==&amp;gt;Stack&lt;/P&gt;
&lt;P&gt;Choosing the 3 Signal columns, Selecting to Keep the Time column, and changing the names of the output columns from Label to Group and Data to Signal&lt;/P&gt;
&lt;P&gt;Then using Graph Builder, I dragged Signal to Y, Time to X.&amp;nbsp; I changed the Summary Statistic to Mean and then set the Error Bars to Standard Error.&lt;/P&gt;
&lt;P&gt;Next I Right Clicked on the graph and selected Add==&amp;gt;Points&lt;/P&gt;
&lt;P&gt;Below is a script that performs these tasks in JSL&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Data Table( "jmp_signals" );
dtStack = dt &amp;lt;&amp;lt;
Stack(
	columns( :Signal 2, :Signal 3, :Signal ),
	Source Label Column( "Group" ),
	Stacked Data Column( "Signal" )
);

dtStack &amp;lt;&amp;lt; Graph Builder(
	Variables( X( :time ), Y( :Signal ), Color( :Group ) ),
	Elements(
		Points(
			X,
			Y,
			Legend( 10 ),
			Summary Statistic( "Mean" ),
			Error Bars( "Standard Error" )
		),
		Points( X, Y, Legend( 11 ), Jitter( "None" ) )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 07 Apr 2018 22:56:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54640#M30879</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-04-07T22:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54641#M30880</link>
      <description>&lt;P&gt;Dear&amp;nbsp;txnelson–&amp;nbsp;I highly appreciate your patience on my questions, your expertise and the great help!!&lt;/P&gt;&lt;P&gt;It is worked. Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 23:03:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/54641#M30880</guid>
      <dc:creator>Johnanderson</dc:creator>
      <dc:date>2018-04-07T23:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Standard deviation Bars</title>
      <link>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/234133#M46426</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;great answer, worked for me too!&lt;/P&gt;&lt;P&gt;the only thing u left out is that in order to color the points according to the group variable, you have to drag that variable over to the "color" tab on the right side of the graph builder window&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2019 12:56:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Standard-deviation-Bars/m-p/234133#M46426</guid>
      <dc:creator>ezorlo</dc:creator>
      <dc:date>2019-11-18T12:56:50Z</dc:date>
    </item>
  </channel>
</rss>

