<?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 parametrization of class variables in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/286389#M15161</link>
    <description>&lt;P&gt;I'm assuming the variables that are different are the class variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if so, that makes sense as you've changed your parameterization method and the odds ratio is in comparison to a level. If you've changed that level your estimate would change. &amp;nbsp;Your p-values should be the same.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2016 13:56:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-07-22T13:56:04Z</dc:date>
    <item>
      <title>PROC LOGISTIC parametrization of class variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/286371#M15160</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I'm creating a model using proc logistic with a code of the following form:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;logistic&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=work.MODEL_DATASET;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;&amp;nbsp;cat_var1 &lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;2 &lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;3 &lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;4 &lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;4 &lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;5 &lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;6 &lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;7 /&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;order&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;=freq &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;desc&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;param&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; = glm;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;model&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt; outcome(&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;event&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'1'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;&lt;FONT face="Courier New" size="3"&gt;)= con_var1 convar2 &lt;FONT face="Courier New"&gt;cat_var1 &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;2 &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;3 &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;4 &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;4 &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;5 &lt;/FONT&gt;&lt;FONT face="Courier New"&gt;cat_var&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;6 &lt;/FONT&gt;cat_var4*cat_var6;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I changed the code slightly so that it used reference parameterization i.e. the only change I made was to replace param = glm with param = ref.&amp;nbsp; I was expecting to see almost identical results, but for some of the variables I'm seeing different parameter estimates and odds ratios.&amp;nbsp; Can anyone explain why this is?&amp;nbsp; I'm using SAS 9.4.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:11:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/286371#M15160</guid>
      <dc:creator>EJ0603</dc:creator>
      <dc:date>2016-07-22T13:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC parametrization of class variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/286389#M15161</link>
      <description>&lt;P&gt;I'm assuming the variables that are different are the class variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if so, that makes sense as you've changed your parameterization method and the odds ratio is in comparison to a level. If you've changed that level your estimate would change. &amp;nbsp;Your p-values should be the same.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/286389#M15161</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-22T13:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC parametrization of class variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/286392#M15162</link>
      <description>&lt;P&gt;Thanks for the quick response - the variables that are different are some (but not all) of the class variables.&amp;nbsp; However, as far as I can see the same reference level has been used in both parameterizations and so I don't understand why the coefficients have changed.&amp;nbsp; Also, the value of the intercept has changed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 13:59:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/286392#M15162</guid>
      <dc:creator>EJ0603</dc:creator>
      <dc:date>2016-07-22T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC parametrization of class variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/287176#M15235</link>
      <description>&lt;P&gt;Also, the odds ratios differ between the two parametrizations.&amp;nbsp; With the param=GLM, there is a convergence warning message which states "WARNING: The information matrix is singular and thus the convergence is questionable.&amp;nbsp; Try specifying a larger SINGULAR= value."&amp;nbsp; There isn't a convergence warning message when param=REF is used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could this be the reason for the different odds ratios and parameter estimates between the two options?&amp;nbsp; When would there be a convergence issue with one parameterization and not another?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 13:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/287176#M15235</guid>
      <dc:creator>EJ0603</dc:creator>
      <dc:date>2016-07-26T13:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC parametrization of class variables</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/287184#M15236</link>
      <description>&lt;P&gt;I wouldn't expect convergence issues.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ideally you could provide sample data so we could replicate the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this isn't possible you should contact SAS Tech Support for help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2016 13:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-LOGISTIC-parametrization-of-class-variables/m-p/287184#M15236</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-26T13:34:35Z</dc:date>
    </item>
  </channel>
</rss>

