BookmarkSubscribeRSS Feed
Lindy
Calcite | Level 5

Hi folks, 

I have a question. I know people can use multiple comparisons such as Hsu's MCB to find out among several groups, which pair of group have the biggest contrast of the treatment mean, and which groups do not differ in their means of treatment effects. 

Now I have a data for survival analysis in which there are several groups, I want to compare their survival risk curve in the observation time  to see which groups do not differ and which group different using MCB. Is that possible? I know using Kaplan-Meier curve we can only compare each two groups to see if they differ in survival risk. But I hope to have something like Hsu's MCB so that I can lump those groups that do not differ in their survival risk together into one group. 

2 REPLIES 2
PGStats
Opal | Level 21

Have you considered options diff= and adjust= in statement strata of proc lifetest

PG
Lindy
Calcite | Level 5

I used adjust= statement 

This is my code

 

 

proc lifetest data = roads.tepfulldata plots=survival(atrisk);
time survivaltime*censor_1(1);
strata prior_group/test=logrank adjust=sidak;
run;

 

 

But this code give me an output in which every 2 of the 16 categories of "prior_group' variable--a categorical variable with 16 values. 

So generally this code can only help me figure out of every two groups are different from each other, but not the info about if the survival risk of multiple groups DO NOT differ thus be lumped together as one group. 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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