<?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: What does this line mean? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407877#M99425</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; That WHERE option is a test for 3 things to be true in order for the observation to be selected. So separate out the &amp;amp; first, and replace it with the logical AND, then the option becomes:&lt;/P&gt;
&lt;P&gt;where=( troponin=1 AND result_conv ne . AND year &amp;gt;= 2011)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, an observation will only be selected if these 3 conditions are all true:&lt;/P&gt;
&lt;P&gt;the variable TROPONIN must have a value equal to 1&lt;/P&gt;
&lt;P&gt;the variable RESULT_CONV must have a value NOT equal to .&amp;nbsp;&amp;nbsp; (. means a MISSING value for a numeric variable)&lt;/P&gt;
&lt;P&gt;the variable YEAR must have a value that is greated than or equal to 2011&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; With a SAS numeric variable a . is used to represent a missing value. For a character variable a space or blank is used to represent a missing value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Fri, 27 Oct 2017 00:43:22 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2017-10-27T00:43:22Z</dc:date>
    <item>
      <title>What does this line mean?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407872#M99423</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data&amp;nbsp;lab_valid (where=(troponin=1 &amp;amp; result_conv ne .&amp;amp; year&amp;gt;=2011));
set clean.lab_troponin&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Specifically, I'm not sure what the "ne .&amp;amp;" means?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 00:13:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407872#M99423</guid>
      <dc:creator>cdubs</dc:creator>
      <dc:date>2017-10-27T00:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: What does this line mean?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407876#M99424</link>
      <description>&lt;P&gt;The period is the most common type of missing value.&amp;nbsp; Quite independently, ampersand means AND.&amp;nbsp; The code would be clearer if there were a space between the two.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 00:41:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407876#M99424</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-10-27T00:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: What does this line mean?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407877#M99425</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; That WHERE option is a test for 3 things to be true in order for the observation to be selected. So separate out the &amp;amp; first, and replace it with the logical AND, then the option becomes:&lt;/P&gt;
&lt;P&gt;where=( troponin=1 AND result_conv ne . AND year &amp;gt;= 2011)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, an observation will only be selected if these 3 conditions are all true:&lt;/P&gt;
&lt;P&gt;the variable TROPONIN must have a value equal to 1&lt;/P&gt;
&lt;P&gt;the variable RESULT_CONV must have a value NOT equal to .&amp;nbsp;&amp;nbsp; (. means a MISSING value for a numeric variable)&lt;/P&gt;
&lt;P&gt;the variable YEAR must have a value that is greated than or equal to 2011&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; With a SAS numeric variable a . is used to represent a missing value. For a character variable a space or blank is used to represent a missing value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 00:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407877#M99425</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-10-27T00:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: What does this line mean?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407878#M99426</link>
      <description>This works as a solution too! THANK YOU!!!!</description>
      <pubDate>Fri, 27 Oct 2017 00:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407878#M99426</guid>
      <dc:creator>cdubs</dc:creator>
      <dc:date>2017-10-27T00:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: What does this line mean?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407879#M99427</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 00:49:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-does-this-line-mean/m-p/407879#M99427</guid>
      <dc:creator>cdubs</dc:creator>
      <dc:date>2017-10-27T00:49:39Z</dc:date>
    </item>
  </channel>
</rss>

