Categorical variables and groups are closely related concepts.

A separate list of values for each group is called unstacked data. When the data set is presented in a data matrix with a categorical variable describing the groups, the data are called stacked.

Rice survey

Bonuses paid to managers