<?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: Need help with interpreting a logistic regression result with restricted cubic splines. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972076#M48849</link>
    <description>Thank you so much!!!</description>
    <pubDate>Mon, 04 Aug 2025 23:54:56 GMT</pubDate>
    <dc:creator>J_Park</dc:creator>
    <dc:date>2025-08-04T23:54:56Z</dc:date>
    <item>
      <title>Need help with interpreting a logistic regression result with restricted cubic splines.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972074#M48847</link>
      <description>&lt;P&gt;I am trying to teach myself to run&amp;nbsp;a logistic regression result with restricted cubic splines.&amp;nbsp; I found great information here and was able to build a SAS code.&amp;nbsp; &amp;nbsp;I am using heart.csv from&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/viya/examples.htm" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/viya/examples.htm&lt;/A&gt;&amp;nbsp; &amp;nbsp;I got the odds ratios but not sure how to interpret them.&amp;nbsp; I didn't set the reference, so I am not sure what the reference for these odds ratios was.&amp;nbsp; &amp;nbsp;Is it possible to change the reference?&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;data heart1;&lt;/DIV&gt;
&lt;DIV&gt;set heart;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;if status = "Alive" then Death = 0;&lt;/DIV&gt;
&lt;DIV&gt;else if status = "Dead" then Death = 1;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;proc logistic data=heart1;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; effect spl = spline(cholesterol / details naturalcubic basis=tpf(noint)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;knotmethod=percentilelist(10 50 90));&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; model Death (event='1')= spl&amp;nbsp; / selection=none covb OUTROC=ROCDATA rocci;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; oddsratio cholesterol / at(cholesterol=174 223 285)&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; diff=ref cl=pl;&lt;/DIV&gt;
&lt;DIV&gt;run;&lt;/DIV&gt;
&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot.png" style="width: 739px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/108790i4B9FA18D969FC707/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot.png" alt="Screenshot.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 04 Aug 2025 23:01:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972074#M48847</guid>
      <dc:creator>J_Park</dc:creator>
      <dc:date>2025-08-04T23:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with interpreting a logistic regression result with restricted cubic splines.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972075#M48848</link>
      <description>&lt;P&gt;The estimated odds ratios are the 1-unit changes in odds starting at each of the values you specified in the AT option. That is, the first estimate, 1.010, is the change in odds from 174 to 175. If what you want are the changes for more than 1 unit, then use the UNITS statement in addition to the ODDSRATIO statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 23:17:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972075#M48848</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2025-08-04T23:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with interpreting a logistic regression result with restricted cubic splines.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972076#M48849</link>
      <description>Thank you so much!!!</description>
      <pubDate>Mon, 04 Aug 2025 23:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972076#M48849</guid>
      <dc:creator>J_Park</dc:creator>
      <dc:date>2025-08-04T23:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with interpreting a logistic regression result with restricted cubic splines.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972102#M48851</link>
      <description>May I get a reference for this?&amp;nbsp; I need to explain this to my colleagues, and it would be great to have a reference.&amp;nbsp; Thank you!</description>
      <pubDate>Tue, 05 Aug 2025 12:50:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972102#M48851</guid>
      <dc:creator>J_Park</dc:creator>
      <dc:date>2025-08-05T12:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with interpreting a logistic regression result with restricted cubic splines.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972117#M48853</link>
      <description>&lt;P&gt;This is covered in "Odds Ratio Estimation" in the Details section of the PROC LOGISTIC documentation.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 13:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-with-interpreting-a-logistic-regression-result-with/m-p/972117#M48853</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2025-08-05T13:47:32Z</dc:date>
    </item>
  </channel>
</rss>

