I'm currently facing an issue in Stata. So, I kindly ask you, if you can help me.

The problem is: I have 300 observations on consumption and I need to create 20 clusters that must be homogeneous on consumption BETWEEN them. In other words, the clusters must be homogenous on the summation of consumption but the combinations can be n. So, I don't need the command to make homogenous clusters within them but I need the homogeneity inter-groups.

Thanks.