A toolbox for the analysis of categorical data in social