<?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 categorical variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783788#M250009</link>
    <description>&lt;P&gt;Recoding your strings to 1 2 3 does not change the model. It is a waste of time in modeling.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 21:48:47 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-12-02T21:48:47Z</dc:date>
    <item>
      <title>Recoding categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783773#M250000</link>
      <description>&lt;P&gt;I have categorical&amp;nbsp; variable ( string variable) with 3 levels: one, two and three. I would like to&amp;nbsp; recode this variable to have these levels as 1, 2 and 3.&amp;nbsp; Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 20:34:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783773#M250000</guid>
      <dc:creator>Job04</dc:creator>
      <dc:date>2021-12-02T20:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recoding categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783781#M250004</link>
      <description>&lt;P&gt;How do you want to use the variable? Are you wanting a numeric value or are you asking for IF/Then/Else type code to reassign values of the existing variable?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I ask because a SAS Format is a typical way to change displayed values without changing data which is sometimes more flexible and quicker than actually changing values. But display order is not always as expected depending on the procedures used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 21:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783781#M250004</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-02T21:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recoding categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783783#M250005</link>
      <description>&lt;P&gt;Variable will be used in certain model as predictor. Actually I run the model using the original variable and I got weird results. So I want to recode&amp;nbsp; the variable&amp;nbsp; either by creating new variable or just replacing it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 21:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783783#M250005</guid>
      <dc:creator>Job04</dc:creator>
      <dc:date>2021-12-02T21:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Recoding categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783787#M250008</link>
      <description>&lt;P&gt;You might be better showing the code for the model and the results that you think are weird, describing in what way they are "weird".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a hard time thinking of a true categorical variable that changing the coding in a one-to-one fashion would affect the model.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 21:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783787#M250008</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-02T21:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Recoding categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783788#M250009</link>
      <description>&lt;P&gt;Recoding your strings to 1 2 3 does not change the model. It is a waste of time in modeling.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 21:48:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Recoding-categorical-variable/m-p/783788#M250009</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-12-02T21:48:47Z</dc:date>
    </item>
  </channel>
</rss>

