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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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