<?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: Proc sgplot: cant add standard deviation to median in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-cant-add-standard-deviation-to-median/m-p/627456#M19507</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/82839"&gt;@ari&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cant add standard deviation to calculated median values.&lt;/P&gt;
&lt;P&gt;WARNING: Limit bars can only be generated with the MEAN statistic. The LIMITS= option will be&lt;BR /&gt;ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS prints this warning in the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to overcome this issue and show SD with Median values?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'd have to create some sort of custom calculation of median + standard deviation in a data step, and then plot that via SGPLOT or other&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 11:50:20 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-02-26T11:50:20Z</dc:date>
    <item>
      <title>Proc sgplot: cant add standard deviation to median</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-cant-add-standard-deviation-to-median/m-p/627453#M19506</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant add standard deviation to calculated median values.&lt;/P&gt;&lt;P&gt;WARNING: Limit bars can only be generated with the MEAN statistic. The LIMITS= option will be&lt;BR /&gt;ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS prints this warning in the log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to overcome this issue and show SD with Median values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;proc sgplot data=test;&lt;BR /&gt;vline time / response=chg group=dose stat=median limitstat=stddev;&lt;BR /&gt;xaxis label= "Time ";&lt;BR /&gt;yaxis label="value";&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 10:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-cant-add-standard-deviation-to-median/m-p/627453#M19506</guid>
      <dc:creator>ari</dc:creator>
      <dc:date>2020-02-26T10:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot: cant add standard deviation to median</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-cant-add-standard-deviation-to-median/m-p/627456#M19507</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/82839"&gt;@ari&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cant add standard deviation to calculated median values.&lt;/P&gt;
&lt;P&gt;WARNING: Limit bars can only be generated with the MEAN statistic. The LIMITS= option will be&lt;BR /&gt;ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS prints this warning in the log.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to overcome this issue and show SD with Median values?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'd have to create some sort of custom calculation of median + standard deviation in a data step, and then plot that via SGPLOT or other&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 11:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-cant-add-standard-deviation-to-median/m-p/627456#M19507</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-02-26T11:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sgplot: cant add standard deviation to median</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-cant-add-standard-deviation-to-median/m-p/627457#M19508</link>
      <description>&lt;P&gt;Standard Deviation is by definition calculated form a mean, not a median. See&amp;nbsp;&lt;A href="https://en.wikipedia.org/wiki/Standard_deviation" target="_blank" rel="noopener"&gt;https://en.wikipedia.org/wiki/Standard_deviation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 11:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Proc-sgplot-cant-add-standard-deviation-to-median/m-p/627457#M19508</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-02-26T11:54:28Z</dc:date>
    </item>
  </channel>
</rss>

