BookmarkSubscribeRSS Feed
Nikos
Fluorite | Level 6

Dear all,

I join two datasets A and B on two common variables VARA and VARB.

Those two datasets have a number of common variables that after the join should have equal values across all joined records Var1_A = Var1_B, ,Var2_A = Var2_B ...etc.

Unfortunately that is not happening and I would like to summarize all these unequal pairs of values.

VARA   VARB        (  Var1_A   Var1_B )  (Var2_A   Var2_B)  

  100      100                50    .    50              20          20

  200      200                32         .                45         45

  300      300                67         67               .          53

  400      400                 .         72               23         23

...............................................................................

In addition to the above the number of  common variables that have unequal pairs of values  is significant (>100) which makes very cumbersome to search one by one.

Any hints most welcome.

Thank you in aFladvance.

Nikos

1 REPLY 1

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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