liveBook · Manning

Discrete variable

As explained in Data Without Labels

Discrete data consists of distinct countable values, typically represented as integers.

A discrete variable records precise, countable quantities as integers. Its values cannot meaningfully include decimals, unlike continuous measurements. section 1.2.2

Distinguish discrete variables from nearby data categories:

  • Treat discrete data as quantitative when it represents measurable counts such as passengers, population, customers, or demand quantity. section 1.2.2
  • Separate discrete counts from continuous measurements, which can take decimal values such as height or product price. section 1.2.2
  • Do not confuse countable quantitative values with nominal categories, which have no sequence, or ordinal categories, which have an order. section 1.2.2

Items purchased in a transaction

A transaction record containing 5, 6, 7, 8, or 9 items uses a discrete variable for item count; fractional item counts would not fit. section 1.2.2

Figure 1.2 The divisions and subdivisions of data
figure

Use the data-classification diagram to locate discrete variables among quantitative, categorical, structured, and unstructured data. section 1.2.2

How Data Without Labels covers it

How deep it goes
Defines integer-valued counts and contrasts them with continuous, nominal, and ordinal data without developing modeling procedures.
Examples
Uses passengers, city populations, customers, demand quantity, and transaction item counts as integer-valued examples.
What it assumes
Introduces data-type distinctions directly, assuming no specialized mathematical background.
What you can do after
Evaluate whether a measured field represents an integer-valued count or a continuous quantity.
How it connects
Connects quantitative data with continuous data, nominal data, ordinal data, and structured data.

Also explained in

Compare how 5 books explain discrete variable →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data Without Labels. The section links point to the parts of the book it draws on.