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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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