Strong affinity analysis