<?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 Differences in CIF curves in PHREG vs LIFETEST in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/414714#M21773</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am analyzing time-to-event data from a dataset with competing risks and would like to present the CIF curves. Could someone please explain to me the difference between producing these curves in LIFETEST vs PHREG? Is it as simple as the PHREG procedure allows for the use of covariates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, why do the CIF step curves&amp;nbsp;produced from PHREG move in 'lock-step' with each other when an event is in either exposure category, and those produced by LIFETEST only affect the curve for the exposure in&amp;nbsp;where the event happened. Is this because of the proportional hazards assumption in PHREG? I am attaching a PDF file with two graphs - both the same bivariate analysis of exposure and disease outcome. One is&amp;nbsp;ran with PHREG (lighter CI bands) and the other with&amp;nbsp;LIFETEST (darker bands). Which is more appropriate to present?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running SAS 9.4 using the EVENTCODE option for both procedures, with CIF plots requested. Example code is below.&amp;nbsp;Thank you for your time and effort in clearing up the differences between these two procedures!&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc lifetest data=example plots=(CIF(test)) conftype=loglog notable ;
	time time*disease(0)/eventcode=1;
	strata exposure;
run;

proc phreg data=example covs(aggregate) plots(overlay=stratum)=cif;
	model time*disease(0)=exposure/eventcode=1 ties=efron rl;
	baseline covariates=exposure; 
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Nov 2017 22:06:53 GMT</pubDate>
    <dc:creator>jpsmith</dc:creator>
    <dc:date>2017-11-19T22:06:53Z</dc:date>
    <item>
      <title>Differences in CIF curves in PHREG vs LIFETEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/414714#M21773</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am analyzing time-to-event data from a dataset with competing risks and would like to present the CIF curves. Could someone please explain to me the difference between producing these curves in LIFETEST vs PHREG? Is it as simple as the PHREG procedure allows for the use of covariates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, why do the CIF step curves&amp;nbsp;produced from PHREG move in 'lock-step' with each other when an event is in either exposure category, and those produced by LIFETEST only affect the curve for the exposure in&amp;nbsp;where the event happened. Is this because of the proportional hazards assumption in PHREG? I am attaching a PDF file with two graphs - both the same bivariate analysis of exposure and disease outcome. One is&amp;nbsp;ran with PHREG (lighter CI bands) and the other with&amp;nbsp;LIFETEST (darker bands). Which is more appropriate to present?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running SAS 9.4 using the EVENTCODE option for both procedures, with CIF plots requested. Example code is below.&amp;nbsp;Thank you for your time and effort in clearing up the differences between these two procedures!&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc lifetest data=example plots=(CIF(test)) conftype=loglog notable ;
	time time*disease(0)/eventcode=1;
	strata exposure;
run;

proc phreg data=example covs(aggregate) plots(overlay=stratum)=cif;
	model time*disease(0)=exposure/eventcode=1 ties=efron rl;
	baseline covariates=exposure; 
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 22:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/414714#M21773</guid>
      <dc:creator>jpsmith</dc:creator>
      <dc:date>2017-11-19T22:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in CIF curves in PHREG vs LIFETEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/414728#M21774</link>
      <description>&lt;P&gt;Lifetest uses non parametric approach and doesn't include covariates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PHREG is a semi-parametric approach and can account for covariates. As part of being semi-parametric approach, it looks like you're using the Fine-Gray model competing risks type approach, there are base assumptions that should be verified.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can confirm some of these differences by reading the Overview section of each PROC documentation as well as the details sections if you want to get into the technical differences in how things are calculated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introsurv_sect002.htm&amp;amp;docsetVersion=14.2&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_introsurv_sect002.htm&amp;amp;docsetVersion=14.2&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 00:47:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/414728#M21774</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-20T00:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in CIF curves in PHREG vs LIFETEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/416184#M21842</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 26 Nov 2017 10:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/416184#M21842</guid>
      <dc:creator>jpsmith</dc:creator>
      <dc:date>2017-11-26T10:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Differences in CIF curves in PHREG vs LIFETEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/416328#M21848</link>
      <description>&lt;P&gt;Yes, reeza is right. You should be able to get the same from the two procedures if you instead have "exposure" in the strata statement in proc phreg, and delete "exposure" from the model line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 11:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Differences-in-CIF-curves-in-PHREG-vs-LIFETEST/m-p/416328#M21848</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2017-11-27T11:39:14Z</dc:date>
    </item>
  </channel>
</rss>

