<?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 Logistic Regression: Odds ratio at specific values question in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Odds-ratio-at-specific-values-question/m-p/436108#M23020</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a project where I want to see the&amp;nbsp;OR of having a cardiac event for: underweight, overweight and obese bmi categories at each of the age values I listed in my code (ages 50 &amp;amp; 60).&amp;nbsp;For some reason my code below only outputs the OR for age and bmicat individually and the OR for age at 50 and 60.&amp;nbsp; Is there something with my code? How can I get the output I want&amp;nbsp; for the odds ratio(listed below)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code used:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=final;&lt;BR /&gt;class bmicat(ref="normal")/param=ref;&lt;BR /&gt;effect agespline=spline(age/naturalcubic);&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*Wanted to allow for&amp;nbsp;curvature by using spline;&lt;BR /&gt;model cardiac(event="yes")= agespline bmicat/ rsq ;&lt;/P&gt;&lt;P&gt;oddsratio age/at (age= 50 60);&lt;BR /&gt;oddsratio bmicat/at (age= 50 60);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output I&amp;nbsp;am trying to get for the Odds Ratios:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;underweight vs. normal at age=50&amp;nbsp;&lt;/P&gt;&lt;P&gt;overweight vs. normal at age= 50&lt;/P&gt;&lt;P&gt;obese vs. normal at age=50&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;underweight&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;vs. normal at age=60&amp;nbsp;&lt;/P&gt;&lt;P&gt;overweight vs. normal at age= 60&lt;/P&gt;&lt;P&gt;obese vs. normal at age=60&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Feb 2018 22:07:10 GMT</pubDate>
    <dc:creator>lousam</dc:creator>
    <dc:date>2018-02-11T22:07:10Z</dc:date>
    <item>
      <title>Logistic Regression: Odds ratio at specific values question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Odds-ratio-at-specific-values-question/m-p/436108#M23020</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently working on a project where I want to see the&amp;nbsp;OR of having a cardiac event for: underweight, overweight and obese bmi categories at each of the age values I listed in my code (ages 50 &amp;amp; 60).&amp;nbsp;For some reason my code below only outputs the OR for age and bmicat individually and the OR for age at 50 and 60.&amp;nbsp; Is there something with my code? How can I get the output I want&amp;nbsp; for the odds ratio(listed below)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code used:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=final;&lt;BR /&gt;class bmicat(ref="normal")/param=ref;&lt;BR /&gt;effect agespline=spline(age/naturalcubic);&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*Wanted to allow for&amp;nbsp;curvature by using spline;&lt;BR /&gt;model cardiac(event="yes")= agespline bmicat/ rsq ;&lt;/P&gt;&lt;P&gt;oddsratio age/at (age= 50 60);&lt;BR /&gt;oddsratio bmicat/at (age= 50 60);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output I&amp;nbsp;am trying to get for the Odds Ratios:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;underweight vs. normal at age=50&amp;nbsp;&lt;/P&gt;&lt;P&gt;overweight vs. normal at age= 50&lt;/P&gt;&lt;P&gt;obese vs. normal at age=50&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;underweight&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;vs. normal at age=60&amp;nbsp;&lt;/P&gt;&lt;P&gt;overweight vs. normal at age= 60&lt;/P&gt;&lt;P&gt;obese vs. normal at age=60&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2018 22:07:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Odds-ratio-at-specific-values-question/m-p/436108#M23020</guid>
      <dc:creator>lousam</dc:creator>
      <dc:date>2018-02-11T22:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Logistic Regression: Odds ratio at specific values question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Odds-ratio-at-specific-values-question/m-p/436114#M23021</link>
      <description>&lt;P&gt;Since there is no interaction between age and bmi in your model, the odds ratios between bmi levels do not depend on age.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2018 23:08:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Logistic-Regression-Odds-ratio-at-specific-values-question/m-p/436114#M23021</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-02-11T23:08:20Z</dc:date>
    </item>
  </channel>
</rss>

