<?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 Direct adjusted survival curve with ICPHREG in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Direct-adjusted-survival-curve-with-ICPHREG/m-p/646119#M31002</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to estimate direct adjusted survival curve for interval censored data using ICPHREG.&lt;/P&gt;&lt;P&gt;Unlike PHREG, ICPHREG doesn't have an option DIRADJ.&lt;/P&gt;&lt;P&gt;I calculated the point estimate by simply taking the mean of all the estimated survival probability using covariates in the dataset. However, I have no idea how to calculate SE of the estimated survival probability...&lt;/P&gt;&lt;P&gt;Here is my code;&lt;/P&gt;&lt;P&gt;data cov;&lt;BR /&gt;set &amp;amp;DS;&lt;BR /&gt;keep age_at_1stvisit SBP HDLCh TG BS UA &amp;amp;VA;&lt;BR /&gt;if (SBP=. or HDLCh=. or TG=. or BS=. or UA=.) then delete;&lt;BR /&gt;&amp;amp;VA=0; output;&lt;BR /&gt;&amp;amp;VA=1; output;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc icphreg data=&amp;amp;DS ;&lt;BR /&gt;class &amp;amp;VA (ref=first);&lt;BR /&gt;model (lower, upper) = age_at_1stvisit &amp;amp;VA SBP HDLCh TG BS UA / basehaz=splines (DF=1);&lt;BR /&gt;baseline out=a covariates=cov timelist=10 survival=s ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=a;&lt;BR /&gt;by &amp;amp;VA;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc means data=a;&lt;BR /&gt;class &amp;amp;VA;&lt;BR /&gt;var s ;&lt;BR /&gt;output out=b mean=;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data=a;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Mitsuko&lt;/P&gt;</description>
    <pubDate>Fri, 08 May 2020 07:16:51 GMT</pubDate>
    <dc:creator>yunfat</dc:creator>
    <dc:date>2020-05-08T07:16:51Z</dc:date>
    <item>
      <title>Direct adjusted survival curve with ICPHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Direct-adjusted-survival-curve-with-ICPHREG/m-p/646119#M31002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to estimate direct adjusted survival curve for interval censored data using ICPHREG.&lt;/P&gt;&lt;P&gt;Unlike PHREG, ICPHREG doesn't have an option DIRADJ.&lt;/P&gt;&lt;P&gt;I calculated the point estimate by simply taking the mean of all the estimated survival probability using covariates in the dataset. However, I have no idea how to calculate SE of the estimated survival probability...&lt;/P&gt;&lt;P&gt;Here is my code;&lt;/P&gt;&lt;P&gt;data cov;&lt;BR /&gt;set &amp;amp;DS;&lt;BR /&gt;keep age_at_1stvisit SBP HDLCh TG BS UA &amp;amp;VA;&lt;BR /&gt;if (SBP=. or HDLCh=. or TG=. or BS=. or UA=.) then delete;&lt;BR /&gt;&amp;amp;VA=0; output;&lt;BR /&gt;&amp;amp;VA=1; output;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc icphreg data=&amp;amp;DS ;&lt;BR /&gt;class &amp;amp;VA (ref=first);&lt;BR /&gt;model (lower, upper) = age_at_1stvisit &amp;amp;VA SBP HDLCh TG BS UA / basehaz=splines (DF=1);&lt;BR /&gt;baseline out=a covariates=cov timelist=10 survival=s ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=a;&lt;BR /&gt;by &amp;amp;VA;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc means data=a;&lt;BR /&gt;class &amp;amp;VA;&lt;BR /&gt;var s ;&lt;BR /&gt;output out=b mean=;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data=a;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Mitsuko&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 07:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Direct-adjusted-survival-curve-with-ICPHREG/m-p/646119#M31002</guid>
      <dc:creator>yunfat</dc:creator>
      <dc:date>2020-05-08T07:16:51Z</dc:date>
    </item>
  </channel>
</rss>

