<?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 Zero vs. Null in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Zero-vs-Null/m-p/179846#M302848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I was doing a distribution analysis on a single variable. In this particular analysis, the null values as % of total was rather important, however due to calculation balancing, some of my null values went to zero. For the purpose of this study, all zero values are essentially null, however SAS does not see them as such and they get lumped in with my "values" when kicking out useful stats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In looking around for a solution is seems most people are concerned with going from null to zero and not from zero to null. What is the most efficient way to transform my zero values to "missing"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jan 2015 15:09:22 GMT</pubDate>
    <dc:creator>GalacticAbacus</dc:creator>
    <dc:date>2015-01-13T15:09:22Z</dc:date>
    <item>
      <title>Zero vs. Null</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Zero-vs-Null/m-p/179846#M302848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I was doing a distribution analysis on a single variable. In this particular analysis, the null values as % of total was rather important, however due to calculation balancing, some of my null values went to zero. For the purpose of this study, all zero values are essentially null, however SAS does not see them as such and they get lumped in with my "values" when kicking out useful stats.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In looking around for a solution is seems most people are concerned with going from null to zero and not from zero to null. What is the most efficient way to transform my zero values to "missing"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 15:09:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Zero-vs-Null/m-p/179846#M302848</guid>
      <dc:creator>GalacticAbacus</dc:creator>
      <dc:date>2015-01-13T15:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Zero vs. Null</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Zero-vs-Null/m-p/179847#M302849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a datastep:&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if var=0 then var=.;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would tend to create a new variable though in case I need the original values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:41:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Zero-vs-Null/m-p/179847#M302849</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-01-13T16:41:56Z</dc:date>
    </item>
  </channel>
</rss>

