<?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 can I generate missing value with IFN function? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/can-I-generate-missing-value-with-IFN-function/m-p/53156#M11246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, yes, I works.&lt;/P&gt;&lt;P&gt;Many Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 14:04:08 GMT</pubDate>
    <dc:creator>rpg163</dc:creator>
    <dc:date>2012-04-02T14:04:08Z</dc:date>
    <item>
      <title>can I generate missing value with IFN function?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-I-generate-missing-value-with-IFN-function/m-p/53154#M11244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to generate missing value with "IFN" function, like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; create table E0 as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select&amp;nbsp;&amp;nbsp;&amp;nbsp; A.stkcd,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A.year,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifn(missing(A.sales)+missing(B.sales)+missing(C.sales)=0,std(A.Sales,B.sales,C.sales),"") as std&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from firmchar.CAL_Earnings as A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left join firmchar.CAL_Earnings as B on A.stkcd=B.stkcd and A.year=B.year+1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; left join firmchar.CAL_Earnings as C on A.stkcd=C.stkcd and A.year=C.year+2;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, it seems generating missing value with IFN function is NOT allowed.&lt;/P&gt;&lt;P&gt;Yet I do not want calucalte standard error if any one of three variables is missing. So, is there any way to solve this? say, some similar alternative functions.&lt;/P&gt;&lt;P&gt;Many THX!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 13:48:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-I-generate-missing-value-with-IFN-function/m-p/53154#M11244</guid>
      <dc:creator>rpg163</dc:creator>
      <dc:date>2012-04-02T13:48:19Z</dc:date>
    </item>
    <item>
      <title>can I generate missing value with IFN function?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-I-generate-missing-value-with-IFN-function/m-p/53155#M11245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use . rather than " " to indicate the missing value result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 13:58:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-I-generate-missing-value-with-IFN-function/m-p/53155#M11245</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-04-02T13:58:30Z</dc:date>
    </item>
    <item>
      <title>can I generate missing value with IFN function?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/can-I-generate-missing-value-with-IFN-function/m-p/53156#M11246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, yes, I works.&lt;/P&gt;&lt;P&gt;Many Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 14:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/can-I-generate-missing-value-with-IFN-function/m-p/53156#M11246</guid>
      <dc:creator>rpg163</dc:creator>
      <dc:date>2012-04-02T14:04:08Z</dc:date>
    </item>
  </channel>
</rss>

