<?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: Boxplot taking frequencies into account in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Boxplot-taking-frequencies-into-account/m-p/467528#M16078</link>
    <description>&lt;P&gt;Try something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=DISTANCE_BY_GROUP;
vbox your_analysis_var / category=GROUP_NO freq=N_CLAIMS;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 21:27:28 GMT</pubDate>
    <dc:creator>DanH_sas</dc:creator>
    <dc:date>2018-06-04T21:27:28Z</dc:date>
    <item>
      <title>Boxplot taking frequencies into account</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Boxplot-taking-frequencies-into-account/m-p/467526#M16077</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a box plot that considers frequencies (similar to how you can specify FREQ or WEIGHT in PROC MEANS). My data is grouped into 16 categories, where each one should have its own box.&amp;nbsp;After going through the documentation, I haven't been able to find any options in the BOXPLOT procedure itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've also tried to create a summary dataset using MEANS and then using&amp;nbsp;it as a HISTORY dataset in the BOXPLOT procedure, but the format of the dataset doesn't match what is needed for a BOXPLOT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I could somehow rename the dataset, I'd imagine the code below would work:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC MEANS DATA=DISTANCE_BY_GROUP MIN P25 MEDIAN MEAN P75 MAX STD N;
	BY GROUP_NO;
	FREQ N_CLAIMS;
	OUTPUT OUT=SUMM_STATS;
RUN;&lt;BR /&gt;&lt;BR /&gt;PROC BOXPLOT HISTORY=SUMM_STATS;&lt;BR /&gt; PLOT DISTANCE*GROUP_NO;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Does anyone have any suggestions on how to handle this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 21:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Boxplot-taking-frequencies-into-account/m-p/467526#M16077</guid>
      <dc:creator>AHW</dc:creator>
      <dc:date>2018-06-04T21:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Boxplot taking frequencies into account</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Boxplot-taking-frequencies-into-account/m-p/467528#M16078</link>
      <description>&lt;P&gt;Try something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=DISTANCE_BY_GROUP;
vbox your_analysis_var / category=GROUP_NO freq=N_CLAIMS;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;Dan&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 21:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Boxplot-taking-frequencies-into-account/m-p/467528#M16078</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2018-06-04T21:27:28Z</dc:date>
    </item>
  </channel>
</rss>

