BookmarkSubscribeRSS Feed
n1ojima
Calcite | Level 5

I am pretty beginner so excuse me if this is a remedial question, I have tried googling the answer and haven't been able to find the answer.

I am working with survey data that has two waves. I want to only use the participants that answered the survey for both waves and throw out the ones who did not do the follow up. I have both waves merged into the same large set, so ideally what I want to do is delete out any of the participants in the first wave that do not have follow ups attached.

What is the best way to go about this?

1 REPLY 1
Kurt_Bremser
Super User

Plesse post some example data (as text, not as pictures or Excel files, ideally in a DATA step with DATALINES), so we get a feel for the structure of your data.

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
  • 1 reply
  • 732 views
  • 0 likes
  • 2 in conversation