Data Literacy

Types of Data

Before a number becomes a headline, or a category becomes a conclusion, someone has decided what kind of thing is being counted. Those decisions shape what data can tell us—and what it cannot. A useful first step in reading any dataset is to ask what its values represent: words or measurements, labels or quantities, whole counts or continuous observations.

These distinctions may sound like filing-cabinet matters. In practice, they determine which questions make sense, which summaries are useful, and when a tidy-looking result deserves a second look. Think of this guide as a small box of working distinctions: not rigid rules, but tools for seeing what is in front of you.

Why classify data?

Imagine a community survey that asks residents how they travel to work, how many minutes their commute takes, and whether they work remotely. The answers might include labels such as “bus” or “bicycle,” counts such as three trips a week, and measurements such as 27.5 minutes. All are data, but they are not interchangeable.

Classification helps match a question to the evidence available. A list of commuting modes can show which category is most common; it cannot, by itself, tell us how long people travel. A collection of commute times can be summarized numerically, but the average may hide the difference between a short local trip and an exhausting journey across a region.

For a broader introduction to the building blocks of a dataset—observations, variables, records, and context—see Data Basics.

Qualitative and quantitative data

One familiar distinction is between qualitative and quantitative data. Qualitative data describe qualities or kinds: a person’s preferred language, a product’s material, or the reason someone gives for missing an appointment. Quantitative data express amounts: age, distance, income, or the number of appointments missed.

Qualitative: what kind?

These values often arrive as words or labels. They can help researchers understand experiences, identify recurring themes, and describe differences between groups. A collection of interview responses, for instance, may reveal concerns that a count alone would leave unspoken.

Quantitative: how much or how many?

These values are expressed as numbers with a meaningful interpretation. They may support comparisons, calculations, and summaries—but a number is not automatically quantitative in the useful sense. The digits in a postal code identify a place; adding them together would not describe anything meaningful.

The distinction is practical, not a ranking. Numerical data can make patterns easier to summarize, while qualitative information can supply context and explain how people understand a situation. In a well-designed study, the two may answer different parts of the same question.

Categorical and numerical variables

Another useful classification concerns the variable: the feature recorded for each observation. A variable may sort observations into groups or record a quantity.

Categorical variables

A categorical variable places each observation into a category. Examples include housing type, region, or response to a question such as “yes,” “no,” or “unsure.” Categories can be unordered, as with eye color, or ordered, as with ratings of “poor,” “fair,” “good,” and “excellent.”

That ordering matters. “Excellent” is above “good,” but the distance between those responses is not necessarily equal to the distance between “good” and “fair.” Treating ordered labels as if they were evenly spaced numbers can give a calculation more precision than the answers warrant.

Numerical variables

A numerical variable records an amount, count, or measurement. Examples include the number of books borrowed, a household’s monthly energy use, or the time needed to complete a task. Arithmetic can often be meaningful for such variables, though the unit and method of measurement still matter.

A rating scale may be encoded as 1 through 5, but those numbers may represent ordered choices rather than measured quantities. Before calculating an average, ask what the numbers mean and whether the gaps between them can reasonably be treated as equal.

Discrete and continuous measurements

Numerical data can also be described as discrete or continuous.

  • Discrete data take distinct, countable values. The number of visitors to a library on a given day might be 0, 1, 2, or 3; it would not ordinarily be 2.4 people.
  • Continuous data can, in principle, take any value within a range. A person’s height or a room’s temperature may be recorded to different levels of precision, depending on the instrument and purpose.

Measurements are often rounded. A temperature recorded as 18 degrees may conceal a more precise reading; that does not make temperature discrete. The underlying quantity can vary continuously even when the instrument, spreadsheet, or published table reports only whole numbers.

This distinction affects how values are summarized and displayed. Counts are often compared as whole numbers, while measurements may be described with a unit and an appropriate level of precision. For help choosing a display that suits the data, see Choosing a Chart.

A small classification, a large consequence

Consider a school tracking attendance. “Present” and “absent” are categories. The number of days absent is a count. The time a student spends traveling to school is a measurement. If the school records grade level as “9,” “10,” “11,” or “12,” those numerals identify ordered groups; they are not amounts that can be meaningfully averaged in the same way as travel time.

Each version supports a different inquiry. Categories can reveal how attendance is recorded; counts can help identify patterns in missed days; travel time may suggest a possible relationship worth investigating. None alone explains why an absence occurred. The type of data marks the beginning of an analysis, not its conclusion.

This is one reason context belongs beside the values. Definitions, collection methods, and missing responses can change what a dataset represents. When evaluating a finding, ask who or what was observed, how each variable was defined, and which values were left out. Our guides to Sampling and Bias and Assessing Dataset Quality explore those questions further.

A practical checklist

When you meet an unfamiliar variable, pause before reaching for a calculation. A few plain questions can prevent a surprisingly elaborate mistake:

  1. What does each value describe? Is it a label, a count, or a measured amount?
  2. Are the categories ordered? If so, does that ordering carry meaning—and are the intervals between categories known?
  3. Can the values be counted, measured, or both? A count usually takes distinct steps; a measurement may vary along a continuum.
  4. What summaries fit? Counts and percentages may suit categories; measures such as the mean or median may suit numerical values, depending on their distribution.
  5. What context is missing? Check definitions, units, collection methods, and the group represented before interpreting a result.

For an introduction to the summaries often used with numerical data, continue to Statistics Essentials. If a report presents proportions or rates, Understanding Rates and Percentages explains why the denominator deserves attention.

The box around the number

Data classifications are not merely technical labels. They are small agreements about what a value means and what comparisons it can bear. A “4” might be a rating, a count, a category code, or a measurement rounded to the nearest unit. The character on the page is identical; the evidence it represents is not.

Read the label, the unit, and the method before reading too much into the result. That habit—curious, careful, and alert to context—is at the heart of data literacy.

Theme