BookmarkSubscribeRSS Feed
Minyoungkim90
Calcite | Level 5

Hello. I am working on some project to compare the mortality. 

I have follow up data for 3/6/9/12 months. 

However, I do not know the exact time when they are dead, so I though interval-censoring should be used. 

For example, the data that I organized looks like this. So if the person died between the start and 3 months, ltime=0, rtime=3. 

Minyoungkim90_1-1671138232708.png

 

I read the documentation that introduces the PROC ICLIFETEST and tried it but I keep getting weird time intervals. 

My time intervals should be 0-3 3-6 6-9 9-12 12-inf but I get 3-3 6-6 9-9 12-12

Minyoungkim90_2-1671138494026.png

 

My SAS code is 

proc iclifetest data=acs.data3 impute(seed=1234);
time (lTime, rTime);
strata indi;
run;

 

Can anyone help me what is wrong with this? 

And also, is there any way that I can modify the plots for PROC ICLIFETEST? 

I used the macro for KM plots for PROC LIFETEST but can't find a way to modify this plot (range for x and y axis)

 

Thank you 

 

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
  • 0 replies
  • 387 views
  • 0 likes
  • 1 in conversation