similarities between categorical data