BookmarkSubscribeRSS Feed
Falken
Calcite | Level 5

Hi

I have some difficulties in calculating differences in time dependent AUC using Proc Phreg (SAS 14.3). I have only been able to calculate the estimates and the confidence intervals and not the p-values using this equation:

proc phreg data=survival_ph plots(overlay=individual)=roc(tick)
rocoptions(method=ipcw(cl iter=50 seed=20918) at=12 auc aucdiff);
model ITTtime*ITTdeath(0)=diabetic age Albumin0 nPNA0 GFR0
/roclabel='Full Model';
roc "diabetic age Albumin0 nPNA0" diabetic age Albumin0 nPNA0;
roc "diabetic age Albumin0" diabetic age Albumin0;
roc "diabetic Albumin0 nPNA0" diabetic Albumin0 nPNA0;
roc "diabetic Albumin0 nPNA0 GFR0" diabetic Albumin0 nPNA0 GFR0;
run;

I sincerely hope that someone can help med finding a way to show the p-values.

Thank you in advance

Best regards
Alexander

1 REPLY 1
Rick_SAS
SAS Super FREQ

p-values are for a statistical test. What test are you trying to perform?

 

If you want to compare the submodels listed on the ROC statements, then look at the example in the PHREG doc for using the CONCORDANCE= option. The syntax is PROC PHREG CONCORDANCE=UNO(DIFF), which tests the pairwise differences between the specified submodels.

 

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
  • 1 reply
  • 634 views
  • 0 likes
  • 2 in conversation