BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
fengyuwuzu
Pyrite | Level 9

 

 

 PROC LIFETEST data= adsl2 alphaqt=0.05 alpha=0.05 method=km outsurv=km_outsurv1 ;
     TIME aval * cnsr (1);
     STRATA   TRT01PN;
     ODS OUTPUT ProductLimitEstimates=kme_sd1;
 RUN;
ods listing;

got warning like this:

WARNING: The likelihood ratio test for strata homogeneity is questionable since some strata have no events.

 

In this case, is there a way to opt out the LRT? or is there a preferred way to handle this?

1 ACCEPTED SOLUTION

Accepted Solutions
Rick_SAS
SAS Super FREQ

I suppose the easiest way is to excluder the strata that do not have any events.

First run PROC FREQ:

proc freq data=adsl2;
tables TRT01PN * cnsr / norow nocol nopercent;
run;

Then look at the frequency table and find all the strata for which all entries are censored.

Then exclude those strata. For example, if the strata TRT01PN='A' does not have any events, then put

WHERE TRT01PN not in ('A');

into the procedure. If more than one strata does not have events, use

WHERE TRT01PN not in ('A', 'C', 'Z');

 

 

 

View solution in original post

2 REPLIES 2
Rick_SAS
SAS Super FREQ

I suppose the easiest way is to excluder the strata that do not have any events.

First run PROC FREQ:

proc freq data=adsl2;
tables TRT01PN * cnsr / norow nocol nopercent;
run;

Then look at the frequency table and find all the strata for which all entries are censored.

Then exclude those strata. For example, if the strata TRT01PN='A' does not have any events, then put

WHERE TRT01PN not in ('A');

into the procedure. If more than one strata does not have events, use

WHERE TRT01PN not in ('A', 'C', 'Z');

 

 

 

fengyuwuzu
Pyrite | Level 9

Thank you Rick. Indeed one of the 3 arms has no event under the subgroup selection.

 

 

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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