<?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: Competing risk graph question in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/279277#M14737</link>
    <description>&lt;P&gt;You can not calculate all the survival curves in only one run of&amp;nbsp;phreg. You can of course run phreg for each outcome. The Fine and Gray method which proc phreg use only take account for one outcome at a time.&lt;BR /&gt;&lt;BR /&gt;I am not sure that if you run phreg for each outcome that the total sum will add up to one (exactly).&amp;nbsp;&lt;BR /&gt; If you like, I can give you a macro which calculate all curves in one time using the Aalen Johansen estimator.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2016 11:08:11 GMT</pubDate>
    <dc:creator>JacobSimonsen</dc:creator>
    <dc:date>2016-06-22T11:08:11Z</dc:date>
    <item>
      <title>Competing risk graph question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/277127#M14730</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to perform competing risk analysis for outcomes using a patient cohort data on SAS studio release 9.04. I checked codes on line and found that we could use proc phreg or %macro cuminc. I am planning on using proc phreg using these codes on sas support site&lt;/P&gt;&lt;PRE class="AAprogramlisting"&gt;ods graphics on;
proc phreg data=Bmt plots(overlay=stratum)=cif;
   class Disease (order=internal ref=first);
   model T*Status(0)=Disease / eventcode=1;
   Hazardratio 'Pairwise' Disease / diff=pairwise;
   baseline covariates=Risk out=out1 cif=_all_ / seed=191;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;My question is how do I code so that the graph shows all outcome status. This code only plots for the outcome of interest (eventcode =1). Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 06:55:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/277127#M14730</guid>
      <dc:creator>rsubrama</dc:creator>
      <dc:date>2016-06-14T06:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Competing risk graph question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/279277#M14737</link>
      <description>&lt;P&gt;You can not calculate all the survival curves in only one run of&amp;nbsp;phreg. You can of course run phreg for each outcome. The Fine and Gray method which proc phreg use only take account for one outcome at a time.&lt;BR /&gt;&lt;BR /&gt;I am not sure that if you run phreg for each outcome that the total sum will add up to one (exactly).&amp;nbsp;&lt;BR /&gt; If you like, I can give you a macro which calculate all curves in one time using the Aalen Johansen estimator.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 11:08:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/279277#M14737</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2016-06-22T11:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Competing risk graph question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/279526#M14738</link>
      <description>What you say is accurate - I tried to do individual phregs and it did not add up to one. Others suggested individual KM for each outcome, which will work but is obviously univariate. I would appreciate if you can send me your macro. Thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Jun 2016 18:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/279526#M14738</guid>
      <dc:creator>rsubrama</dc:creator>
      <dc:date>2016-06-22T18:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Competing risk graph question</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/279666#M14744</link>
      <description>&lt;P&gt;Here you have the program that calculate Aalen Johansen estimates. It was not written as a macro, so bit editing will perhaps be neccessary. I hope you find it useful.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 06:49:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Competing-risk-graph-question/m-p/279666#M14744</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2016-06-23T06:49:22Z</dc:date>
    </item>
  </channel>
</rss>

