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

 

Secure your spot at the must-attend AI and analytics event of 2024: SAS Innovate 2024! Get ready for a jam-packed agenda featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.

 

Register by March 1 to snag the Early Bird rate of just $695! Don't miss out on this exclusive offer. 

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

Discussion stats
  • 1 reply
  • 195 views
  • 0 likes
  • 2 in conversation