<?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: JMP Pro 14 Custom Error Bars with multiple Y variables in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72626#M35664</link>
    <description>&lt;P&gt;Thanks to Jeff, I could download the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only method, I know of to get teh bars to be adjacent is if they come from one group.&amp;nbsp; So to achieve 2 axes and error bars, the table needed to be restructured. The steps were:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Stack all the weight and efficieny columns PW, FW, PE which return Label and Data&lt;/LI&gt;&lt;LI&gt;Create a new column named &lt;STRONG&gt;Type&lt;/STRONG&gt; which is the concatenation of the first two characters of Label (i.e. FW, PW, PE) and ", " and sex&lt;/LI&gt;&lt;LI&gt;Create a new table called &lt;STRONG&gt;Data Name&lt;/STRONG&gt;, If( substr(:Label,2,1)=="W", "Weight", "Efficiency")&lt;/LI&gt;&lt;LI&gt;Now split the table, splitting columns&lt;STRONG&gt; Type&lt;/STRONG&gt; and &lt;STRONG&gt;Data&lt;/STRONG&gt; by &lt;STRONG&gt;Data Name&lt;/STRONG&gt; This will allow the 2 axes. Group by Day, Sex, Label&lt;/LI&gt;&lt;LI&gt;This is almost ready to go, I changed the column Data Weight to Weight and Data Efficiency to Efficiency.&lt;/LI&gt;&lt;LI&gt;The split table has Type Weight and Type Efficiency only one is filled out so I made a new column Type that is the concatenation&amp;nbsp; of Type Weight and Type Efficiency.&lt;/LI&gt;&lt;LI&gt;One last step, column Type needs value ordering. The values of Type are FW, x PE,x&amp;nbsp; PW,x where X is either F or M. Since there will be no weight data for PE (the cells are empty), change teh value ordering to FW's, PW's then PE's to eliminate a gap for PE.&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;GraphBuilder is ready to go, but there was some customization to get the colors and patterns and legend.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The restructured table is attached teh graphbuilder script is attached to the table. Click on table script to run it.&lt;/P&gt;&lt;P&gt;Oh note teh error bars (the original question) are created by the Min and Max ( range) if the values. By having FW FW-se and FW +se in the same column the mean is the same and the range can be drawn as an error bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This wouls have been much easier to do with the raw data (individual measurements).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 631px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12418i73531734E3EB48B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2018 19:29:01 GMT</pubDate>
    <dc:creator>gzmorgan0</dc:creator>
    <dc:date>2018-09-13T19:29:01Z</dc:date>
    <item>
      <title>JMP Pro 14 Custom Error Bars with multiple Y variables</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72351#M35600</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to recreate this graph in JMP and I can't figure out how I can add custom error bars to each variable (PE, PW, FW). I can only manage to get one set of error bars. I also couldn't figure out how to get bars for FW next to each other. The bars are grouping by sex instead of variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've attached the data table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shanice Krombeen&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PE, PW, FW graph.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12395i4691996AACFF5C7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="PE, PW, FW graph.png" alt="PE, PW, FW graph.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PE. PW, FW, graph JMP.png" style="width: 910px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12396i458B58C39E2C62D3/image-size/large?v=v2&amp;amp;px=999" role="button" title="PE. PW, FW, graph JMP.png" alt="PE. PW, FW, graph JMP.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 17:40:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72351#M35600</guid>
      <dc:creator>skrombe</dc:creator>
      <dc:date>2018-09-13T17:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Pro 14 Custom Error Bars with multiple Y variables</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72573#M35658</link>
      <description>&lt;P&gt;The attached JMP table will not dowload.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 17:35:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72573#M35658</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-13T17:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Pro 14 Custom Error Bars with multiple Y variables</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72575#M35660</link>
      <description>&lt;P&gt;It works for me:-)&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 17:38:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72575#M35660</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-09-13T17:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Pro 14 Custom Error Bars with multiple Y variables</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72576#M35661</link>
      <description>&lt;P&gt;It looks like it was the commas in the filename. Chrome on Windows didn't like them. I've renamed the file and reattached it above.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 17:42:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72576#M35661</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2018-09-13T17:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Pro 14 Custom Error Bars with multiple Y variables</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72626#M35664</link>
      <description>&lt;P&gt;Thanks to Jeff, I could download the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only method, I know of to get teh bars to be adjacent is if they come from one group.&amp;nbsp; So to achieve 2 axes and error bars, the table needed to be restructured. The steps were:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Stack all the weight and efficieny columns PW, FW, PE which return Label and Data&lt;/LI&gt;&lt;LI&gt;Create a new column named &lt;STRONG&gt;Type&lt;/STRONG&gt; which is the concatenation of the first two characters of Label (i.e. FW, PW, PE) and ", " and sex&lt;/LI&gt;&lt;LI&gt;Create a new table called &lt;STRONG&gt;Data Name&lt;/STRONG&gt;, If( substr(:Label,2,1)=="W", "Weight", "Efficiency")&lt;/LI&gt;&lt;LI&gt;Now split the table, splitting columns&lt;STRONG&gt; Type&lt;/STRONG&gt; and &lt;STRONG&gt;Data&lt;/STRONG&gt; by &lt;STRONG&gt;Data Name&lt;/STRONG&gt; This will allow the 2 axes. Group by Day, Sex, Label&lt;/LI&gt;&lt;LI&gt;This is almost ready to go, I changed the column Data Weight to Weight and Data Efficiency to Efficiency.&lt;/LI&gt;&lt;LI&gt;The split table has Type Weight and Type Efficiency only one is filled out so I made a new column Type that is the concatenation&amp;nbsp; of Type Weight and Type Efficiency.&lt;/LI&gt;&lt;LI&gt;One last step, column Type needs value ordering. The values of Type are FW, x PE,x&amp;nbsp; PW,x where X is either F or M. Since there will be no weight data for PE (the cells are empty), change teh value ordering to FW's, PW's then PE's to eliminate a gap for PE.&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;GraphBuilder is ready to go, but there was some customization to get the colors and patterns and legend.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The restructured table is attached teh graphbuilder script is attached to the table. Click on table script to run it.&lt;/P&gt;&lt;P&gt;Oh note teh error bars (the original question) are created by the Min and Max ( range) if the values. By having FW FW-se and FW +se in the same column the mean is the same and the range can be drawn as an error bar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This wouls have been much easier to do with the raw data (individual measurements).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 631px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12418i73531734E3EB48B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 19:29:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72626#M35664</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-09-13T19:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: JMP Pro 14 Custom Error Bars with multiple Y variables</title>
      <link>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72627#M35665</link>
      <description>&lt;P&gt;I can't thank you enough! Just so I know in the future... I had the raw data but I ran a model and wanted to use the least square means and standards errors to create the graph. Is there an easy way to create a graph using least square means you got from fit model report?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Shanice&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 19:44:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JMP-Pro-14-Custom-Error-Bars-with-multiple-Y-variables/m-p/72627#M35665</guid>
      <dc:creator>skrombe</dc:creator>
      <dc:date>2018-09-13T19:44:24Z</dc:date>
    </item>
  </channel>
</rss>

