<?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 SURVEYMEANS only with values above zero in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYMEANS-only-with-values-above-zero/m-p/673590#M32303</link>
    <description>&lt;P&gt;&lt;FONT&gt;&amp;nbsp;Hi, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I would like to calculate a survey mean from a variable (VAR1) only with values above zero. Is this the right syntax?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;PROC SURVEYMEANS DATA=sample1 MEAN SUM VARMETHOD=BRR;&lt;BR /&gt;DOMAIN DHHDDRI;&lt;BR /&gt;WHERE VAR1 ne 0;&lt;BR /&gt;VAR VAR1;&lt;BR /&gt;WEIGHT WTS_P;&lt;BR /&gt;REPWEIGHTS BSW1-BSW500;&lt;BR /&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 23:17:50 GMT</pubDate>
    <dc:creator>ANKH1</dc:creator>
    <dc:date>2020-07-30T23:17:50Z</dc:date>
    <item>
      <title>PROC SURVEYMEANS only with values above zero</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYMEANS-only-with-values-above-zero/m-p/673590#M32303</link>
      <description>&lt;P&gt;&lt;FONT&gt;&amp;nbsp;Hi, &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;I would like to calculate a survey mean from a variable (VAR1) only with values above zero. Is this the right syntax?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;PROC SURVEYMEANS DATA=sample1 MEAN SUM VARMETHOD=BRR;&lt;BR /&gt;DOMAIN DHHDDRI;&lt;BR /&gt;WHERE VAR1 ne 0;&lt;BR /&gt;VAR VAR1;&lt;BR /&gt;WEIGHT WTS_P;&lt;BR /&gt;REPWEIGHTS BSW1-BSW500;&lt;BR /&gt;RUN;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 23:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYMEANS-only-with-values-above-zero/m-p/673590#M32303</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2020-07-30T23:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYMEANS only with values above zero</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYMEANS-only-with-values-above-zero/m-p/673594#M32304</link>
      <description>&lt;P&gt;"only with values above zero" translates to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT&gt;WHERE VAR1 &amp;gt; 0;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;That should do it.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 00:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYMEANS-only-with-values-above-zero/m-p/673594#M32304</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-07-31T00:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SURVEYMEANS only with values above zero</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYMEANS-only-with-values-above-zero/m-p/673597#M32305</link>
      <description>Thank you!</description>
      <pubDate>Fri, 31 Jul 2020 00:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-SURVEYMEANS-only-with-values-above-zero/m-p/673597#M32305</guid>
      <dc:creator>ANKH1</dc:creator>
      <dc:date>2020-07-31T00:38:30Z</dc:date>
    </item>
  </channel>
</rss>

