Association and Heterogeneity: Structural Models of Similarities and Differences