Utilities for making pairwise comparisons of multivariate data