Homophily with continuous attributes