<?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: Oddsratio statement in proc logistic switching my reference group? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Oddsratio-statement-in-proc-logistic-switching-my-reference/m-p/116465#M32131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! That worked like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2012 17:07:59 GMT</pubDate>
    <dc:creator>fetterbug</dc:creator>
    <dc:date>2012-07-24T17:07:59Z</dc:date>
    <item>
      <title>Oddsratio statement in proc logistic switching my reference group?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oddsratio-statement-in-proc-logistic-switching-my-reference/m-p/116463#M32129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;I am using the following code to test an interaction with PROC LOGISTIC:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;logistic&lt;/STRONG&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=aim1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; group (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;param&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=ref &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Usual_Care'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;) surveycomp (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;param&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=ref &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;ref&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'No'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;model&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; init1stapp (&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;event&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: purple;"&gt;'Yes'&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;)= group surveycomp group*surveycomp/&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;expb&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;lackfit&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New'; background: white; color: blue;"&gt;oddsratio&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt; surveycomp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'Courier New'; background: white; color: navy;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Courier New'; background: white; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; background: white; color: black;"&gt;When the Wald Odds Ratio table is produced, the reference group for surveycomp = "Yes".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellpadding="0" cellspacing="0" class="Table"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: left;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;surveycomp No vs Yes at group=Intervention&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: right;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;0.349&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: right;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;0.228&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: right;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;0.535&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: left;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;surveycomp No vs Yes at group=Usual_Care&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: right;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;0.508&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: right;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;0.333&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="b Data" nowrap="nowrap" style="text-align: right;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;0.776&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; background: white; color: black;"&gt;I'd prefer the reference group be the same as in the class statement (surveycomp = "No"). Is there a way to specify this in the ODDSRATIO statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; background: white; color: black;"&gt;Thanks so much!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; background: white; color: black;"&gt;-J&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 14:00:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oddsratio-statement-in-proc-logistic-switching-my-reference/m-p/116463#M32129</guid>
      <dc:creator>fetterbug</dc:creator>
      <dc:date>2012-07-24T14:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Oddsratio statement in proc logistic switching my reference group?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oddsratio-statement-in-proc-logistic-switching-my-reference/m-p/116464#M32130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the DIFF option for the odds ratio statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oddsratio surveycomp/diff=ref;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 16:12:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oddsratio-statement-in-proc-logistic-switching-my-reference/m-p/116464#M32130</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-07-24T16:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Oddsratio statement in proc logistic switching my reference group?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oddsratio-statement-in-proc-logistic-switching-my-reference/m-p/116465#M32131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! That worked like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 17:07:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oddsratio-statement-in-proc-logistic-switching-my-reference/m-p/116465#M32131</guid>
      <dc:creator>fetterbug</dc:creator>
      <dc:date>2012-07-24T17:07:59Z</dc:date>
    </item>
  </channel>
</rss>

