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.

CFC_SAS_Communities_400x225.jpgCFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 2542 views
  • 0 likes
  • 2 in conversation