BookmarkSubscribeRSS Feed
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?

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.



Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2 in conversation