<?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: Efficient data cleaning and recoding in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389941#M25201</link>
    <description>&lt;P&gt;NA isn't typically used in SAS so I would review how SAS stores and treats missing and decide if you want missing or some other variable. A lot depends on what you're doing with the data down the line.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2017 17:37:24 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-08-22T17:37:24Z</dc:date>
    <item>
      <title>Efficient data cleaning and recoding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389892#M25190</link>
      <description>&lt;P&gt;I am new to SAS EG 7.1 and i want to&amp;nbsp;recode the zero values and character string specifically this type "?" in columns X1 to X13 in my dataset to NA. I have in total 13 variables and a response variable Y. i have imported the data and its been converted to a SAS data. I have also succeeded in coding the "0" and "1" in the response variable to "No" and "Yes" as i want. please help!. N:B the data is an xlsx file. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389892#M25190</guid>
      <dc:creator>ritaedeigba0</dc:creator>
      <dc:date>2017-08-22T16:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient data cleaning and recoding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389908#M25193</link>
      <description>Why NA? if the ariables are numeric, wouldn't a SAS missing value be more appropriate?</description>
      <pubDate>Tue, 22 Aug 2017 16:49:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389908#M25193</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-22T16:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient data cleaning and recoding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389939#M25200</link>
      <description>The original dataset contains 64 variables and i Response variable and&lt;BR /&gt;there are so many of the missing values everywhere in the dataset. My&lt;BR /&gt;professor said it was better to code them as NA since they were alot.&lt;BR /&gt;However, is there an alternative suggestion? I would like to learn it.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Aug 2017 17:35:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389939#M25200</guid>
      <dc:creator>ritaedeigba0</dc:creator>
      <dc:date>2017-08-22T17:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient data cleaning and recoding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389941#M25201</link>
      <description>&lt;P&gt;NA isn't typically used in SAS so I would review how SAS stores and treats missing and decide if you want missing or some other variable. A lot depends on what you're doing with the data down the line.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 17:37:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389941#M25201</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-22T17:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient data cleaning and recoding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389979#M25206</link>
      <description>&lt;P&gt;SAS has "special" missing values; you can use "dot" followed by a letter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, while both . and .n would be considered missing by computational procedures, you could tell the difference between them in a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 18:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/389979#M25206</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2017-08-22T18:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient data cleaning and recoding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/390139#M25218</link>
      <description>&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; array var(3) $2 x1-x3 ("0" "?" "1"); /* X1='0', X2='?' and x3='1' */&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;put X1 X2 X3;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;do i=1 to dim(var);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; if var(i) in ('0','?') then var(i)='NA';&amp;nbsp;&lt;SPAN&gt;/*The value for &amp;nbsp;X1='NA', X2='NA' and x3='1' */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;drop i;&lt;/P&gt;&lt;P&gt;&amp;nbsp;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 08:18:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/390139#M25218</guid>
      <dc:creator>ShiroAmada</dc:creator>
      <dc:date>2017-08-23T08:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient data cleaning and recoding</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/390274#M25230</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/160362"&gt;@ShiroAmada&lt;/a&gt;&amp;nbsp;Some of those columns are numeric and some will likely be character.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2017 14:44:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Efficient-data-cleaning-and-recoding/m-p/390274#M25230</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-23T14:44:37Z</dc:date>
    </item>
  </channel>
</rss>

