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.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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