BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
rosta
Calcite | Level 5

I have 21 groups (treatments) for which I do survival analysis as follows:

 

proc lifetest data=CPB ;
time Days*Status(0);
strata Strain / test=logrank adjust=sidak;
run;

 

Is there a simple way of generating CLD from long table with pairwise comparisons similar to option "pdiff lines" in GENMOD PROC?

Thanks,

Rosta

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Hello,

 

Unfortunately, PROC LIFETEST cannot generate an item store.
Otherwise you could subsequently use PROC PLM with LINES option on LSMEANS Statement.

 

See here :

Home > Analytics > Stat Procs >
Letter annotation for mean separation
https://communities.sas.com/t5/Statistical-Procedures/Letter-annotation-for-mean-separation/td-p/894...

 

Koen

View solution in original post

3 REPLIES 3
OsoGris
SAS Employee
There is nothing similar to the "pdiff lines" options for the ADJUST= option in PROC LIFEEST.
rosta
Calcite | Level 5

Thank you for the answer. If there is no such bult-in function in PROC LIFETEST, could anybody recommend any SAS script or even external tool to convert pairwise table to CLD table? I know it could be done manually but for long table it is not so easy (see example, complete table is about 5 times longer). Thank you.

 

rosta_0-1703690379771.png

 

sbxkoenk
SAS Super FREQ

Hello,

 

Unfortunately, PROC LIFETEST cannot generate an item store.
Otherwise you could subsequently use PROC PLM with LINES option on LSMEANS Statement.

 

See here :

Home > Analytics > Stat Procs >
Letter annotation for mean separation
https://communities.sas.com/t5/Statistical-Procedures/Letter-annotation-for-mean-separation/td-p/894...

 

Koen

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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