<?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: dealing with data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/dealing-with-data/m-p/348378#M80655</link>
    <description>&lt;P&gt;The result of any mathematical operation on a missing value results in an answer of missing hence your result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the average of the non-missing values use the mean function detailed&amp;nbsp;here&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0vl2htnkjkvejn1lsx2004n6dqp.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0vl2htnkjkvejn1lsx2004n6dqp.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 08 Apr 2017 09:16:01 GMT</pubDate>
    <dc:creator>ChrisBrooks</dc:creator>
    <dc:date>2017-04-08T09:16:01Z</dc:date>
    <item>
      <title>dealing with data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/dealing-with-data/m-p/348376#M80653</link>
      <description>&lt;P&gt;data scores;&lt;BR /&gt;infile '/folders/myshortcuts/s2/scores.txt';&lt;BR /&gt;input gender$1. score1 score2 score3 score4;&lt;BR /&gt;avg=(score1+score2+score3+score4)/4;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In scores.text I have given one missing value for score2 in one obsevation.For the same obsevation Value of avg is also coming as missing.Please refer the screenshot attached.&lt;/P&gt;&lt;P&gt;Please tell me why avg is not coming for this obsevation.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13679i8B5798FB9A5E1066/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="sas_doubt1.png" title="sas_doubt1.png" /&gt;</description>
      <pubDate>Sat, 08 Apr 2017 08:47:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/dealing-with-data/m-p/348376#M80653</guid>
      <dc:creator>s_m</dc:creator>
      <dc:date>2017-04-08T08:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: dealing with data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/dealing-with-data/m-p/348378#M80655</link>
      <description>&lt;P&gt;The result of any mathematical operation on a missing value results in an answer of missing hence your result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want the average of the non-missing values use the mean function detailed&amp;nbsp;here&amp;nbsp;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0vl2htnkjkvejn1lsx2004n6dqp.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/69762/HTML/default/viewer.htm#p0vl2htnkjkvejn1lsx2004n6dqp.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Apr 2017 09:16:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/dealing-with-data/m-p/348378#M80655</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2017-04-08T09:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: dealing with data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/dealing-with-data/m-p/348389#M80658</link>
      <description>Thanks for your help.</description>
      <pubDate>Sat, 08 Apr 2017 09:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/dealing-with-data/m-p/348389#M80658</guid>
      <dc:creator>s_m</dc:creator>
      <dc:date>2017-04-08T09:55:49Z</dc:date>
    </item>
  </channel>
</rss>

