A categorical variable (sometimes called a nominal variable nominal variable) is one that has two or more categories, but there is no basic ordering to the categories. For example, the variable gender has two categories (male and female) but there is no intrinsic (i.e. there is no agreed way to order these categories from highest to lowest) ordering to the categories.