<?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 Graphing points with error bars in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Graphing-points-with-error-bars/m-p/77226#M2854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We don't yet have SAS/GRAPH and are considering purchasing.&amp;nbsp; Can you describe the process (short version) to add vertical error bars around a series of points?&amp;nbsp; These will be confidence intervals around the mean.&amp;nbsp; Would this be GPLOT or GCHART or other?&amp;nbsp; Anything else we should know? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Mar 2013 17:56:47 GMT</pubDate>
    <dc:creator>onpoint1</dc:creator>
    <dc:date>2013-03-14T17:56:47Z</dc:date>
    <item>
      <title>Graphing points with error bars</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graphing-points-with-error-bars/m-p/77226#M2854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We don't yet have SAS/GRAPH and are considering purchasing.&amp;nbsp; Can you describe the process (short version) to add vertical error bars around a series of points?&amp;nbsp; These will be confidence intervals around the mean.&amp;nbsp; Would this be GPLOT or GCHART or other?&amp;nbsp; Anything else we should know? Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 17:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graphing-points-with-error-bars/m-p/77226#M2854</guid>
      <dc:creator>onpoint1</dc:creator>
      <dc:date>2013-03-14T17:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing points with error bars</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graphing-points-with-error-bars/m-p/77227#M2855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Both will do it for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc gchart data = sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vbar sex/ type=MEAN &lt;STRONG&gt;errorbar=BOTH&lt;/STRONG&gt; clm=95 sumvar=age;&lt;/P&gt;&lt;P&gt;run; quit; &lt;/P&gt;&lt;P&gt;And here is more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nesug.org/proceedings/nesug07/ff/ff17.pdf" title="http://www.nesug.org/proceedings/nesug07/ff/ff17.pdf"&gt;http://www.nesug.org/proceedings/nesug07/ff/ff17.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For proc gplot you will have to calculate yourself the mean +/- s.e. to get the upper/lower Confidence Limits.Then use an overlay to plot.&lt;/P&gt;&lt;P&gt;Here is more information:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/42/515.html" title="http://support.sas.com/kb/42/515.html"&gt;42515 - Plot means with standard error bars from calculated data with PROC GPLOT&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 18:06:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graphing-points-with-error-bars/m-p/77227#M2855</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-03-14T18:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Graphing points with error bars</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Graphing-points-with-error-bars/m-p/77228#M2856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use PROC SGPLOT. For bar charts, line charts, and dot plots, you can have the procedure compute three types of limits: clm, stderr, and stddev. YOu can also specify a multiplier for stderr and stddev.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.class;&lt;/P&gt;&lt;P&gt;vbar age / response=weight stat=mean limitstat=clm;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For plots, you can use overlays to plot the limit bars:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=somedata;&lt;/P&gt;&lt;P&gt;series x=xvar y=yvar;&lt;/P&gt;&lt;P&gt;scatter x=xvar y=yvar / yerrorupper=ulimitvar yerrorlower=llimitvar;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SG procedure were introduced in SAS 9.2 as part of SAS/GRAPH; however, as of SAS 9.3, they are part of BASE SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 19:31:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Graphing-points-with-error-bars/m-p/77228#M2856</guid>
      <dc:creator>DanH_sas</dc:creator>
      <dc:date>2013-03-14T19:31:50Z</dc:date>
    </item>
  </channel>
</rss>

