Help using Base SAS procedures

PROC LIFETEST - suppress warning

Reply
New Contributor
Posts: 2

PROC LIFETEST - suppress warning

Does anyone know how to suppress the following warning from proc lifetest?

 

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

 

thanks!

RC

Super User
Posts: 11,343

Re: PROC LIFETEST - suppress warning

Best would be to ensure that all of the strata have events.

 

Why do you want to disable a warning that you may be using an inappropriate method for the given data?

New Contributor
Posts: 2

Re: PROC LIFETEST - suppress warning

I agree not ideal. I am making a number of reports in an automated process. In the long runI could make the lifetest code conditional on how many strata and if they have events, but in the short term I'm trying to get my code to run without any warnings.

 

Super User
Posts: 10,041

Re: PROC LIFETEST - suppress warning

Remove that Strata which have no event .

Respected Advisor
Posts: 2,655

Re: PROC LIFETEST - suppress warning

A WHERE clause would probably handle this.

 

Steve Denham

Ask a Question
Discussion stats
  • 4 replies
  • 701 views
  • 0 likes
  • 4 in conversation