<?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: Wanting to plot restricted cubic splines in proportional hazards regression in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Wanting-to-plot-restricted-cubic-splines-in-proportional-hazards/m-p/791653#M253615</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/413510"&gt;@giants619&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both the PROC ICPHREG and PROC PHREG have a PLOTS= option on the PROC statement.&lt;/P&gt;
&lt;P&gt;If you do not use it, you cannot get any plots.&lt;/P&gt;
&lt;P&gt;PLOTS= Controls the plots that are produced through ODS Graphics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the documentation&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/helpcenterwlcm/1.0/home.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/helpcenterwlcm/1.0/home.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;of both procedures and add the PLOTS= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Sat, 22 Jan 2022 18:15:48 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-01-22T18:15:48Z</dc:date>
    <item>
      <title>Wanting to plot restricted cubic splines in proportional hazards regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wanting-to-plot-restricted-cubic-splines-in-proportional-hazards/m-p/791245#M253398</link>
      <description>&lt;P&gt;I would like to create a cubic spline plot for proportional hazards regression. It should look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="giants619_0-1642706620266.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/67558i90316E2340ACE767/image-size/medium?v=v2&amp;amp;px=400" role="button" title="giants619_0-1642706620266.png" alt="giants619_0-1642706620266.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the following code, which did not produce any graphics:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;BR /&gt;proc icphreg data=updated2;&lt;BR /&gt;model time*mortstat(0) = RDW / basehaz=splines;&lt;BR /&gt;hazardratio RDW;&lt;BR /&gt;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;ods graphics on;&lt;BR /&gt;PROC PHREG DATA = updated2;&lt;BR /&gt;effect RDWs = spline(RDW / basis=tpf(noint) NATURALCUBIC details knotmethod=rangefractions(0.05 0.50 0.95) );&lt;BR /&gt;model TIME*MORTSTAT(0) = RDWs / rl;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw that several other individuals asked the same question on these forums years ago but did not get any response.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 19:31:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wanting-to-plot-restricted-cubic-splines-in-proportional-hazards/m-p/791245#M253398</guid>
      <dc:creator>giants619</dc:creator>
      <dc:date>2022-01-20T19:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Wanting to plot restricted cubic splines in proportional hazards regression</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Wanting-to-plot-restricted-cubic-splines-in-proportional-hazards/m-p/791653#M253615</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/413510"&gt;@giants619&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both the PROC ICPHREG and PROC PHREG have a PLOTS= option on the PROC statement.&lt;/P&gt;
&lt;P&gt;If you do not use it, you cannot get any plots.&lt;/P&gt;
&lt;P&gt;PLOTS= Controls the plots that are produced through ODS Graphics.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the documentation&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/helpcenterwlcm/1.0/home.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/helpcenterwlcm/1.0/home.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;of both procedures and add the PLOTS= option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jan 2022 18:15:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Wanting-to-plot-restricted-cubic-splines-in-proportional-hazards/m-p/791653#M253615</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-01-22T18:15:48Z</dc:date>
    </item>
  </channel>
</rss>

