<?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:class parametrization in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426147#M22394</link>
    <description>&lt;P&gt;I think, you're referring to the GLM parameterization,&amp;nbsp;you can use PARAM=GLM, but it's also the default I believe.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can take your estimates and exp(estimate) to get the odds ratio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can use the ODDSRATIO or ESTIMATE statements to build your hypothesis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2018 16:10:08 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-01-09T16:10:08Z</dc:date>
    <item>
      <title>proc logistic:class parametrization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426042#M22391</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to have the odds ratio spcified not according to a reference category of a variable but according to the "overall" risk.&lt;/P&gt;&lt;P&gt;I explain myself with an&amp;nbsp;example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;explanatory variable name: hospital&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;explanatory &amp;nbsp;&lt;/SPAN&gt;variable categories:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;hospital&lt;/SPAN&gt;A&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;hospital&lt;/SPAN&gt;B&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;hospital&lt;/SPAN&gt;C&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;hospital&lt;/SPAN&gt;D&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;response variable:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;0=no readmission&lt;/LI&gt;&lt;LI&gt;1=readmission&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;N total of observations= 12000;&lt;/P&gt;&lt;P&gt;Pct Readmissions= 3,5%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to obtain the Odds ratios like these:&lt;/P&gt;&lt;P&gt;hospital A Vs overall&amp;nbsp;avarage&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hospital B&amp;nbsp;Vs overall avarage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hospital C&amp;nbsp;Vs overall avarage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hospital D&amp;nbsp;Vs overall avarage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...so with a different parametrization from the classic one similar to the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hospital A Vs &lt;SPAN&gt;hospital &lt;/SPAN&gt;&lt;SPAN&gt;D&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hospital B&amp;nbsp;Vs hospital D&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;hospital C&amp;nbsp;Vs hospital D&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if I&amp;nbsp;use the following code I&amp;nbsp;don't obtain results that I want, how should I change it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;proc logistic data=dataset-name PLOTS=all;&lt;BR /&gt;class hospital&amp;nbsp;&lt;STRONG&gt;(param=effect )&lt;/STRONG&gt;;&lt;BR /&gt;model&amp;nbsp;response variable(event='1')= hospital&amp;nbsp;&lt;BR /&gt;/noint;&lt;BR /&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you very much in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 12:09:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426042#M22391</guid>
      <dc:creator>kgb</dc:creator>
      <dc:date>2018-01-09T12:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic:class parametrization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426046#M22392</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;if I&amp;nbsp;use the following code I&amp;nbsp;don't obtain results that I want, how should I change it?"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What results do you obtain then?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;param=effect is the default of PROC LOGISTIC&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 12:23:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426046#M22392</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-01-09T12:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic:class parametrization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426055#M22393</link>
      <description>like this: OR IC&lt;BR /&gt;hospital A Vs hospital D ..... ...... ......&lt;BR /&gt;hospital B Vs hospital D ..... ...... ......&lt;BR /&gt;hospital C Vs hospital D ..... ...... ......&lt;BR /&gt;but&lt;BR /&gt;maybe the problem is that I don't change the class statement, but include a contrast or estimate statement for obtaining OR on&lt;BR /&gt;hospital A Vs overall avarage&lt;BR /&gt;hospital B Vs overall avarage&lt;BR /&gt;hospital C Vs overall avarage&lt;BR /&gt;hospital D Vs overall avarage?</description>
      <pubDate>Tue, 09 Jan 2018 12:40:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426055#M22393</guid>
      <dc:creator>kgb</dc:creator>
      <dc:date>2018-01-09T12:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic:class parametrization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426147#M22394</link>
      <description>&lt;P&gt;I think, you're referring to the GLM parameterization,&amp;nbsp;you can use PARAM=GLM, but it's also the default I believe.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can take your estimates and exp(estimate) to get the odds ratio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can use the ODDSRATIO or ESTIMATE statements to build your hypothesis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2018 16:10:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426147#M22394</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-09T16:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic:class parametrization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426720#M22414</link>
      <description>&lt;P&gt;See &lt;A href="http://support.sas.com/kb/22571" target="_self"&gt;this note&lt;/A&gt; which compares the log odds for each group to the average log odds.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 22:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/426720#M22414</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2018-01-10T22:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc logistic:class parametrization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/427683#M22473</link>
      <description>thank you very much for your helpful indications!bye!</description>
      <pubDate>Mon, 15 Jan 2018 13:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/proc-logistic-class-parametrization/m-p/427683#M22473</guid>
      <dc:creator>kgb</dc:creator>
      <dc:date>2018-01-15T13:49:57Z</dc:date>
    </item>
  </channel>
</rss>

