BookmarkSubscribeRSS Feed
sjoli043
Fluorite | Level 6

Hi everyone, 

 

I used PROC TRAJ to perform GBTM analyses. Everything worked perfectly, except that I can't figure out which participants are in which group/trajectory. I need to know this information in order to do group comparisons (i.e., figure out sex differences among the groups for instance). 

 

I know it's definitely possible, but I can't find the information anywhere. How do I know who are my participants in each group? 

 

Thank you for anyone who can help me figure this out! 

2 REPLIES 2
SASKiwi
PROC Star

I suspect you are unlikely to get many responses as PROC TRAJ is a third party SAS procedure, not supported by SAS. Have you tried contacting the original author?

 

This paper may help.

greatdabon11
Calcite | Level 5

Hi,

This may be coming late, but could be of help to someone else with same challenge. 

 

To know which person belongs to which group, all you have to do is go back to the out (OF) data that was created by the procedure. You will find it in the 'Work' folder. 

 

The first column will be the client unique number, while the last column will be the group assignment. With the two columns, you will be able to tell who belongs to which group and do all other analysis with it.

 

Hope this helps!

 

Bon

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1300 views
  • 1 like
  • 3 in conversation