# 2.1 - Categorical Variables

Categorical variables are discussed in sections 2.1 and P.1 of the Lock^5 textbook.

Variables can be classified as **categorical**** **or **quantitative**. Categorical variables are those that provide groupings that may have no logical order, or a logical order with inconsistent difference between groups (e.g., the difference between 1 and 2 is not equivalent to the difference between 3 and 4).

This course includes many examples and practice problems for you. Many of these will apply the concepts that we learn to experiments involving rolling a die or randomly selecting a card from a standard 52-card deck. If you are unfamiliar with either of these, take a moment here to review.

**Die**: A standard die has 6 sides: 1, 2, 3, 4, 5, 6

**Cards**: A standard 52-card deck of playing cards has 13 hearts, 13 diamonds, 13 spades, and 13 clubs. Hearts and diamonds are red suits. Spades and clubs are black suits. For each suit, there is a 2, 3, 4, 5, 6, 7, 8, 9, 10, jack, queen, king, and ace. Jacks, queens, and kings are “face cards.”