<?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: How to tell sas read missing values? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539312#M148581</link>
    <description>&lt;P&gt;"but the number of observation who are not used because of missing values still the same in the log "&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Used by what? Many procedures have option, often named "missing" to include observations having missing-values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can &lt;STRONG&gt;not&lt;/STRONG&gt; assign a string/char to a numeric variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: Added the missing NOT &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Feb 2019 14:39:16 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2019-02-28T14:39:16Z</dc:date>
    <item>
      <title>How to tell sas read missing values?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539306#M148577</link>
      <description>&lt;P&gt;Hi all&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got this issue when I run my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;958,105 observations are not included because of missing values, and all&amp;nbsp;observations are 1.1 million, in this case, a large&amp;nbsp;number of data are not used in the analysis&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I did this code to fix this problem but still the same,&amp;nbsp; it is true the outputs are changed&amp;nbsp;but the number of observation who are not used because&amp;nbsp;of missing&amp;nbsp;values still the same in the log&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data milk;
set milk;
if  a = . then a =' ';
if  b = . then b =' ';
if  c = . then c =' ';
if  p = . then p =' ';
if  peakyield = . then peakyield =' ';
run; quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 14:27:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539306#M148577</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-02-28T14:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell sas read missing values?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539312#M148581</link>
      <description>&lt;P&gt;"but the number of observation who are not used because of missing values still the same in the log "&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Used by what? Many procedures have option, often named "missing" to include observations having missing-values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can &lt;STRONG&gt;not&lt;/STRONG&gt; assign a string/char to a numeric variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: Added the missing NOT &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 14:39:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539312#M148581</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-02-28T14:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell sas read missing values?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539313#M148582</link>
      <description>&lt;P&gt;Your "fix" still leaves you with missing values.&amp;nbsp; What non-missing value could you substitute?&amp;nbsp; For example, would this make sense?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if a = . then a = 0;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 14:38:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539313#M148582</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-02-28T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell sas read missing values?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539315#M148584</link>
      <description>&lt;P&gt;' ' is the missing value for charcater variables while . is the missing value of numerics.&lt;/P&gt;
&lt;P&gt;You cannot convert a numeric variable to character on the fly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want the . to appear in reports you can use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;option missing=' ';&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 14:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539315#M148584</guid>
      <dc:creator>gamotte</dc:creator>
      <dc:date>2019-02-28T14:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to tell sas read missing values?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539318#M148585</link>
      <description>&lt;P&gt;I'm using proc mixed !!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 14:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-tell-sas-read-missing-values/m-p/539318#M148585</guid>
      <dc:creator>Barkamih</dc:creator>
      <dc:date>2019-02-28T14:44:19Z</dc:date>
    </item>
  </channel>
</rss>

