Ctrl+k

Distinguish categorical and numerical data

Data are categorical when values identify groups or qualities, such as eye color or transportation type, and numerical when values represent counts or measurements for which comparisons and arithmetic summaries are meaningful. A number used merely as a label, such as a jersey or identification code, remains categorical; distinguishing these types supports choosing appropriate tables, graphs, and statistical summaries without treating category labels as quantities.

Detailed Explanation: Distinguish categorical and numerical data

Data can be classified by asking:

  • Does the value name a group or describe a quality? It is categorical data.
  • Does the value represent a count or measurement? It is numerical data.

Be careful: a number is not always numerical data. If it is only being used as a label, it is categorical.

Example: A teacher records the following information about students:

Information recordedExample value
Favorite type of musicRock
Number of pets2
Jersey number14
Height(150 cm)(150\text{ cm})

Classify each type of data.

  1. Favorite type of music is categorical because “Rock” identifies a group or category. It does not make sense to find the average of music types.

  2. Number of pets is numerical because 22 is a count. It makes sense to compare the numbers or find an average number of pets.

  3. Jersey number is categorical, even though it uses numbers. The (14)(14) is only a label for a player, not a quantity. Adding jersey numbers or finding their average would not be meaningful.

  4. Height is numerical because it is a measurement. Heights can be compared, and an average height can be calculated.

So, the classifications are:

  • Favorite type of music: categorical
  • Number of pets: numerical
  • Jersey number: categorical
  • Height: numerical

When unsure, ask: Is this value a group or label, or is it a count or measurement?

Learn by doing: Distinguish categorical and numerical data

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Statistics Data Organization - Variable to Qualitative or Quantitative


    ?