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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 713 views
  • 0 likes
  • 1 in conversation