Ctrl+k

Classify data as categorical or quantitative

Data are categorical when values identify groups or qualities, such as eye color, transportation type, or satisfaction level; they are quantitative when values represent numerical amounts or measurements on which meaningful arithmetic comparisons can be made. The classification requires distinguishing numerical labels or codes from measured quantities and recognizing that the variable type determines appropriate summaries, graphs, and statistical analyses, without requiring advanced treatment of measurement scales or specialized data types.

Detailed Explanation: Classify data as categorical or quantitative

To classify a variable, ask:

  1. Do the values describe groups or qualities?
    Then the data are categorical.
  2. Do the values represent numerical amounts or measurements?
    Then the data are quantitative.

A number is not automatically quantitative. Sometimes numbers are used only as labels or codes.

Example: A school survey records two pieces of information about each student:

  • Transportation type: (1=)(1=) bus, (2=)(2=) car, (3=)(3=) bicycle, (4=)(4=) walking
  • Minutes spent traveling to school: (12,25,18,30,)(12, 25, 18, 30,\ldots)

Step 1: Classify transportation type

The values (1,2,3,)(1,2,3,) and 44 are codes for different transportation groups. They do not represent amounts. For example, transportation type 44 is not “twice as much” as transportation type 22.

Therefore, transportation type is categorical data. We could summarize it by counting how many students use each type or make a bar graph.

Step 2: Classify travel time

The travel times are numerical measurements. Differences and averages are meaningful: a (30)(30)-minute trip is (10)(10) minutes longer than an (20)(20)-minute trip.

Therefore, travel time is quantitative data. We could calculate the mean travel time or make a histogram.

The key question is: Are the numbers labels for groups, or do they represent meaningful amounts?

Learn by doing: Classify data as categorical or quantitative

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


    ?