<?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: Plotting Summary Statistics in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10724#M10359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For many graphs the graph builder does offer you a choice of summary statistics. However, the heat map does not appear to be one of them. It looks like a script might be needed to perform the calculations you want without generating a new data table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2015 16:24:43 GMT</pubDate>
    <dc:creator>Dan_Obermiller</dc:creator>
    <dc:date>2015-01-30T16:24:43Z</dc:date>
    <item>
      <title>Plotting Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10719#M10354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have data that is broken down by lot, site, and then individual product.&amp;nbsp; Thus, a lot might have 9 sites, with each site containing 9 products.&amp;nbsp; Statistics are collected for each product.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data might vary site to site over a large number of lots.&amp;nbsp; To check this, I tabulate aggregate statistics by site, such as median and range.&amp;nbsp; I then convert the tabulated data into a data table and plot the statistics by site.&amp;nbsp; I typically use heat maps or Map Builder maps with the X-axis denoting SiteX, Y-axis denoting SiteY, and the color of the data linked to the aggregate statistic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating aggregate statistics via the Tabulate Platform is cumbersome.&amp;nbsp; Is there any way to do this without the added steps of tabulating the data and creating new data tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example data set to illustrate what I am currently doing. The test file has 6 lots with 9 sites, and 9 products per site.&amp;nbsp; Any given lot's Product_Output data is fairly unremarkable when plotted against X and Y (see below).&amp;nbsp; If, however, you tabulate the median Product_Output by SiteX and SiteY, and plot that data by SiteX and SiteY, it will become obvious that SiteX = 2, SiteY = 1 has a higher median than average, while SiteX = 3, SiteY = 3 has a lower median than average (see below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; text-decoration: underline;"&gt;&lt;STRONG&gt;Lot 1 Product_Output by X and Y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7974_Product_Output_by_X_and_Y.png" style="width: 676px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1154iFC89E23365D04E94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7974_Product_Output_by_X_and_Y.png" alt="7974_Product_Output_by_X_and_Y.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Median Product_Output by SiteX and SiteY&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7975_Median_Product_Output_by_SiteX_and_SiteY.png" style="width: 724px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1155i8F7E5C412DE302AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7975_Median_Product_Output_by_SiteX_and_SiteY.png" alt="7975_Median_Product_Output_by_SiteX_and_SiteY.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 22:25:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10719#M10354</guid>
      <dc:creator>brian_bircumsha</dc:creator>
      <dc:date>2016-10-18T22:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10720#M10355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An easy way to get the median would involve 3 steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Use the distribution platform to create histograms by&amp;nbsp; x Y combination&lt;/P&gt;&lt;P&gt;(2) Use Row Select where to select all rows NE Median&lt;/P&gt;&lt;P&gt;(3) Use Rows Delete Rows to deleted all rows NE Median&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 15:38:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10720#M10355</guid>
      <dc:creator>edzard_van_sant</dc:creator>
      <dc:date>2015-01-29T15:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10721#M10356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe I am missing something. If so, please let me know. Could you not use the Graph Builder and drag the X (or sites) into the X role, the Y (or products) into the Y role, drag the Product_Output into the color role, and change to a heatmap? This is what I get when I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-family: Segoe UI; font-size: 12pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7971_Graph Builder.png" style="width: 630px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1156iF6782C163199E97C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7971_Graph Builder.png" alt="7971_Graph Builder.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This shows that X values of 4, 5, and 6 with Y's of 1, 2, and 3 are higher than the others. I can also see that X's 7, 8, and 9 with Y's of 7, 8, and 9 are lower than the others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see the grouping as with your summarized graph, you need to tell JMP what those groupings are. It would be easy to Recode your X and Y columns into the 1, 2, and 3 values you had in your SiteX and SiteY variables. Then follow the same Graph Builder steps using SiteX and SiteY to get this picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7972_Graph Builder2.png" style="width: 630px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1157i719D4394D27D15A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7972_Graph Builder2.png" alt="7972_Graph Builder2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;No summary tables are needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 22:25:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10721#M10356</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2016-10-18T22:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10722#M10357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has worked for me in the past.&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;In order to get this to work, after step (1) I have to right-click the the Quantiles area and select Make Combined Data Table.&amp;nbsp; Then, with a few manipulations, I can create the aggregate maps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue with this method is the overhead of running the Distribution platform.&amp;nbsp; If the number of Sites and Products increases dramatically, the Distribution platform slows down (I assume due to the large number of graphics...).&amp;nbsp; In the end, I found the Tabulate platform more efficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 17:23:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10722#M10357</guid>
      <dc:creator>brian_bircumsha</dc:creator>
      <dc:date>2015-01-29T17:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10723#M10358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In both graphs, there are many data points for each (X, Y) and (SiteX, SiteY) pairs.&amp;nbsp; The question becomes: what value does Graph Builder use to determine the color displayed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a bit of trial and error, I believe Graph Builder uses the average of all points.&amp;nbsp; I compared the median of all points, and it matches your graphs closely, but not exactly.&amp;nbsp; When I plot the averages of all points, it matches exactly (as far as I can see ... check out the pictures below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to control which aggregate statistic Graph Builder chooses to display?&amp;nbsp; For example: median, quantile, or range?&amp;nbsp; If not, then I am still stuck with the tabulate method, as I don't often want to display just averages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7979_Median_Output_by_X_and_Y.png" style="width: 724px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1160i48E1DDB2DCC9AC5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7979_Median_Output_by_X_and_Y.png" alt="7979_Median_Output_by_X_and_Y.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7980_Average_Output_by_X_and_Y.png" style="width: 712px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/1161iDC5B0198CE58244D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="7980_Average_Output_by_X_and_Y.png" alt="7980_Average_Output_by_X_and_Y.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 22:25:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10723#M10358</guid>
      <dc:creator>brian_bircumsha</dc:creator>
      <dc:date>2016-10-18T22:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10724#M10359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For many graphs the graph builder does offer you a choice of summary statistics. However, the heat map does not appear to be one of them. It looks like a script might be needed to perform the calculations you want without generating a new data table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 16:24:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10724#M10359</guid>
      <dc:creator>Dan_Obermiller</dc:creator>
      <dc:date>2015-01-30T16:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Plotting Summary Statistics</title>
      <link>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10725#M10360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect you are correct.&amp;nbsp; Someone had mentioned that Transform Columns might help with what I am trying to achieve.&amp;nbsp; I have not been able to get those to work as I would like, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming there are no other answers, then the correct answer is:&lt;/P&gt;&lt;P&gt;JMP cannot plot a third variable aggregate statistic except for Average (Graph Builder) and N (Heat Map).&amp;nbsp; For other statistics, like median, range, etc., the user needs to create intermediate tables via scripting or other methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks everybody!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 21:26:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Plotting-Summary-Statistics/m-p/10725#M10360</guid>
      <dc:creator>brian_bircumsha</dc:creator>
      <dc:date>2015-01-30T21:26:46Z</dc:date>
    </item>
  </channel>
</rss>

