<?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: Where statement in proc means in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Where-statement-in-proc-means/m-p/345265#M18162</link>
    <description>&lt;P&gt;Logically, it is not possible for FIRMDEFI to equal 1 and 2 at the same time. &amp;nbsp;Instead of using AND, your WHERE statement could switch to OR. &amp;nbsp;Alternatively:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where firmdefi&amp;nbsp;in (1, 2);&lt;/P&gt;</description>
    <pubDate>Wed, 29 Mar 2017 06:33:17 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2017-03-29T06:33:17Z</dc:date>
    <item>
      <title>Where statement in proc means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Where-statement-in-proc-means/m-p/345263#M18161</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;P&gt;proc means data=sasuser.sasfile010916 mean median std min max;&lt;BR /&gt;where firmdefi=1 and firmdefi=2;&lt;BR /&gt;var equity TAssets Sales;&lt;BR /&gt;class firmdefi;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The log indicate NOTE: No observations were selected from data set SASUSER.SASFILE010916.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is data that relate to firmdefi 1 or 2 and I do not understand what is my mistake?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!!!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 06:28:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Where-statement-in-proc-means/m-p/345263#M18161</guid>
      <dc:creator>yael</dc:creator>
      <dc:date>2017-03-29T06:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where statement in proc means</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Where-statement-in-proc-means/m-p/345265#M18162</link>
      <description>&lt;P&gt;Logically, it is not possible for FIRMDEFI to equal 1 and 2 at the same time. &amp;nbsp;Instead of using AND, your WHERE statement could switch to OR. &amp;nbsp;Alternatively:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where firmdefi&amp;nbsp;in (1, 2);&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 06:33:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Where-statement-in-proc-means/m-p/345265#M18162</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-03-29T06:33:17Z</dc:date>
    </item>
  </channel>
</rss>

