BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Nasya
Obsidian | Level 7

Hi,

 

My question is can we compare the AE data set of two different data cuts. Is this possible?

For example, lets imagine there was a data cut in June 12 2018 and a previous data cut in March 10 2018. Can we write a code in such a way, that AE dataset can be compared from these two different data cuts and changes can be reported in the output?

Thank you,

 

Regards,

Nasya

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

If you have datasets where you can identify observations to be compared individually (eg by a unique key), proc compare will be the way to go. If not, use summary steps first, and use compare on the results.

View solution in original post

3 REPLIES 3
Nasya
Obsidian | Level 7

AE is Adverse Events. Changes I meant, were to compare if there were any modifications/additions done by the site? 

Kurt_Bremser
Super User

If you have datasets where you can identify observations to be compared individually (eg by a unique key), proc compare will be the way to go. If not, use summary steps first, and use compare on the results.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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