<?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: Issues with creating group blocks with Proc Boxplot in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Issues-with-creating-group-blocks-with-Proc-Boxplot/m-p/233383#M54824</link>
    <description>You never reference data in either of your procs? Can you please post your full code. It should be something like the following:&lt;BR /&gt;&lt;BR /&gt;proc sort DATA=HAVE;&lt;BR /&gt;by male group;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc boxplot data=HAVE;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;run;</description>
    <pubDate>Fri, 06 Nov 2015 04:08:44 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2015-11-06T04:08:44Z</dc:date>
    <item>
      <title>Issues with creating group blocks with Proc Boxplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issues-with-creating-group-blocks-with-Proc-Boxplot/m-p/233382#M54823</link>
      <description>&lt;P&gt;I have been having issues with creating block groups in proc boxplot.&lt;/P&gt;&lt;P&gt;i.e. The example when I try to perform the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc boxplot;&lt;/P&gt;&lt;P&gt;plot y*male (group);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I keep getting an error message that the data is not properly sorted. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: Processing beginning for PLOT statement number 1.&lt;BR /&gt;ERROR: The values of the group variable male are not sorted in increasing order in the data set&lt;BR /&gt;POOLED.&lt;BR /&gt;NOTE: Recommended practice is to sort the data by the group variable (within BY groups if any)&lt;BR /&gt;with PROC SORT.&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: There were 3432 observations read from the data set WORK.POOLED.&lt;BR /&gt;NOTE: PROCEDURE BOXPLOT used (Total process time):&lt;BR /&gt;real time 0.03 seconds&lt;BR /&gt;cpu time 0.03 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I do attempt to sort the data in the following way, it does not work.&lt;/P&gt;&lt;P&gt;proc sort; by group male;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This also&amp;nbsp;does not work.&lt;/P&gt;&lt;P&gt;proc sort; by male group;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The odd thing is that this method DOES work on one dataset I have but not another one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 03:52:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issues-with-creating-group-blocks-with-Proc-Boxplot/m-p/233382#M54823</guid>
      <dc:creator>denserro</dc:creator>
      <dc:date>2015-11-06T03:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with creating group blocks with Proc Boxplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issues-with-creating-group-blocks-with-Proc-Boxplot/m-p/233383#M54824</link>
      <description>You never reference data in either of your procs? Can you please post your full code. It should be something like the following:&lt;BR /&gt;&lt;BR /&gt;proc sort DATA=HAVE;&lt;BR /&gt;by male group;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc boxplot data=HAVE;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;run;</description>
      <pubDate>Fri, 06 Nov 2015 04:08:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issues-with-creating-group-blocks-with-Proc-Boxplot/m-p/233383#M54824</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-06T04:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with creating group blocks with Proc Boxplot</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Issues-with-creating-group-blocks-with-Proc-Boxplot/m-p/233499#M54830</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/61107"&gt;@denserro&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, when I do attempt to sort the data in the following way, it does not work.&lt;/P&gt;
&lt;P&gt;proc sort; by group male;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This also&amp;nbsp;does not work.&lt;/P&gt;
&lt;P&gt;proc sort; by male group;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The odd thing is that this method DOES work on one dataset I have but not another one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone else experienced this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Please describe how or what doesn't work. Do you get an error message from the sort, post the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you do not explicitly list the name fo the data set to be used the last created data set is used in procs. You might be attempting to sort a data set other than the one used for the boxplot procedure or plotting a set other than the sorted one.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 17:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Issues-with-creating-group-blocks-with-Proc-Boxplot/m-p/233499#M54830</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-11-06T17:43:22Z</dc:date>
    </item>
  </channel>
</rss>

