<?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: odds ratio output from proc genmod in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/945124#M42460</link>
    <description>I think you did not check URL I gave you .&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/35/189.html" target="_blank"&gt;https://support.sas.com/kb/35/189.html&lt;/A&gt;&lt;BR /&gt;Check example in it:&lt;BR /&gt;/* Odds ratio for change in StartVert from 5 to 6 */&lt;BR /&gt;         contrast 'logOdds@x=5' intercept 1 startvert 5 startvert*startvert 25 / estimate=both;&lt;BR /&gt;         contrast 'logOdds@x=6' intercept 1 startvert 6 startvert*startvert 36 / estimate=both;&lt;BR /&gt;         contrast 'logOdds@6-logOdds@5' startvert 1 startvert*startvert 11 / estimate=both;&lt;BR /&gt;&lt;BR /&gt;And better post it at State Forum :&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures&lt;/A&gt;&lt;BR /&gt;and calling out &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; @ jiltao &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt; .&lt;BR /&gt;I am NOT expert about this though.&lt;BR /&gt;</description>
    <pubDate>Wed, 25 Sep 2024 00:32:42 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2024-09-25T00:32:42Z</dc:date>
    <item>
      <title>odds ratio output from proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944977#M42452</link>
      <description>&lt;P&gt;&amp;nbsp;I am using proc genmod for logistic regression with repeated measures. However, the following code does not show the odds ratio. I need to know the odds ratio of the continuous variable "rcg00017033 ".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=spt_three_final;&lt;BR /&gt;class studyid ;&lt;BR /&gt;model spt(event='1')= rcg00017033 gender P10_Q5BirthWeight/ dist=bin link=logit;&lt;BR /&gt;repeated subject=studyid / type=cs;run;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 01:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944977#M42452</guid>
      <dc:creator>NahidSultanakmc</dc:creator>
      <dc:date>2024-09-24T01:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio output from proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944989#M42453</link>
      <description>&lt;A href="https://support.sas.com/kb/35/189.html" target="_blank"&gt;https://support.sas.com/kb/35/189.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You need to write ESTIMATE statement for continuous variable:&lt;BR /&gt;&lt;BR /&gt;proc genmod data=uti;&lt;BR /&gt;   freq count;&lt;BR /&gt;   class diagnosis treatment;&lt;BR /&gt;   model response = diagnosis treatment diagnosis*treatment / dist=binomial;&lt;BR /&gt;   estimate 'trt A vs C in comp' treatment 1 0 -1&lt;BR /&gt;            diagnosis*treatment 1 0 -1 0 0 0 / exp;&lt;BR /&gt;   run;</description>
      <pubDate>Tue, 24 Sep 2024 02:49:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944989#M42453</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-24T02:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio output from proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944990#M42454</link>
      <description>Thank you very much for the help.&lt;BR /&gt;But I don't know the use of the numbers (0,1-1 ) in the estimate statement. Is there any specific rules?</description>
      <pubDate>Tue, 24 Sep 2024 03:02:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944990#M42454</guid>
      <dc:creator>NahidSultanakmc</dc:creator>
      <dc:date>2024-09-24T03:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio output from proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944993#M42455</link>
      <description>&lt;P&gt;It is for category variable ,not continuous variable. &lt;BR /&gt;estimate 'age at 7'&amp;nbsp; intercept 1&amp;nbsp; age 7 /exp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/944993#M42455</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-24T08:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio output from proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/945084#M42459</link>
      <description>Thank you very much again. The link is very helpful. So, if I need to know the odds ratio for two continuous variables (cg27664530, cg27664530*Time), should I use the below code?&lt;BR /&gt;proc genmod data=spt_three_final1;&lt;BR /&gt;class studyid ;&lt;BR /&gt;model spt(event='1')= cg27664530 cg27664530*time gender P10_Q5BirthWeight time/ dist=bin link=logit;&lt;BR /&gt;repeated subject=studyid / type=cs;&lt;BR /&gt;estimate 'cg27664530' cg27664530 2/exp;&lt;BR /&gt;estimate 'cg27664530*time' cg27664530*time 3/exp;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Sep 2024 18:20:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/945084#M42459</guid>
      <dc:creator>NahidSultanakmc</dc:creator>
      <dc:date>2024-09-24T18:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio output from proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/945124#M42460</link>
      <description>I think you did not check URL I gave you .&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/35/189.html" target="_blank"&gt;https://support.sas.com/kb/35/189.html&lt;/A&gt;&lt;BR /&gt;Check example in it:&lt;BR /&gt;/* Odds ratio for change in StartVert from 5 to 6 */&lt;BR /&gt;         contrast 'logOdds@x=5' intercept 1 startvert 5 startvert*startvert 25 / estimate=both;&lt;BR /&gt;         contrast 'logOdds@x=6' intercept 1 startvert 6 startvert*startvert 36 / estimate=both;&lt;BR /&gt;         contrast 'logOdds@6-logOdds@5' startvert 1 startvert*startvert 11 / estimate=both;&lt;BR /&gt;&lt;BR /&gt;And better post it at State Forum :&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/bd-p/statistical_procedures&lt;/A&gt;&lt;BR /&gt;and calling out &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave&lt;/a&gt; @ jiltao &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt; .&lt;BR /&gt;I am NOT expert about this though.&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Sep 2024 00:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/945124#M42460</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-25T00:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: odds ratio output from proc genmod</title>
      <link>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/945125#M42461</link>
      <description>proc logistic data=kyphosis;&lt;BR /&gt;        model Kyphosis(event="1") = StartVert|StartVert;&lt;BR /&gt;        estimate  '4.5' intercept 1 startvert 4.5 startvert*startvert 20.25, &lt;BR /&gt;                  '5.5' intercept 1 startvert 5.5 startvert*startvert 30.25 / e;&lt;BR /&gt;        estimate  '9.5' intercept 1 startvert 9.5 startvert*startvert 90.25, &lt;BR /&gt;                  '10.5' intercept 1 startvert 10.5 startvert*startvert 110.25 / e;&lt;BR /&gt;        ods output coef=c;&lt;BR /&gt;        store log;&lt;BR /&gt;        run;</description>
      <pubDate>Wed, 25 Sep 2024 00:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/odds-ratio-output-from-proc-genmod/m-p/945125#M42461</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2024-09-25T00:34:44Z</dc:date>
    </item>
  </channel>
</rss>

