Nonparametric multi-focus analysis for categorical variables