A categorical variable is a variable that assigns each observation to exactly one of a collection of categories or groups.
Categorical Variable
See also
Contingency Table, VariableExplore with Wolfram|Alpha
References
Pennsylvania State University. "Collecting Data." Lesson 1 in STAT 200: Elementary Statistics. https://online.stat.psu.edu/stat200/Lesson01.Referenced on Wolfram|Alpha
Categorical VariableCite this as:
Weisstein, Eric W. "Categorical Variable." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/CategoricalVariable.html