Marginal Reweighting in Homogeneity Analysis