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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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