Ctrl+k

Distinguish categorical and numerical data

Categorical data record labels or groups, such as eye color, transportation type, or response category, whereas numerical data record quantities that represent counts or measurements and support meaningful comparisons and arithmetic. The distinction depends on what the values mean, not whether they are written with digits: an identification number can be categorical, while numerical data may be discrete or continuous. This classification guides appropriate graphs and statistical summaries.

Detailed Explanation: Distinguish categorical and numerical data

Categorical data describe groups or labels. Numerical data describe quantities that can be counted or measured, so arithmetic and meaningful comparisons can be made.

To classify a variable, ask:

  1. Does the value name a group or category?
    If yes, it is categorical.
  2. Does the value represent an amount or measurement?
    If yes, it is numerical.
  3. If digits appear, do they represent a quantity?
    Digits may be labels, such as an identification number.

Worked example

A school survey records the following information about each student:

VariableExample value
Student ID1047
Favorite sportSoccer
Number of siblings2
Time spent exercising each week(3.5)(3.5) hours

Classify each variable.

Step 1: Student ID

The value (1047)(1047) identifies a student. It is not an amount; adding two student IDs would not give useful information.

Student ID is categorical data.

Step 2: Favorite sport

“Soccer” is a group or label. It does not represent a quantity.

Favorite sport is categorical data.

Step 3: Number of siblings

The value 22 tells how many siblings a student has. It is a count, so comparisons and arithmetic make sense.

Number of siblings is numerical data.

Step 4: Time spent exercising

The value (3.5)(3.5) measures an amount of time. It can be compared and used in calculations.

Time spent exercising is numerical data.

Remember: classify data by what the values mean, not by whether they use words or digits. A number used as an identification label is categorical, while a count or measurement is numerical.

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


    ?