<?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 how to convert categorical variables into continuous variables in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-convert-categorical-variables-into-continuous-variables/m-p/36525#M1537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Generalized liner model,&amp;nbsp; there are totally 120 categorical variables&amp;nbsp; as predictorsand each of them have 20 levels. I tried to convert these categorical variables into continuous variables so that I can build the model; however, I did not know how to do so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who knows? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 04:29:42 GMT</pubDate>
    <dc:creator>lucky66</dc:creator>
    <dc:date>2011-07-26T04:29:42Z</dc:date>
    <item>
      <title>how to convert categorical variables into continuous variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-convert-categorical-variables-into-continuous-variables/m-p/36525#M1537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Generalized liner model,&amp;nbsp; there are totally 120 categorical variables&amp;nbsp; as predictorsand each of them have 20 levels. I tried to convert these categorical variables into continuous variables so that I can build the model; however, I did not know how to do so. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who knows? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 04:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-convert-categorical-variables-into-continuous-variables/m-p/36525#M1537</guid>
      <dc:creator>lucky66</dc:creator>
      <dc:date>2011-07-26T04:29:42Z</dc:date>
    </item>
    <item>
      <title>how to convert categorical variables into continuous variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-convert-categorical-variables-into-continuous-variables/m-p/36526#M1538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Without seeing the code you are using to do the analysis, I hesitate to offer a solution.&amp;nbsp; However, it could be as simple as not including the predictors in the class statement, provided the variables have a natural ordering.&amp;nbsp; Also, why do you have to convert to build the model?&amp;nbsp; Both PROC GLIMMIX and PROC GENMOD can fit categorical models.&amp;nbsp; If you are thinking of some sort of stepwise model building, please look at &lt;A _jive_internal="true" href="https://communities.sas.com/thread/30130?tstart=0"&gt;http://communities.sas.com/thread/30130?tstart=0&lt;/A&gt;, where some strong caveats are presented.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 11:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-convert-categorical-variables-into-continuous-variables/m-p/36526#M1538</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2011-07-26T11:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to convert categorical variables into continuous variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-convert-categorical-variables-into-continuous-variables/m-p/36527#M1539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Obviously, the categories need to be ordinal so that you can order them. Maybe you have levels such as "bad", "ok", "good", and "excellent"? The way that you convert these to numbers will affect your answer. You can recode those levels as 1,2,3,4, or you might decide that "bad" and "excellent" have more extreme values, and so you recode as 0, 2,3,5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is some terse discussion of this in the doc for the SCORES statement of the FREQ procedure:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/procstat/63963/HTML/default/viewer.htm#procstat_freq_a0000000560.htm#procstat.freq.freqscores"&gt;http://support.sas.com/documentation/cdl/en/procstat/63963/HTML/default/viewer.htm#procstat_freq_a0000000560.htm#procstat.freq.freqscores&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a technical consideration of whether you should do this, along with instructions how, see Analysis of Ordinal Categorical Data by Alan Agresti. You can also try an internet seach using terms such as Ordinal Categories Rank Ridit Scores.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 11:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-convert-categorical-variables-into-continuous-variables/m-p/36527#M1539</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2011-07-26T11:52:00Z</dc:date>
    </item>
  </channel>
</rss>

