<?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 to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/934862#M46607</link>
    <description>&lt;P&gt;Hello, everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am practicing COX regression. I see from the SAS support webpage that, after PROC PHREG, we can plot cumulative hazard graphs with the 95% confidence limits. However, I would like to plot the cumulative hazard graphs with the 95% confidence interval. I did not find the option from the webpage to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you know, 95%CL is much wider than 95%CI. I see some research publications have cumulative hazard graphs with 95%CI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to hear your ideas, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Partial code:&lt;/P&gt;
&lt;PRE&gt;proc phreg data = DSP2_raw  plots(overlay = bygroup) = (survival cumhaz);
class v1(ref='0')
v2(ref='0')
v3(ref='0')
v4(ref='0')
v5(ref='0');
model TimeEvent*Event(0) = v1
v2
v3
v4
v5
v6
v7
...
vn / rl = wald;
baseline covariates = predict;
run;&lt;/PRE&gt;</description>
    <pubDate>Sat, 06 Jul 2024 05:14:55 GMT</pubDate>
    <dc:creator>TomHsiung</dc:creator>
    <dc:date>2024-07-06T05:14:55Z</dc:date>
    <item>
      <title>How to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/934862#M46607</link>
      <description>&lt;P&gt;Hello, everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am practicing COX regression. I see from the SAS support webpage that, after PROC PHREG, we can plot cumulative hazard graphs with the 95% confidence limits. However, I would like to plot the cumulative hazard graphs with the 95% confidence interval. I did not find the option from the webpage to do so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you know, 95%CL is much wider than 95%CI. I see some research publications have cumulative hazard graphs with 95%CI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to hear your ideas, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Partial code:&lt;/P&gt;
&lt;PRE&gt;proc phreg data = DSP2_raw  plots(overlay = bygroup) = (survival cumhaz);
class v1(ref='0')
v2(ref='0')
v3(ref='0')
v4(ref='0')
v5(ref='0');
model TimeEvent*Event(0) = v1
v2
v3
v4
v5
v6
v7
...
vn / rl = wald;
baseline covariates = predict;
run;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 Jul 2024 05:14:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/934862#M46607</guid>
      <dc:creator>TomHsiung</dc:creator>
      <dc:date>2024-07-06T05:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935142#M46614</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/184847"&gt;@TomHsiung&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;As you know, 95%CL is much wider than 95%CI.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;????&lt;BR /&gt;&lt;BR /&gt;Confidence limits are the numbers at the upper and lower end of a confidence interval.&lt;BR /&gt;Are you referring to prediction band?&lt;BR /&gt;A prediction interval is less certain (hence wider) than a confidence interval. That's because a prediction interval predicts an individual number, whereas a confidence interval is for the mean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:30:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935142#M46614</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-09T12:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935146#M46615</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;Hi, pal. Thank you for your reply.&lt;/P&gt;
&lt;P&gt;Oh! I thought the CL option in&amp;nbsp;plots(overlay cl) was the prediction interval. Probably, I was misled by chatGPT, I think. I remember chatGPT told me CL (confidence limits) and CI (confidence intervals) were different. At the same time, my data showed a very wide band, which led me to the wrong conclusion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your clarification. Appreciated!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:55:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935146#M46615</guid>
      <dc:creator>TomHsiung</dc:creator>
      <dc:date>2024-07-09T12:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935295#M46621</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When plots option, overlay &amp;amp; cl, are used together, no CL bands. It shows CL bands when plots option has only cl.&lt;/P&gt;
&lt;PRE&gt;proc phreg data = cox_raw plots(overlay cl) = cumhaz;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 11:24:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935295#M46621</guid>
      <dc:creator>TomHsiung</dc:creator>
      <dc:date>2024-07-10T11:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935301#M46622</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/184847"&gt;@TomHsiung&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Update:&lt;/P&gt;
&lt;P&gt;When plots option, overlay &amp;amp; cl, are used together, no CL bands. It shows CL bands when plots option has only cl.&lt;/P&gt;
&lt;PRE&gt;proc phreg data = cox_raw plots(overlay cl) = cumhaz;&lt;/PRE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's not my experience.&lt;/P&gt;
&lt;P&gt;I have just submitted :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
proc phreg data=Myeloma plots(overlay cl)=cumhaz;
   model Time*VStatus(0)=LogBUN HGB;
   baseline covariates=Inrisks out=Pred1 survival=_all_/rowid=Id;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;... and it properly shows everything asked for.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 11:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935301#M46622</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-10T11:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935311#M46623</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60547"&gt;@sbxkoenk&lt;/a&gt;&amp;nbsp;Much appreciate for your additional information. I can see that you do researches about INR, haha.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my codes. I don't know what is wrong. Another thing is that I switched from SAS 9.4 to SAS Viya (update: I have tested these code lines on SAS OnDemand, and no CL bands there on cumhaz graph).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc phreg data = cox_raw plots(overlay cl) = cumhaz;
class genderC(ref = '0') AF(ref = '0') Hypertension(ref = '0') CHF(ref = '0') akiC(ref = '0')
ddiC(ref = '0') indicationC(ref = '0') CYP2C9code(ref = '0') VKORC1Code(ref = '0') Warfarin_History(ref = '0');
model timeToFirstInrAttain*firstInrAttain(0) = bsa ageY genderC AF Hypertension CHF 
serumalb akiC ddiC indicationC CYP2C9code VKORC1code Warfarin_History / rl=wald;
baseline covariates = predict_cox;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 12:56:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935311#M46623</guid>
      <dc:creator>TomHsiung</dc:creator>
      <dc:date>2024-07-10T12:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to plot cumulative hazard graph with 95%CI rather than 95%CL after PROC PHREG</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935389#M46630</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also on Viya it's working for me (I am using Viya 4&amp;nbsp;&lt;SPAN&gt;Stable 2024.06).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What SAS Viya version are you using?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Submit:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%PUT &amp;amp;=sysvlong4;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;... to find out. See LOG-screen for the answer.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I cannot spot an error in your code.&lt;BR /&gt;You can also contact SAS Technical Support (TS) for this. You can do so via&amp;nbsp;the &lt;A href="https://service.sas.com/csm" target="_blank" rel="noopener"&gt;SAS Customer Service Portal&lt;/A&gt;&amp;nbsp;(customer portal).&lt;BR /&gt;&lt;A href="https://service.sas.com/csm" target="_blank"&gt;https://service.sas.com/csm&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Koen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 19:03:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI-rather-than-95-CL/m-p/935389#M46630</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2024-07-10T19:03:12Z</dc:date>
    </item>
  </channel>
</rss>

