BookmarkSubscribeRSS Feed
Jonathan_A
Calcite | Level 5

Hi,

I'm performing a survival analysis using a large, complex health survey linked to mortality outcomes. I have appended several survey years to create an unweighted sample size of approximately 200,000 observations. With weights, the number of observations is over 2.2 million. I have used PROC SURVEYPHREG to estimate adjusted hazard ratios for several categorical variables. Now I would like to check the proportionality assumption using a time-dependent covariate, as illustrated on page 9200 (page 38 of the chapter 113 pdf) of the SAS/STAT 14.1 User's Guide https://support.sas.com/documentation/onlinedoc/stat/141/surveyphreg.pdf

Here's the example from the user's guide:

proc surveyphreg data=Test;

class A;

model T*Status(0)=A X1 X2;

X1= T*(A=1);

X2= T*(A=2);

run;

I have modified the code using the variables from my data and tried running it, but SAS does not generate any output. Due to the large size of the dataset, I let it run for over and hour, but SAS just said "running" and never shows anything in the results viewer.

Is there a better way to statistically test the proportionality assumption?

Thanks,

-Jonathan

 

1 REPLY 1
Reeza
Super User
Try running it with a smaller subset and see if it runs or see if the example runs on your computer. What version of SAS do you have, SAS/STAT latest is 15.1? The following code will let you know what version you're running.

proc product_status;run;

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 Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 458 views
  • 0 likes
  • 2 in conversation