BookmarkSubscribeRSS Feed
CHELS
Obsidian | Level 7

My data run all the way to 50 months and what syntax should I use in proc lifetest such that I can get a log-rank test at 12 months and 24 months all at once?

 

Thanks!

 

2 REPLIES 2
ballardw
Super User

It is a good idea to provide example code of what you have now.

For one thing then we have things like data set and variable names.

Another is we may catch combinations of options that may not work with one or more possible solutions.

 

So please post an example of the code you are currently using one of those tests.

OsoGris
SAS Employee

The only way to get a log-rank test at 12 months and 24 months would be to subset your data to those time intervals.  That is not really something we would recommend.   I don't see any other way to get a log-rank test at a specific time instead of over all the data. 

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 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 563 views
  • 0 likes
  • 3 in conversation