<?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 do I add censoring marks to cumulative incidence function plots? in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-censoring-marks-to-cumulative-incidence-function/m-p/420812#M14484</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show&amp;nbsp;the difference in cumulative incidence of tumor recurrence between two groups (strata "variable" in the code below), treating death as a competing event. I am having trouble displaying censoring marks on cumulative incidence function plots when using competing risks analysis. I am also having trouble displaying the number of patients at risk at each time point (but I realize that the OUTCIF function can compute a table with number at risk at each time point which can then be manually entered underneath the CIF plot). I have no trouble showing censoring marks using the cumulative incidence capabilities of the Kaplan-Meier analysis; however, Kaplan-Meier overestimates cumulative incidence because it censors death instead of treating it as a competing event. I would therefore prefer not to use Kaplan-Meier. Below is the code for CIF and for the Kaplan-Meier method, respectively. Any help to display censoring marks for CIF in SAS 9.4 would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=filename&amp;nbsp;&lt;/P&gt;&lt;P&gt;plots=cif(test);&lt;BR /&gt;time Months*censor(0) / eventcode=1;&lt;BR /&gt;strata variable;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=filename&lt;BR /&gt;plots=(survival(outside f ATRISK PVALUE));&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;strata variable;&lt;/SPAN&gt;&lt;BR /&gt;time Months*censor(0);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2017 14:46:54 GMT</pubDate>
    <dc:creator>sasuser110</dc:creator>
    <dc:date>2017-12-13T14:46:54Z</dc:date>
    <item>
      <title>How do I add censoring marks to cumulative incidence function plots?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-censoring-marks-to-cumulative-incidence-function/m-p/420812#M14484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to show&amp;nbsp;the difference in cumulative incidence of tumor recurrence between two groups (strata "variable" in the code below), treating death as a competing event. I am having trouble displaying censoring marks on cumulative incidence function plots when using competing risks analysis. I am also having trouble displaying the number of patients at risk at each time point (but I realize that the OUTCIF function can compute a table with number at risk at each time point which can then be manually entered underneath the CIF plot). I have no trouble showing censoring marks using the cumulative incidence capabilities of the Kaplan-Meier analysis; however, Kaplan-Meier overestimates cumulative incidence because it censors death instead of treating it as a competing event. I would therefore prefer not to use Kaplan-Meier. Below is the code for CIF and for the Kaplan-Meier method, respectively. Any help to display censoring marks for CIF in SAS 9.4 would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=filename&amp;nbsp;&lt;/P&gt;&lt;P&gt;plots=cif(test);&lt;BR /&gt;time Months*censor(0) / eventcode=1;&lt;BR /&gt;strata variable;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=filename&lt;BR /&gt;plots=(survival(outside f ATRISK PVALUE));&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;strata variable;&lt;/SPAN&gt;&lt;BR /&gt;time Months*censor(0);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 14:46:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-censoring-marks-to-cumulative-incidence-function/m-p/420812#M14484</guid>
      <dc:creator>sasuser110</dc:creator>
      <dc:date>2017-12-13T14:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add censoring marks to cumulative incidence function plots?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-censoring-marks-to-cumulative-incidence-function/m-p/420943#M14492</link>
      <description>&lt;P&gt;If no one responds, you should probably ask technical support.&amp;nbsp; We have many options for customizing the survival plot.&amp;nbsp; We have an entire chapter devoted to it&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf&amp;nbsp;" target="_blank"&gt;https://support.sas.com/documentation/onlinedoc/stat/142/kaplan.pdf&amp;nbsp;&lt;/A&gt; We don't provide that type of customization for any other graph.&amp;nbsp; You have unlimited ways to customize if you can make a data set with the right form.&amp;nbsp; Sometimes this involves running the procedure multiple times or running multiple procedures and then combining ODS output data set or other output data sets.&amp;nbsp; Then you can customize the template.&amp;nbsp; The default template for the CIF plot does not contain the axis table needed to display the number of subjects at risk. I don't know enough about the CIF plot to help you with this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 19:06:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-censoring-marks-to-cumulative-incidence-function/m-p/420943#M14492</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-12-13T19:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I add censoring marks to cumulative incidence function plots?</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-censoring-marks-to-cumulative-incidence-function/m-p/817206#M22908</link>
      <description>&lt;P&gt;Did you ever get any help on how to do this?&amp;nbsp; I'm trying to accomplish the same thing.&amp;nbsp; I would like to add the tick marks for censored to CI curve from Lifetest and also add the number at risk table to the same graph.&amp;nbsp; Basically just like for the survival curves except for the CI curve.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 19:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/How-do-I-add-censoring-marks-to-cumulative-incidence-function/m-p/817206#M22908</guid>
      <dc:creator>pfarmer</dc:creator>
      <dc:date>2022-06-08T19:28:37Z</dc:date>
    </item>
  </channel>
</rss>

