<?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 how to plot time series by multiple categories of  variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-time-series-by-multiple-categories-of-variable/m-p/216926#M307759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have day-by-day number of admission (variable1) per hospital (variable2) and want to plot time series for a year for each hospital.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 15:36:50 GMT</pubDate>
    <dc:creator>viollete</dc:creator>
    <dc:date>2015-06-30T15:36:50Z</dc:date>
    <item>
      <title>how to plot time series by multiple categories of  variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-time-series-by-multiple-categories-of-variable/m-p/216926#M307759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have day-by-day number of admission (variable1) per hospital (variable2) and want to plot time series for a year for each hospital.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 15:36:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-time-series-by-multiple-categories-of-variable/m-p/216926#M307759</guid>
      <dc:creator>viollete</dc:creator>
      <dc:date>2015-06-30T15:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to plot time series by multiple categories of  variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-plot-time-series-by-multiple-categories-of-variable/m-p/216927#M307760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is link to a similar graph using Proc SGPlot: &lt;A href="http://support.sas.com/kb/52/964.html" title="http://support.sas.com/kb/52/964.html"&gt;52964 - Create a spaghetti plot with the SGPLOT procedure&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully day-by-day means you have a date variable, preferably a SAS date valued variable. Use your date variable for the X=, Y= number of admissions and group=hospital.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A BY statement with a Year variable would be easiest to get a graph per year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or Proc SGPanel could work as well similar to &lt;A href="http://support.sas.com/kb/35/167.html" title="http://support.sas.com/kb/35/167.html"&gt;35167 - Sales figures for 1993 by product&lt;/A&gt; ignoring the VBAR part of the code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 16:33:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-plot-time-series-by-multiple-categories-of-variable/m-p/216927#M307760</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-06-30T16:33:41Z</dc:date>
    </item>
  </channel>
</rss>

