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