BookmarkSubscribeRSS Feed
haoduonge
Quartz | Level 8

Hi all,

Please share approaches to compare performance of the two models below.

Thank you!

Hao

 

*MODEL 1: 1 VARIABLE;

proc phreg data = ALL;

CLASS X1_3CAT(ref='0');

model FU_TIME_YRS *OUTCOME(0)= X1_3CAT/RL eventcode=1;

run;

*MODEL 2: 2 VARIABLES;

proc phreg data = ALL;

CLASS X1_3CAT(ref='0') X2_2CAT(ref='0');

model FU_TIME_YRS *OUTCOME(0)= X1_3CAT X2_2CAT/RL eventcode=1;

run;

1 REPLY 1
SteveDenham
Jade | Level 19

What sort of measure do you want to use for performance? Machine performance can be obtained from the log, in terms of cpu time and elapsed time. Model performance for PHREG is harder as there isn't a real good equivalent to the RMSE (smaller is better in terms of model performance). I suppose you could look at the relative sizes of the standard errors for various parameters, but that overlooks the danger of overfitting. With only two independent variables that may not be an issue, however.

 

SteveDenham

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 975 views
  • 2 likes
  • 2 in conversation