<?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 Re: Cutomize competing-risk cumulative incidence curve. in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/660606#M20089</link>
    <description>&lt;P&gt;I have a macro that can create and customize the curves for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Kaplan-Meier-Survival-Plotting-Macro-NEWSURV/ta-p/479747" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Kaplan-Meier-Survival-Plotting-Macro-NEWSURV/ta-p/479747&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See example 6&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2020 03:53:40 GMT</pubDate>
    <dc:creator>JeffMeyers</dc:creator>
    <dc:date>2020-06-17T03:53:40Z</dc:date>
    <item>
      <title>Cutomize competing-risk cumulative incidence curve.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/658074#M20051</link>
      <description>&lt;P&gt;I read a competing risk example from a SAS link (&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_sashelp_sect007.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_sashelp_sect007.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;), which performs the CIF curve using the following codes:&lt;/P&gt;&lt;PRE class="xisDoc-code"&gt;ods graphics on;
title 'Cause-specific Analysis';
proc phreg data=Bmt plots(overlay)=cif;
   class Disease (order=internal ref=first);
   model T*Status(0)=Disease / eventcode(cox)=1;
   baseline covariates=Risk out=out2 cif=_all_;
run;&lt;/PRE&gt;&lt;P&gt;Another way the construct the CIF curve is using the following codes:&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc lifetest data=Bmt notable&lt;BR /&gt;outcif=CR_CIF_OUTPUT&lt;BR /&gt;plots=cif(test);&lt;BR /&gt;time T*Status(0) / eventcode=1;&lt;BR /&gt;strata Disease;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is how I customize the curve? For example, how to set the x axis range, like "0 to 800 by 100"? How to add the at-risk table? Also line thickness? I saw a post suggesting can put the plot created using "proc lifetest" into the "sgplot" codes, which can better customize the curve. Any solution or suggestion about customizing the CIF? Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:17:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/658074#M20051</guid>
      <dc:creator>viviyeah</dc:creator>
      <dc:date>2020-06-12T14:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cutomize competing-risk cumulative incidence curve.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/658075#M20052</link>
      <description>&lt;P&gt;another link:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_phreg_examples15.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_phreg_examples15.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:19:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/658075#M20052</guid>
      <dc:creator>viviyeah</dc:creator>
      <dc:date>2020-06-12T14:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cutomize competing-risk cumulative incidence curve.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/658219#M20061</link>
      <description>&lt;P&gt;You can usually get the data that was used to create a plot using something like:&lt;/P&gt;
&lt;P&gt;ods output graphname=wanteddatasetname;&lt;/P&gt;
&lt;P&gt;The graphname you would supply depends on the options.&lt;/P&gt;
&lt;P&gt;You can get the names of all of the ODS output objects by running your code one time with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods trace on;&lt;/P&gt;
&lt;P&gt;&amp;lt;your code goes here&amp;gt;&lt;/P&gt;
&lt;P&gt;ods trace off;&lt;/P&gt;
&lt;P&gt;The log will have list of objects created. If you add the option "/ listing" after the trace on then the name of the object should appear before it in the results window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After you have the data set you should be able to write SGPLOT code to modify the elments you want. You will want to look at the data set carefully though. The names of some things may not be quite as expected.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 21:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/658219#M20061</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-06-12T21:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cutomize competing-risk cumulative incidence curve.</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/660606#M20089</link>
      <description>&lt;P&gt;I have a macro that can create and customize the curves for you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Kaplan-Meier-Survival-Plotting-Macro-NEWSURV/ta-p/479747" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Kaplan-Meier-Survival-Plotting-Macro-NEWSURV/ta-p/479747&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See example 6&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 03:53:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Cutomize-competing-risk-cumulative-incidence-curve/m-p/660606#M20089</guid>
      <dc:creator>JeffMeyers</dc:creator>
      <dc:date>2020-06-17T03:53:40Z</dc:date>
    </item>
  </channel>
</rss>

