<?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: Box Plots in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424058#M14638</link>
    <description>&lt;P&gt;Given your data, you are successfully plotting the means.&amp;nbsp; You see the mean and the median, which are the same.&amp;nbsp; That is all you provided to plot.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Dec 2017 16:31:12 GMT</pubDate>
    <dc:creator>WarrenKuhfeld</dc:creator>
    <dc:date>2017-12-29T16:31:12Z</dc:date>
    <item>
      <title>Box Plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424045#M14633</link>
      <description>&lt;P&gt;I have output my interactive means from the glimmix procedure of SAS and am trying to make box plots from these means. Please see the attached. I don't understand why they aren't coming through as box plots. See my code below. I am wanting to look and see if there are any outliers in this data set and thus, am wanting to visualize with box plots. Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Proc SGPlot data=Means;&lt;BR /&gt;Vbox Mu/ Category=ParityGrpStrat1 Group=Trt;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Outliers.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17563i39F4480568E3488C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Outliers.png" alt="Outliers.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 15:44:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424045#M14633</guid>
      <dc:creator>llt34c</dc:creator>
      <dc:date>2017-12-29T15:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Box Plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424050#M14634</link>
      <description>&lt;P&gt;Try it once without group= and see if that is more what you had in mind.&amp;nbsp; I have never tried group= and category= together.&amp;nbsp; Do you have any variability within those groups?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 16:01:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424050#M14634</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-12-29T16:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Box Plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424053#M14635</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; It was my understanding that the Box plot was doing the summarizing for you. For example, in the documentation about box plots:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="about_box_plots.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17565i1C79F2A3566F9BF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="about_box_plots.png" alt="about_box_plots.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;SASHELP.PRDSALE is NOT pre-summarized. The VBOX statement causes the data to be summarized and the mean calculated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, if I do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=sashelp.iris;
  vbox sepallength / group=species;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;SASHELP.IRIS is not presummarized, the mean and outlier are shown based on the unsummarized data in the data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The things I might suggest are that you use your original dataset with the SGPLOT procedure step so that you see the distribution of your unsummarized data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;OR, PROC GLIMMIX has a PLOTS= option and will produce a Box plot using ODS GRAPHICS, so looking up the PLOTS= option might help you too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, if you are just looking for outliers, PROC UNIVARIATE will show you the 5 highest and lowest (extreme obs) by default if you do this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc univariate data=sashelp.iris;
  var sepallength;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;cynthia&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 16:08:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424053#M14635</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-12-29T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Box Plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424055#M14636</link>
      <description>&lt;P&gt;Thanks. This allowed me to see the box plots better for each "grouping" if you will. I plotted with the raw data and was successful. Just not sure why it wouldn't work the same with these means.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 16:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424055#M14636</guid>
      <dc:creator>llt34c</dc:creator>
      <dc:date>2017-12-29T16:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Box Plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424056#M14637</link>
      <description>&lt;P&gt;Thanks for your help. I was able to successfully plot with the raw data. I am still not sure though why I can't with the means.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 16:29:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424056#M14637</guid>
      <dc:creator>llt34c</dc:creator>
      <dc:date>2017-12-29T16:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Box Plots</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424058#M14638</link>
      <description>&lt;P&gt;Given your data, you are successfully plotting the means.&amp;nbsp; You see the mean and the median, which are the same.&amp;nbsp; That is all you provided to plot.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2017 16:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Box-Plots/m-p/424058#M14638</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-12-29T16:31:12Z</dc:date>
    </item>
  </channel>
</rss>

