DATA Step, Macro, Functions and more

Dropping matched pair observations

Reply
Occasional Contributor
Posts: 13

Dropping matched pair observations

I have a dataset 'A' containing matched cases and controls.  The matched cases and controls exist as a single line observation. I have another dataset 'B' where I've identified certain controls from within A that I dont want to include in my study anymore. How can I drop the matched pair lines from A using the observations from B? (using SAS 9.4)

Super User
Posts: 10,461

Re: Dropping matched pair observations

Please provide examples of the input data sets, preferably as datastep code and what the desired output for those input sets would be.

 

 

Ask a Question
Discussion stats
  • 1 reply
  • 153 views
  • 0 likes
  • 2 in conversation