<?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 Means Comparison Oneway Analysis ... how to dynamically order side-by-side boxplots by mean value left to right in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Means-Comparison-Oneway-Analysis-how-to-dynamically-order-side/m-p/228151#M45259</link>
    <description>&lt;P&gt;Looking for an automated way to automatical order side-by-side box plots by mean value left to right ... and by dynamically I mean being able to seamlessly do this on the fly in response to change in Local Data Filter and/or Column Switcher.&amp;nbsp; Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2019 18:59:19 GMT</pubDate>
    <dc:creator>galactus3000</dc:creator>
    <dc:date>2019-10-04T18:59:19Z</dc:date>
    <item>
      <title>Means Comparison Oneway Analysis ... how to dynamically order side-by-side boxplots by mean value left to right</title>
      <link>https://community.jmp.com/t5/Discussions/Means-Comparison-Oneway-Analysis-how-to-dynamically-order-side/m-p/228151#M45259</link>
      <description>&lt;P&gt;Looking for an automated way to automatical order side-by-side box plots by mean value left to right ... and by dynamically I mean being able to seamlessly do this on the fly in response to change in Local Data Filter and/or Column Switcher.&amp;nbsp; Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2019 18:59:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Means-Comparison-Oneway-Analysis-how-to-dynamically-order-side/m-p/228151#M45259</guid>
      <dc:creator>galactus3000</dc:creator>
      <dc:date>2019-10-04T18:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Means Comparison Oneway Analysis ... how to dynamically order side-by-side boxplots by mean value left to right</title>
      <link>https://community.jmp.com/t5/Discussions/Means-Comparison-Oneway-Analysis-how-to-dynamically-order-side/m-p/228425#M45318</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7154"&gt;@galactus3000&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which JMP platform are you using&amp;nbsp;&lt;STRONG&gt;Fit Y by X&lt;/STRONG&gt; or something else? Off the top of my head, if using Fit Y by X, I would use a custom script to add the data filter and add to it a Data Filter Handler. That is a bit involved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are using Graph Builder to draw your boxplots, you can right click in the X-Axis (group axis) and select which Order by Statistic, default is the mean, and Select which Y variable to order by either ascending or desending.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The script below opens the JMP sample data table SATByYear.jmp and creates a Graph Builder boxplot of SAT Math vs. State with a Local Data Filter for Region.&amp;nbsp; Now select one or several regions and ordering is updated automatically. Change from descending to ascending.&amp;nbsp; You can do all of this voa point &amp;amp; click.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this meets your needs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here(1);
dt = Open("$Sample_data/SATByYear.jmp");

gb = dt &amp;lt;&amp;lt; Graph Builder(
	Size( 534, 464 ),
	Show Control Panel( 0 ),
	Variables(
		X( :State, Order By( :SAT Math, Descending, Order Statistic( "Mean" ) ) ),
		Y( :SAT Math )
	),
	Elements( Box Plot( X, Y, Legend( 6 ) ) ),
	Local Data Filter(
		Add Filter(
			columns( :Region ),
			Display( :Region, Size( 160, 120 ), List Display )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/19573iE41EB67AA1B9ACE5/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>Tue, 08 Oct 2019 07:34:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Means-Comparison-Oneway-Analysis-how-to-dynamically-order-side/m-p/228425#M45318</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2019-10-08T07:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Means Comparison Oneway Analysis ... how to dynamically order side-by-side boxplots by mean value left to right</title>
      <link>https://community.jmp.com/t5/Discussions/Means-Comparison-Oneway-Analysis-how-to-dynamically-order-side/m-p/228446#M45321</link>
      <description>&lt;P&gt;yes using Fit Y by X just like I was taught in my first-ever JMP-based statistics course in 1997 in Portland Oregon&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 12:56:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Means-Comparison-Oneway-Analysis-how-to-dynamically-order-side/m-p/228446#M45321</guid>
      <dc:creator>galactus3000</dc:creator>
      <dc:date>2019-10-08T12:56:46Z</dc:date>
    </item>
  </channel>
</rss>

