<?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 Question about the values of the censored column in the OUTCIF= dataset from proc lifetest in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-the-values-of-the-censored-column-in-the-OUTCIF/m-p/596980#M29077</link>
    <description>&lt;P&gt;Hi there, I have the code below to run competing risk analysis and try to plot the CIF curves using proc sgplot. But I found the column of censored in the outcif dataset has values 0, 1, 2, and 3. I guess 0 means event of interest happened, 1 means there was censoring. I wonder what 2 and 3 mean? By the way, my event code is: 0=event free, 1=event of interest, 2=competing events&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc lifetest data=master2 plots=CIF(test) outcif=cif1 timelist=0 to 60 by 12;&lt;BR /&gt;time months_to_scenario1*event_scenario1(0)/eventcode=1;&lt;BR /&gt;strata study_id;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data cif1;&lt;BR /&gt;set cif1;&lt;BR /&gt;if Censored=1 then cenp=cif;&lt;BR /&gt;run;&lt;BR /&gt;proc sgplot data=cif1;&lt;BR /&gt;step x=months_to_scenario1 y=cif/group=study_id;&lt;BR /&gt;scatter x=months_to_scenario1 y=cenp / markerattrs=(symbol=plus) GROUP=study_id;&lt;BR /&gt;xaxis values=(0 to 60 by 12);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 16:45:37 GMT</pubDate>
    <dc:creator>Tiny_Kane</dc:creator>
    <dc:date>2019-10-16T16:45:37Z</dc:date>
    <item>
      <title>Question about the values of the censored column in the OUTCIF= dataset from proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-the-values-of-the-censored-column-in-the-OUTCIF/m-p/596980#M29077</link>
      <description>&lt;P&gt;Hi there, I have the code below to run competing risk analysis and try to plot the CIF curves using proc sgplot. But I found the column of censored in the outcif dataset has values 0, 1, 2, and 3. I guess 0 means event of interest happened, 1 means there was censoring. I wonder what 2 and 3 mean? By the way, my event code is: 0=event free, 1=event of interest, 2=competing events&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc lifetest data=master2 plots=CIF(test) outcif=cif1 timelist=0 to 60 by 12;&lt;BR /&gt;time months_to_scenario1*event_scenario1(0)/eventcode=1;&lt;BR /&gt;strata study_id;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;data cif1;&lt;BR /&gt;set cif1;&lt;BR /&gt;if Censored=1 then cenp=cif;&lt;BR /&gt;run;&lt;BR /&gt;proc sgplot data=cif1;&lt;BR /&gt;step x=months_to_scenario1 y=cif/group=study_id;&lt;BR /&gt;scatter x=months_to_scenario1 y=cenp / markerattrs=(symbol=plus) GROUP=study_id;&lt;BR /&gt;xaxis values=(0 to 60 by 12);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 16:45:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-about-the-values-of-the-censored-column-in-the-OUTCIF/m-p/596980#M29077</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2019-10-16T16:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the values of the censored column in the OUTCIF= dataset from proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-the-values-of-the-censored-column-in-the-OUTCIF/m-p/597394#M29083</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/22245"&gt;@Tiny_Kane&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variable &lt;FONT face="courier new,courier"&gt;Censored&lt;/FONT&gt; contains the &lt;EM&gt;number of censored subjects&lt;/EM&gt; for the stratum-(group-)time combination summarized by the respective observation of the OUTCIF= dataset. So, value 3, for example, indicates that 3 subjects within the same stratum (and group, if any) must have been censored at the same time. Hence, you should change the conditional definition of variable &lt;FONT face="courier new,courier"&gt;cenp&lt;/FONT&gt; to, e.g.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if Censored then cenp=cif;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Due to the aggregation to distinct failure times in the OUTCIF= dataset those 3 subjects will be represented by a single plot symbol (even with jittering).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is really not quite clear from the documentation "&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_lifetest_details33.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_blank" rel="noopener"&gt;OUTCIF= Data Set&lt;/A&gt;," which suggests that the original censoring variable is included (which couldn't reflect the aggregation to distinct failure times, though). There are more imperfections: Variable &lt;FONT face="courier new,courier"&gt;Failcode&lt;/FONT&gt; is not mentioned and variable &lt;FONT face="courier new,courier"&gt;StdErr&lt;/FONT&gt; is called &lt;FONT face="courier new,courier"&gt;CIF_STDERR&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The label of&amp;nbsp;variable&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Censored&lt;/FONT&gt;, "&lt;EM&gt;Number Censored,&lt;/EM&gt;" helped me to find this answer (which I confirmed by tests with modified sample data from the documentation).&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-about-the-values-of-the-censored-column-in-the-OUTCIF/m-p/597394#M29083</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2019-10-17T15:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Question about the values of the censored column in the OUTCIF= dataset from proc lifetest</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Question-about-the-values-of-the-censored-column-in-the-OUTCIF/m-p/597454#M29084</link>
      <description>&lt;P&gt;Thank you very much.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 17:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Question-about-the-values-of-the-censored-column-in-the-OUTCIF/m-p/597454#M29084</guid>
      <dc:creator>Tiny_Kane</dc:creator>
      <dc:date>2019-10-17T17:46:36Z</dc:date>
    </item>
  </channel>
</rss>

