BookmarkSubscribeRSS Feed
erica_conley
Calcite | Level 5

I am trying to create a ROC plot at time 6 months with 95% error bars plotted as well in SAS v9.4.  I have the ROC curve generated but am having issues with getting the 95% CIs.  I am sure there is a simple option that I am missing, but it is eluding me.  I am unable to post the data I am using but it is a standard time to data set.  I described my variables below as well as posted my PROC PHREG code.

 

Time=is numeric time variable in months

cns= censor variable 0=censor 1=event

lvaluen=numeric lab value for my test.

 

proc phreg data=work concordance plots(cl)=roc rocoptions(outroc=rocout at=6);
 model time*cns(0)=lvaluen;
run;


If anyone has a suggestion I would really appreciate it!

2 REPLIES 2
LEESK
Calcite | Level 5
proc phreg data=work concordance plots(cl)=roc rocoptions(outroc=rocout at=6);
 model time*cns(0)=lvaluen / risklimits
run;

 You need to "risklimits" option to see 95%.

 

erica_conley
Calcite | Level 5

Thanks so much for the response.  However the risklimits option is used to generate the confidence intervals for the hazard ratios, and I need the CIs for the sensitivity values.  

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 25. 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
  • 2 replies
  • 1261 views
  • 0 likes
  • 2 in conversation