<?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: proc logistic in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-logistic/m-p/109272#M30428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to PG's comment, if your class variable is numeric and coded 0 and 1 (binary), then you can treat it as a continuous predictor variable (that's what we had to do before the CLASS statement was added to LOGISTIC).&amp;nbsp; You will get identical p-values to a binary CLASS variable (like SEX), but the coefficients might be reversed depending on the parameterization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes ordinal variables are treated as class variables and sometimes not (PROC LOGISTIC does not recognize a specific data type of "ordinal").&amp;nbsp; If you are willing to consider the ordered values to be equally spaced on the real line, then you could treat it as continuous and (generally) get reasonable answers.&amp;nbsp; When I am trying to decide which way to go, I'll do a lot of plots ahead to understand the behavior of the ordinal variable relative to the outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2012 19:08:37 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2012-07-17T19:08:37Z</dc:date>
    <item>
      <title>proc logistic</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-logistic/m-p/109270#M30426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;quick question about proc logistic, do i need to define class variables ??&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have seen i few examples on the sas online docs some do and some dont .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and just to make sure if i do define the class variables do i need to add the predicted to it ???&amp;nbsp; ( i dont think so .. )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks CL&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 13:42:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-logistic/m-p/109270#M30426</guid>
      <dc:creator>clcl</dc:creator>
      <dc:date>2012-07-17T13:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-logistic/m-p/109271#M30427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must define any nominal predictor variable (a predictor whose value as no numerical meaning, e.g. SEX, STATE) as a class variable. The dependent variable (predicted) is implicitly defined as class.&amp;nbsp; - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 18:05:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-logistic/m-p/109271#M30427</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-07-17T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-logistic/m-p/109272#M30428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to PG's comment, if your class variable is numeric and coded 0 and 1 (binary), then you can treat it as a continuous predictor variable (that's what we had to do before the CLASS statement was added to LOGISTIC).&amp;nbsp; You will get identical p-values to a binary CLASS variable (like SEX), but the coefficients might be reversed depending on the parameterization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes ordinal variables are treated as class variables and sometimes not (PROC LOGISTIC does not recognize a specific data type of "ordinal").&amp;nbsp; If you are willing to consider the ordered values to be equally spaced on the real line, then you could treat it as continuous and (generally) get reasonable answers.&amp;nbsp; When I am trying to decide which way to go, I'll do a lot of plots ahead to understand the behavior of the ordinal variable relative to the outcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 19:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-logistic/m-p/109272#M30428</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-07-17T19:08:37Z</dc:date>
    </item>
  </channel>
</rss>

