<?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 How to generate KM curve for cause-specific competing risk model in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-KM-curve-for-cause-specific-competing-risk-model/m-p/913507#M45335</link>
    <description>&lt;P&gt;Hi, I need to generate KM for Cox cause-specific competing risk.&amp;nbsp; However, it seems that every approach I tried, all come out to be the same, that the KM curve or CIF (both generated from LIFETEST) look very differently from the CIF generated by PHREG (Cox cause-specific).&amp;nbsp; Even for FG competing risk model, the CIF generated from LIFETEST does not share similar pattern/shape to the CIF generated by PHREG.&amp;nbsp; How to explain these? I know KM would not be exactly the same as CIF, yet the shape/pattern should not differ so much between the CIF generated from LIFETEST or PHREG, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the approaches I tried for KM curves for Cox cause-specific competing risk:&lt;/P&gt;&lt;P&gt;1.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;TIME&amp;nbsp; &amp;nbsp;T*Status(0 2);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;TIME&amp;nbsp; &lt;SPAN&gt;T*Status(0) / eventcode(COX)=1;&amp;nbsp; -- ERROR message&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;TIME&amp;nbsp; &lt;SPAN&gt;T*Status(0) / eventcode=1;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;TIME&amp;nbsp; &lt;SPAN&gt;T*Status(0) / failcode=1 2;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In PHREG, I use the following codes for the Cox cause-specific competing risk:&lt;/P&gt;&lt;P&gt;proc phreg data=BMT plots (overlay)=cif;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class disease;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;T*Status(0) / eventcode(COX)=1;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; baseline covariates=risk;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And how to generate KM curve for cause-specific competing risk model?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2024 05:54:49 GMT</pubDate>
    <dc:creator>blueblue</dc:creator>
    <dc:date>2024-01-30T05:54:49Z</dc:date>
    <item>
      <title>How to generate KM curve for cause-specific competing risk model</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-KM-curve-for-cause-specific-competing-risk-model/m-p/913507#M45335</link>
      <description>&lt;P&gt;Hi, I need to generate KM for Cox cause-specific competing risk.&amp;nbsp; However, it seems that every approach I tried, all come out to be the same, that the KM curve or CIF (both generated from LIFETEST) look very differently from the CIF generated by PHREG (Cox cause-specific).&amp;nbsp; Even for FG competing risk model, the CIF generated from LIFETEST does not share similar pattern/shape to the CIF generated by PHREG.&amp;nbsp; How to explain these? I know KM would not be exactly the same as CIF, yet the shape/pattern should not differ so much between the CIF generated from LIFETEST or PHREG, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the approaches I tried for KM curves for Cox cause-specific competing risk:&lt;/P&gt;&lt;P&gt;1.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;TIME&amp;nbsp; &amp;nbsp;T*Status(0 2);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;TIME&amp;nbsp; &lt;SPAN&gt;T*Status(0) / eventcode(COX)=1;&amp;nbsp; -- ERROR message&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;TIME&amp;nbsp; &lt;SPAN&gt;T*Status(0) / eventcode=1;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4.) PROC LIFE TEST with:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;TIME&amp;nbsp; &lt;SPAN&gt;T*Status(0) / failcode=1 2;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In PHREG, I use the following codes for the Cox cause-specific competing risk:&lt;/P&gt;&lt;P&gt;proc phreg data=BMT plots (overlay)=cif;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class disease;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;T*Status(0) / eventcode(COX)=1;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; baseline covariates=risk;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And how to generate KM curve for cause-specific competing risk model?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2024 05:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-generate-KM-curve-for-cause-specific-competing-risk-model/m-p/913507#M45335</guid>
      <dc:creator>blueblue</dc:creator>
      <dc:date>2024-01-30T05:54:49Z</dc:date>
    </item>
  </channel>
</rss>

