<?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 Cumulative Incidence with competing events using PROC LIFETEST in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Cumulative-Incidence-with-competing-events-using-PROC-LIFETEST/m-p/484467#M25140</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about how to apply&amp;nbsp;&lt;STRONG&gt;PROC LIFETEST&lt;/STRONG&gt; to compute&amp;nbsp;&lt;STRONG&gt;Cumulative Incidence with competing events&lt;/STRONG&gt;. &lt;STRONG&gt;Death is an competing event.&lt;/STRONG&gt; Here is my code (0 is event, 1 is death, 2 is censored):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=test method=km timelist=(0,1,2,6,12,18,24,48) outsurv=kmest reduceout ;&lt;BR /&gt;&lt;STRONG&gt;time t*event(2)/failcode = 0;&lt;/STRONG&gt;&lt;BR /&gt;strata&amp;nbsp;trt / test=logrank ;&lt;BR /&gt;run ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I always get an error message like this (I think it implies that "/failcode" is wrong):&lt;/P&gt;&lt;P&gt;200 time &lt;SPAN&gt;t*&lt;/SPAN&gt;&lt;SPAN&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;(2)/failcode = 0&lt;/SPAN&gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;BR /&gt;ERROR 22-322: Expecting ;.&lt;BR /&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it because I am using SAS/STAT &lt;STRONG&gt;13.2&lt;/STRONG&gt; but not 14.1? Is there other ways that I can compute the &lt;STRONG&gt;cumulative incidence and CI&amp;nbsp;&lt;/STRONG&gt;while specifying "&lt;STRONG&gt;timelist=(0,1,2,6,12,18,24,48)&lt;/STRONG&gt;"? Thank you so much! I really appreciate it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 17:58:50 GMT</pubDate>
    <dc:creator>yiyizhao86</dc:creator>
    <dc:date>2018-08-06T17:58:50Z</dc:date>
    <item>
      <title>Cumulative Incidence with competing events using PROC LIFETEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cumulative-Incidence-with-competing-events-using-PROC-LIFETEST/m-p/484467#M25140</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about how to apply&amp;nbsp;&lt;STRONG&gt;PROC LIFETEST&lt;/STRONG&gt; to compute&amp;nbsp;&lt;STRONG&gt;Cumulative Incidence with competing events&lt;/STRONG&gt;. &lt;STRONG&gt;Death is an competing event.&lt;/STRONG&gt; Here is my code (0 is event, 1 is death, 2 is censored):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=test method=km timelist=(0,1,2,6,12,18,24,48) outsurv=kmest reduceout ;&lt;BR /&gt;&lt;STRONG&gt;time t*event(2)/failcode = 0;&lt;/STRONG&gt;&lt;BR /&gt;strata&amp;nbsp;trt / test=logrank ;&lt;BR /&gt;run ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I always get an error message like this (I think it implies that "/failcode" is wrong):&lt;/P&gt;&lt;P&gt;200 time &lt;SPAN&gt;t*&lt;/SPAN&gt;&lt;SPAN&gt;event&lt;/SPAN&gt;&lt;SPAN&gt;(2)/failcode = 0&lt;/SPAN&gt;;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;BR /&gt;ERROR 22-322: Expecting ;.&lt;BR /&gt;ERROR 200-322: The symbol is not recognized and will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it because I am using SAS/STAT &lt;STRONG&gt;13.2&lt;/STRONG&gt; but not 14.1? Is there other ways that I can compute the &lt;STRONG&gt;cumulative incidence and CI&amp;nbsp;&lt;/STRONG&gt;while specifying "&lt;STRONG&gt;timelist=(0,1,2,6,12,18,24,48)&lt;/STRONG&gt;"? Thank you so much! I really appreciate it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 17:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cumulative-Incidence-with-competing-events-using-PROC-LIFETEST/m-p/484467#M25140</guid>
      <dc:creator>yiyizhao86</dc:creator>
      <dc:date>2018-08-06T17:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Incidence with competing events using PROC LIFETEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cumulative-Incidence-with-competing-events-using-PROC-LIFETEST/m-p/484582#M25141</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Update the dataset as below 

data have;
set test;
if event=0 then cnsr=1;
else if death=1 then cnsr=0;
else cnsr=1;
run;

proc lifetest data=have method=km plots=cif(test) timelist=(0,1,2,6,12,18,24,48) outsurv=kmest reduceout ;
time t*cnsr(1)/eventcode = 0;
strata trt / test=logrank ;
run ;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Aug 2018 01:31:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cumulative-Incidence-with-competing-events-using-PROC-LIFETEST/m-p/484582#M25141</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2018-08-07T01:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative Incidence with competing events using PROC LIFETEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Cumulative-Incidence-with-competing-events-using-PROC-LIFETEST/m-p/484807#M25142</link>
      <description>Hi Jag, thank you for your answer! Sorry that I made it look confusing - "event" is what we are actually interested in and "death" is just a competing event.&lt;BR /&gt;&lt;BR /&gt;Therefore, the censored flag should contain three values - one for event, one for competing event and one for censoring. Otherwise, there will be no way to differentiate an event from a competing event if we use a binary "cnsr".</description>
      <pubDate>Tue, 07 Aug 2018 15:55:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Cumulative-Incidence-with-competing-events-using-PROC-LIFETEST/m-p/484807#M25142</guid>
      <dc:creator>yiyizhao86</dc:creator>
      <dc:date>2018-08-07T15:55:44Z</dc:date>
    </item>
  </channel>
</rss>

