A quantile regression perspective on consumer heterogeneity