<?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: Create Box plots Using only Summaries in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74652#M2758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following procedure:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_boxplot_sect004.htm" title="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_boxplot_sect004.htm"&gt;SAS/STAT(R) 9.22 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference is I need a Schematic type and I need it to be noched so I can perform a visual comparison of the medians.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2014 15:31:01 GMT</pubDate>
    <dc:creator>DougMoore</dc:creator>
    <dc:date>2014-03-05T15:31:01Z</dc:date>
    <item>
      <title>Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74644#M2750</link>
      <description>I need to create boxplots with only 5 number summaries. Is this possible?  The full dataset is not available.</description>
      <pubDate>Tue, 06 Oct 2009 18:21:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74644#M2750</guid>
      <dc:creator>Ella</dc:creator>
      <dc:date>2009-10-06T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74645#M2751</link>
      <description>One way would be by modifying the great macro available here:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.math.yorku.ca/SCS/sssg/boxplot.html" target="_blank"&gt;http://www.math.yorku.ca/SCS/sssg/boxplot.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
and replace the summarisation steps by your own data.</description>
      <pubDate>Thu, 08 Oct 2009 00:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74645#M2751</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2009-10-08T00:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74646#M2752</link>
      <description>If you only have the summary statistics (rather than the raw data), you might want to use "proc boxplot" (which I believe is technically part of SAS/Stat rather than SAS/Graph - but I think most users usually have both these procs anyway...)&lt;BR /&gt;
&lt;BR /&gt;
With proc boxplot, you can use the outhistory= option to create a data set containing the summary statistics for each bar, or use the history= option to use a data set containing summary statistics (rather than using data= with the raw data).&lt;BR /&gt;
&lt;BR /&gt;
Creating the 'history' data sets is a little tricky (how to name the variables, and such) - I'd recommend running proc boxplot, and looking at the resulting 'outhistory' data set, and then using that as the starting point for your data set.&lt;BR /&gt;
&lt;BR /&gt;
Here's a small sample I happened to have, which demonstrates how to use proc boxplot with a history= data set (hopefully the long data lines won't wrap badly):&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
data hubout;&lt;BR /&gt;
input hub $ 1-14 revenuel revenue1 revenuex revenuem revenue3 revenueh revenuen;&lt;BR /&gt;
datalines;&lt;BR /&gt;
Frankfurt      10717.43  45549.06   558199.30  171813.74  433385.93  3460389.08     12&lt;BR /&gt;
London         16267.52  48802.57   677813.43  257026.85  574650.23  3743156.90     12&lt;BR /&gt;
New York       33491.96  60955.36  1116398.59  401903.49  762946.80  7449951.09     12&lt;BR /&gt;
San Francisco      0.00  45214.14   717684.81  215736.05  653667.32  4340557.73     12&lt;BR /&gt;
Sydney          4353.95  32654.66   518327.92  141814.52  577209.97  3537899.04     12&lt;BR /&gt;
Tokyo           2392.28  25358.20   398713.78  108370.41  275112.51  2984133.44     12&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
proc boxplot history=hubout;&lt;BR /&gt;
 plot revenue*hub;&lt;BR /&gt;
run;</description>
      <pubDate>Fri, 09 Oct 2009 14:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74646#M2752</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2009-10-09T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74647#M2753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently the following options do not work with 'History' (a summary data set):&lt;/P&gt;&lt;P&gt;&amp;nbsp; .Boxstyle = Schmatic&lt;/P&gt;&lt;P&gt;&amp;nbsp; .Notches&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I desperately need both options to work with my summary data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 21:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74647#M2753</guid>
      <dc:creator>DougMoore</dc:creator>
      <dc:date>2014-03-04T21:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74648#M2754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your data contains values and counts of values this is more likely to be possible. Or if you have the mean, limits of the IQR and the limits for the whiskers it may be possible with annotate data sets. What kind of summarized data do you actually have? What do the 5 value represent? And what should the final plots look like?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 23:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74648#M2754</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-03-04T23:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74649#M2755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YEARMONTH,SPECIES_NAME,ResultsL,Results1,ResultsX,ResultsM,Results3,ResultsH,ResultsS,ResultsN&lt;/P&gt;&lt;P&gt;2013M03,Canine,-9.611106,99.35926,121.68813148,109.1859,120.70855,6174,74.522753418,354763&lt;/P&gt;&lt;P&gt;2013M04,Canine,-5.481052,99.89804,121.52345233,109.61,120.9135,6174,73.239377704,368549&lt;/P&gt;&lt;P&gt;2013M05,Canine,-5.886485,99.81166,120.93962437,109.36215,120.381525,1936.171,71.911495255,371648&lt;/P&gt;&lt;P&gt;2013M06,Canine,-6.085324,98.0872925,118.65344702,107.7889,118.730175,6860,72.178933135,351186&lt;/P&gt;&lt;P&gt;2013M07,Canine,-7.006166,97.089375,117.47239036,106.87495,117.777525,2690.947,70.147333935,373472&lt;/P&gt;&lt;P&gt;2013M08,Canine,-7.167602,96.82858,117.10706451,106.46835,117.3959,2851.924,68.368883962,364028&lt;/P&gt;&lt;P&gt;2013M09,Canine,-6.98099,96.44617,116.65658762,106.0149,117.0134,2744,68.086254128,344329&lt;/P&gt;&lt;P&gt;2013M10,Canine,-5.830464,96.92248,117.77359767,106.4043,117.4502,2293.712,70.114474393,374365&lt;/P&gt;&lt;P&gt;2013M11,Canine,-5.831106,98.31649,120.40123249,108.0578,119.5164,6860,73.428638245,347121&lt;/P&gt;&lt;P&gt;2013M12,Canine,-5.153101,100.018675,123.60781797,109.91825,121.811225,2744,76.459736732,344548&lt;/P&gt;&lt;P&gt;2014M01,Canine,-5.234818,101.2791,124.0452891,110.984,122.4557,1999.992,74.376290111,390969&lt;/P&gt;&lt;P&gt;2014M02,Canine,-1,101.7938,123.92318985,111.3511,122.5696,7546,74.844513208,385691&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 15:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74649#M2755</guid>
      <dc:creator>DougMoore</dc:creator>
      <dc:date>2014-03-05T15:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74650#M2756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're not the original OP, its better if you start a new thread. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain your issue in detail please. For example, you have a 7 not 5 numbers summary. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 15:25:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74650#M2756</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-05T15:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74651#M2757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Box Plot should look like the following:&lt;/P&gt;&lt;P&gt;See "Just Enough SAS", "A Quick-Start Guide to SAS for Engineers", by Robert A. Rutledge,&lt;/P&gt;&lt;P&gt;Copyright 2009, SAS Institute, Inc. Figure 5.2, Page nbr 117.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a notched box plot.&amp;nbsp; The only difference would be I need the Schematic box plot instead of the Skeletal (shown in Figure 5.2).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 15:27:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74651#M2757</guid>
      <dc:creator>DougMoore</dc:creator>
      <dc:date>2014-03-05T15:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74652#M2758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following procedure:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_boxplot_sect004.htm" title="http://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_boxplot_sect004.htm"&gt;SAS/STAT(R) 9.22 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference is I need a Schematic type and I need it to be noched so I can perform a visual comparison of the medians.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 15:31:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74652#M2758</guid>
      <dc:creator>DougMoore</dc:creator>
      <dc:date>2014-03-05T15:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74653#M2759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The notched part works fine, the boxstyle option does not, but I can't visually see the difference from the example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So perhaps post your code that isn't working, IN A NEW THREAD. Preferably linked back to this one.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 18:17:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74653#M2759</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-03-05T18:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Box plots Using only Summaries</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74654#M2760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have learned that, with the standard 'History=' summary, one can't create a 'Schematic' style box plot because the Schematic style needs outlier data (not in the summary). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;However with a 'BOX= input data (instead of 'History= input data') you can get both notched&lt;BR /&gt;and schematic. The BOX= data set must contain more data than the simpler&lt;BR /&gt;HISTORY= data set, though. It is not just a matter of reshaping from HISTORY=&lt;BR /&gt;to BOX=. If you only have the summary data that is found in a HISTORY= data set&lt;BR /&gt;then there is nothing you can do. You must have the values of the low and high&lt;BR /&gt;whiskers. These are the smallest and largest values in the data set that fall&lt;BR /&gt;within the fences. In addition you must have all the individual data points that&lt;BR /&gt;fall beyond the whiskers. These are the additional components of a schematic&lt;BR /&gt;box plot, and these are not typical summary statistics.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;I think I am all set for now.&amp;nbsp; Thank you for quick and thorough response.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2014 18:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Create-Box-plots-Using-only-Summaries/m-p/74654#M2760</guid>
      <dc:creator>DougMoore</dc:creator>
      <dc:date>2014-03-05T18:54:53Z</dc:date>
    </item>
  </channel>
</rss>

