Clustering and aggregation in economics