<?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 Creating adjusted survival plots using PROC SURVEYPHREG? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-adjusted-survival-plots-using-PROC-SURVEYPHREG/m-p/727237#M35272</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of a method to create survival curve plots using PROC SURVEYPHREG?&lt;/P&gt;&lt;P&gt;The BASELINE statement does not seem to work in PROC SURVEYPHREG, nor is the PLOTS=xxxx option available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to create adjusted survival plots from my Cox PH model from PROC SURVEYPHREG, but is this not possible in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 20:24:32 GMT</pubDate>
    <dc:creator>kai_cody</dc:creator>
    <dc:date>2021-03-17T20:24:32Z</dc:date>
    <item>
      <title>Creating adjusted survival plots using PROC SURVEYPHREG?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-adjusted-survival-plots-using-PROC-SURVEYPHREG/m-p/727237#M35272</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of a method to create survival curve plots using PROC SURVEYPHREG?&lt;/P&gt;&lt;P&gt;The BASELINE statement does not seem to work in PROC SURVEYPHREG, nor is the PLOTS=xxxx option available.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to create adjusted survival plots from my Cox PH model from PROC SURVEYPHREG, but is this not possible in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 20:24:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-adjusted-survival-plots-using-PROC-SURVEYPHREG/m-p/727237#M35272</guid>
      <dc:creator>kai_cody</dc:creator>
      <dc:date>2021-03-17T20:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating adjusted survival plots using PROC SURVEYPHREG?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-adjusted-survival-plots-using-PROC-SURVEYPHREG/m-p/727337#M35274</link>
      <description>&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;We have a SAS Note available on this issue:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;Usage Note 45197: How can I obtain survival estimates from PROC SURVEYPHREG?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;&lt;A class="csD61E6545" href="http://support.sas.com/kb/45/197.html" target="_blank"&gt;&lt;SPAN class="cs46539165"&gt;http://support.sas.com/kb/45/197.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;Here is some additional information about the BASELINE statement from the SURVEYPHREG developer&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;==========================================================================================&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;PROC SURVEYPHREG&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="csB0EFEC6E"&gt;cannot&lt;/SPAN&gt;&lt;SPAN class="cs5BEC2C28"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;be used to produce survival estimates (or hazard estimates which aren't available with PHREG either) at this time. The BASELINE statement, typical of PROC PHREG, is not available in PROC SURVEYPHREG at this time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;If the objective is to compute the estimated survival function then PROC PHREG with the WEIGHT statement can be used. However, if the standard errors of the estimated survival are required then PROC PHREG should not be used. So, In other words, the survival point estimates using PROC PHREG are fine, but the standard errors are not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;Estimation of the standard error for the estimated survival for survey data is not straightforward. &amp;nbsp;It is not impossible, but substantial work both theoretical and computational are required. &amp;nbsp;Therefore we decided to wait for users response before working on this feature. &amp;nbsp;We are researching this feature but we need to fully understand the estimation of the standard errors for estimated survival for complex surveys before introducing such capability into PROC SURVEYPHREG.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="cs95E872D0"&gt;&lt;SPAN class="cs5BEC2C28"&gt;==========================================================================================&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 09:53:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-adjusted-survival-plots-using-PROC-SURVEYPHREG/m-p/727337#M35274</guid>
      <dc:creator>OsoGris</dc:creator>
      <dc:date>2021-03-18T09:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating adjusted survival plots using PROC SURVEYPHREG?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Creating-adjusted-survival-plots-using-PROC-SURVEYPHREG/m-p/872949#M43172</link>
      <description>&lt;P&gt;Is it possible to plot splines with proc surveyphreg? I've tried multiple variations of this code but always get the same error message:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ERROR: Nesting of continuous variable not allowed.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Sophie&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc surveyphreg data=work.nhanes;
   model time*death(0) = spline(x / knotmethod=percentiles 4);
   spline x / hazard=exp;
   strata SDMVSTRA;
   cluster SDMVPSU;
   weight WTMEC8YR;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2023 00:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Creating-adjusted-survival-plots-using-PROC-SURVEYPHREG/m-p/872949#M43172</guid>
      <dc:creator>sophiec</dc:creator>
      <dc:date>2023-04-29T00:54:39Z</dc:date>
    </item>
  </channel>
</rss>

