<?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 Plot rates and confidence intervals by year, grouped by day in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Plot-rates-and-confidence-intervals-by-year-grouped-by-day/m-p/269424#M9640</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this type of data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Year &amp;nbsp;Trust &amp;nbsp;Weekend Rate Lower_95 Upper_95&lt;/P&gt;
&lt;P&gt;2008 1 1 8.4 7.9 8.6&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2008 1 0&amp;nbsp;7.4 6.9 7.6&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2008 2&amp;nbsp;1 9.4 7.1&amp;nbsp;10.6&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2008 2&amp;nbsp;0 8.4 7.9 8.6&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;......&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want to plot rate (with 95% CI) by year grouped by weekend, different graph for each trust. I used this code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc sgpanel data=rate;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;panelby trust/rows=3 novarname spacing=5;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;colaxis min=2008 max=2014;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;rowaxis min=0 max=15;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;scatter y=rate x=year/group=weekend yerrorlower=lower_95 yerrorupper=upper_95;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;series y=rate x=year/group=weekend;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would like to change line attributes and markers attributes, how can I do it? Is there any other way to draw similar graph?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2016 13:32:03 GMT</pubDate>
    <dc:creator>viollete</dc:creator>
    <dc:date>2016-05-10T13:32:03Z</dc:date>
    <item>
      <title>Plot rates and confidence intervals by year, grouped by day</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-rates-and-confidence-intervals-by-year-grouped-by-day/m-p/269424#M9640</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have this type of data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Year &amp;nbsp;Trust &amp;nbsp;Weekend Rate Lower_95 Upper_95&lt;/P&gt;
&lt;P&gt;2008 1 1 8.4 7.9 8.6&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2008 1 0&amp;nbsp;7.4 6.9 7.6&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;.....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2008 2&amp;nbsp;1 9.4 7.1&amp;nbsp;10.6&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2008 2&amp;nbsp;0 8.4 7.9 8.6&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;......&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want to plot rate (with 95% CI) by year grouped by weekend, different graph for each trust. I used this code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;proc sgpanel data=rate;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;panelby trust/rows=3 novarname spacing=5;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;colaxis min=2008 max=2014;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;rowaxis min=0 max=15;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;scatter y=rate x=year/group=weekend yerrorlower=lower_95 yerrorupper=upper_95;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;series y=rate x=year/group=weekend;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I would like to change line attributes and markers attributes, how can I do it? Is there any other way to draw similar graph?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 13:32:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-rates-and-confidence-intervals-by-year-grouped-by-day/m-p/269424#M9640</guid>
      <dc:creator>viollete</dc:creator>
      <dc:date>2016-05-10T13:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Plot rates and confidence intervals by year, grouped by day</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Plot-rates-and-confidence-intervals-by-year-grouped-by-day/m-p/269428#M9643</link>
      <description>&lt;P&gt;Look into &lt;A href="http://support.sas.com/documentation/cdl/en/grstatproc/67909/HTML/default/viewer.htm#n0mjz9ktgnse58n14deqdvnnxarp.htm" target="_self"&gt;the HIGHLOW statement&lt;/A&gt;, which supports the LINEATTRS= option for specifying the line attributes.&lt;/P&gt;
&lt;P&gt;You can use the HIGHLOW statement to plot the error bars, then use the SCATTER statement and the MARKERATTRS= option to overlay the estimate in the middle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;You don't say HOW you want to change the attributes, but you might be interested in this article about &lt;A href="http://blogs.sas.com/content/iml/2016/04/11/attributes-sgplot-style-elements.html" target="_self"&gt;how to set the marker and line attributes by using ODS style elements.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 13:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Plot-rates-and-confidence-intervals-by-year-grouped-by-day/m-p/269428#M9643</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-05-10T13:43:39Z</dc:date>
    </item>
  </channel>
</rss>

