<?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: To create Histogram in SAS-9.2 in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/To-create-Histogram-in-SAS-9-2/m-p/95612#M4764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you may want either PROC GCHART or SGPLOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you sort your data by the code, use a BY CODE statement to generate multiple plots instead of many datasets and calls to the proc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2012 14:54:22 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2012-08-16T14:54:22Z</dc:date>
    <item>
      <title>To create Histogram in SAS-9.2</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-create-Histogram-in-SAS-9-2/m-p/95611#M4763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create a histogram. Generally histogram gives counts/ frequency on the Y-axis and the variable on the histogram statement in Proc univariate on Y-axis. I was given a specific period(1 year) and asked to create a histogram for the length of stay(days) for the particular diagnosis code. There might be many patients with the same code in that year and have different length of stay as shown.&lt;/P&gt;&lt;P&gt;code&amp;nbsp; LOStay&amp;nbsp;&amp;nbsp; month&lt;/P&gt;&lt;P&gt;500&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feb11&lt;/P&gt;&lt;P&gt;500&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mar12&lt;/P&gt;&lt;P&gt;501&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; apr11&lt;/P&gt;&lt;P&gt;501&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aug11&lt;/P&gt;&lt;P&gt;501&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sep11&lt;/P&gt;&lt;P&gt;501&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jun11&lt;/P&gt;&lt;P&gt;thousands of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a seperate histogram for each code.&lt;/P&gt;&lt;P&gt;i seperated each code into a seperate data set and did a proc univariate.&lt;/P&gt;&lt;P&gt;on x-axis i got LOS and on Y-axis i got percent&lt;/P&gt;&lt;P&gt;IS THERE A POSSIBILITY TO GET a histogram with MONTH ON X-axis and LOS days for a particular code on y-axis??????????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 12:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-create-Histogram-in-SAS-9-2/m-p/95611#M4763</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-08-16T12:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: To create Histogram in SAS-9.2</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-create-Histogram-in-SAS-9-2/m-p/95612#M4764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like you may want either PROC GCHART or SGPLOT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if you sort your data by the code, use a BY CODE statement to generate multiple plots instead of many datasets and calls to the proc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 14:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-create-Histogram-in-SAS-9-2/m-p/95612#M4764</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-08-16T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: To create Histogram in SAS-9.2</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/To-create-Histogram-in-SAS-9-2/m-p/95613#M4765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so very much for the answer. very helpful.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 15:08:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/To-create-Histogram-in-SAS-9-2/m-p/95613#M4765</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2012-08-16T15:08:50Z</dc:date>
    </item>
  </channel>
</rss>

