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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 1 reply
  • 1185 views
  • 0 likes
  • 2 in conversation