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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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