For example, gender is a commonly used categorical variable. Categorical variables can be either ordinal (the categories can be ranked from high to low) or nominal (the categories cannot be ranked from high to low).6 nov 2019