BookmarkSubscribeRSS Feed
TomHsiung
Pyrite | Level 9

Hi, everyone

 

The origin issue was posted at this thread in the reply section update (https://communities.sas.com/t5/Statistical-Procedures/How-to-plot-cumulative-hazard-graph-with-95-CI...)

 

My code lines are

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;

If the plots() only have cl option (i.e., plots(cl)), there is a confidence limit band in the graph. But it is not when the plots have both overlay and cl options (i.e., plots(overlay cl)).

 

Your feedback is much appreciated!

 

Tom

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 683 views
  • 0 likes
  • 1 in conversation