Permutation tests for heterogeneity comparisons in presence of categorical variables with application to university evaluation