If I would like to analyze the relationship between two or more categorical variables, can you recommend me some commands and examples, please?

For example, I have the sample data as the above picture and I prefer to classify the data into several groups such as very well, fairly well, fairly bad, not sure and refused what should I do?Array


Array