<?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: recoding data in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388854#M3277</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159403"&gt;@halladje&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for a description of the code to recode variables in sas studio. All the codes I have looked up online do not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to recode my age variable so any age 16 thru 22 is coded as missing or '.'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would be very interested in seeing what did not work and the logs associated with the code that did not work.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 15:36:28 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-08-17T15:36:28Z</dc:date>
    <item>
      <title>recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388729#M3274</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a description of the code to recode variables in sas studio. All the codes I have looked up online do not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to recode my age variable so any age 16 thru 22 is coded as missing or '.'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:18:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388729#M3274</guid>
      <dc:creator>halladje</dc:creator>
      <dc:date>2017-08-17T10:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388747#M3275</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=sashelp.class;
run;

data class;
  set sashelp.class;
  if 16 le age le 22 then age=.;
run;

proc print data=class;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:49:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388747#M3275</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2017-08-17T11:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388838#M3276</link>
      <description>&lt;A href="http://video.sas.com/detail/videos/how-to-tutorials/video/4573016759001/performing-conditional-logic-in-sas?autoStart=true" target="_blank"&gt;http://video.sas.com/detail/videos/how-to-tutorials/video/4573016759001/performing-conditional-logic-in-sas?autoStart=true&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/modules/creating-and-recoding-variables-in-sas/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/modules/creating-and-recoding-variables-in-sas/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, search LexJansen.com for papers on any topic. It appears to be down right now, but it'll have papers and tutorials on any topic you could want, especially at the beginner level.&lt;BR /&gt;&lt;BR /&gt;The first SAS e-course is also free.</description>
      <pubDate>Thu, 17 Aug 2017 14:59:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388838#M3276</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-08-17T14:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388854#M3277</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159403"&gt;@halladje&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for a description of the code to recode variables in sas studio. All the codes I have looked up online do not work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to recode my age variable so any age 16 thru 22 is coded as missing or '.'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I would be very interested in seeing what did not work and the logs associated with the code that did not work.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 15:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388854#M3277</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-17T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388960#M3278</link>
      <description>&lt;P&gt;Thanks so much! This worked!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 20:40:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388960#M3278</guid>
      <dc:creator>halladje</dc:creator>
      <dc:date>2017-08-17T20:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388961#M3279</link>
      <description>&lt;P&gt;Thank you! The video was helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 20:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388961#M3279</guid>
      <dc:creator>halladje</dc:creator>
      <dc:date>2017-08-17T20:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388962#M3280</link>
      <description>&lt;P&gt;I didn't keep any of them because they were not working anyways. I very easily could have been missing a key component - I started using SAS yesterday (I am primarily an SPSS and MlwiN user - converting to SAS).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 20:42:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388962#M3280</guid>
      <dc:creator>halladje</dc:creator>
      <dc:date>2017-08-17T20:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: recoding data</title>
      <link>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388991#M3282</link>
      <description>&lt;P&gt;If you use frequently Value Labels in SPSS you will need to become familiar with Proc Format. Formats are the equivalent of a value label and for some purposes that suffices (binning or grouping).&lt;/P&gt;
&lt;P&gt;When data is read either from an external file or an existing variable&amp;nbsp;an INFORMAT is one way to accomplish bulk recoding without a large number of If/then/else statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do sypathize with having to make that adjusment. I had to go the other way to SPSS after using SAS for about 13 years.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 22:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/recoding-data/m-p/388991#M3282</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-17T22:33:33Z</dc:date>
    </item>
  </channel>
</rss>

