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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 547 views
  • 0 likes
  • 1 in conversation