<?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 How do I filter for exclusion of certain values of a variable (BRFSS) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-filter-for-exclusion-of-certain-values-of-a-variable/m-p/631276#M187018</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS and trying to code to exclude a certain value of a variable. I have:&lt;/P&gt;&lt;P&gt;DATA work.LNGSCNELGBLE;&lt;BR /&gt;set brfss.LUNGSCREEN2;&lt;BR /&gt;WHERE (PCKYRS &amp;gt;=30) AND (55&amp;lt;= _AGE80 &amp;lt;=80) AND (QTSMKYRS&amp;lt;=15);&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For selecting values of variables that I want, but what code would I use to exclude CNCRTYP1=24. I tried WHERE NOT, which I saw elsewhere, but that did not work. Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 16:19:05 GMT</pubDate>
    <dc:creator>joelee1</dc:creator>
    <dc:date>2020-03-11T16:19:05Z</dc:date>
    <item>
      <title>How do I filter for exclusion of certain values of a variable (BRFSS)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-filter-for-exclusion-of-certain-values-of-a-variable/m-p/631276#M187018</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS and trying to code to exclude a certain value of a variable. I have:&lt;/P&gt;&lt;P&gt;DATA work.LNGSCNELGBLE;&lt;BR /&gt;set brfss.LUNGSCREEN2;&lt;BR /&gt;WHERE (PCKYRS &amp;gt;=30) AND (55&amp;lt;= _AGE80 &amp;lt;=80) AND (QTSMKYRS&amp;lt;=15);&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For selecting values of variables that I want, but what code would I use to exclude CNCRTYP1=24. I tried WHERE NOT, which I saw elsewhere, but that did not work. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:19:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-filter-for-exclusion-of-certain-values-of-a-variable/m-p/631276#M187018</guid>
      <dc:creator>joelee1</dc:creator>
      <dc:date>2020-03-11T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I filter for exclusion of certain values of a variable (BRFSS)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-filter-for-exclusion-of-certain-values-of-a-variable/m-p/631285#M187024</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;WHERE (PCKYRS &amp;gt;=30) AND (55&amp;lt;= _AGE80 &amp;lt;=80) AND (QTSMKYRS&amp;lt;=15)
and cncrtyp1^=24;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Mar 2020 16:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-filter-for-exclusion-of-certain-values-of-a-variable/m-p/631285#M187024</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-03-11T16:50:42Z</dc:date>
    </item>
  </channel>
</rss>

