<?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 Proc Means in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means/m-p/128813#M6751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a syntax in PROC MEANS to calculate the mean of positive numbers and negative numbers separately . it is not the count but the mean calculation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 12:00:01 GMT</pubDate>
    <dc:creator>Pinky9</dc:creator>
    <dc:date>2013-09-04T12:00:01Z</dc:date>
    <item>
      <title>Proc Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means/m-p/128813#M6751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a syntax in PROC MEANS to calculate the mean of positive numbers and negative numbers separately . it is not the count but the mean calculation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 12:00:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means/m-p/128813#M6751</guid>
      <dc:creator>Pinky9</dc:creator>
      <dc:date>2013-09-04T12:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means/m-p/128814#M6752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you preprocess your data set to have a variable that indicates positive or negative, then you could implement a CLASS statement to get this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;flag=sign(variable);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc means data=want;&lt;/P&gt;&lt;P&gt;class flag;&lt;/P&gt;&lt;P&gt;var variable;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should at least get you started.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 12:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means/m-p/128814#M6752</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-09-04T12:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means/m-p/128815#M6753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Steve Denham&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is quite helpful .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 12:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Means/m-p/128815#M6753</guid>
      <dc:creator>Pinky9</dc:creator>
      <dc:date>2013-09-04T12:26:20Z</dc:date>
    </item>
  </channel>
</rss>

